Hey,i'm going to a computer camp this summer tooCronoTriggerfan wrote:Okay, I'm going to camp this summer to learn how to program games using C++ and DirectX as the compilers. One problem, though; I've never programmed IN MY LIFE! Even though the camp says you don't need to know programming at all to go, I want to have SOME C++ knowledge before attending. Anyone know a good book/reference/program that could teach me the basics of C++? And I mean BASICS (no programming pun intended)!
Thanks,
CronoTriggerfan
Programming question...
Moderator: Moderators
-
Darth Fett
- Posts: 936
- Joined: Sun Oct 09, 2005 6:21 pm
- Location: On my giant space station. Firing on earth in 3...2...1...
- Contact:
Re: Programming question...

Laugh and the world laughs with you; It's inhabitants are an entirely different story.
-
CronoTriggerfan
- Moderator
- Posts: 4131
- Joined: Fri Jan 27, 2006 3:07 pm
- Location: University of Michigan - Ann Arbor
- Contact:
I'm aware, but then again they are taking these courses to MAJOR in themKrepticor wrote:that is a rediculous time frame....
I know people i go the college with who take MULTIPLE SEMESTERS of C++
Darth Fett, I'm going first to the Summer Youth game programming course at MTU. The URL is here: www.youthprograms.mtu.edu/syp/index.html
I am also going to ID Tech Camps gaming academy, they are more famous but I don't think they're as good as the MTU program. They can be found at www.idtechcamps.com .
-
gannon
- Moderator
- Posts: 6974
- Joined: Sun Apr 04, 2004 4:48 pm
- Location: Near that one big lake
- Contact:
errr...no, ASM is a low level language, not Csam fisher wrote:C is a low level language. Basic is an example of a high level language.
Edit:
and a discussion with my friend on the subject that explains language hierarchy better I guess
(15:51:51) Mitch: as far as architecture is concerned, anyway
(15:51:52) gannon: no, ASM is a low level language
(15:52:06) Mitch: well, C is a lower level language
(15:52:20) gannon: I'd say mid level
(15:52:29) gannon: like, ground floor...asm is the basement
(15:52:35) Mitch: aye
(15:52:41) Mitch: actually
(15:52:55) Mitch: machine code is slightly lower level than asm.
(15:53:03) Mitch: there's a slight difference
(15:53:11) gannon: well, can't a basement have a cellar?
(15:53:14) Mitch: you still need to run a compiler (of sorts) on asm
(15:53:15) Mitch: lmao
-
sam fisher
- Posts: 1093
- Joined: Mon Apr 25, 2005 8:52 am
Well C is considered a low level language, see. Machine code and ASM are very very similiar being one is basically just a asci representation of the binary other. More or less.gannon wrote:errr...no, ASM is a low level language, not Csam fisher wrote:C is a low level language. Basic is an example of a high level language.
Edit:
and a discussion with my friend on the subject that explains language hierarchy better I guess
(15:51:51) Mitch: as far as architecture is concerned, anyway
(15:51:52) gannon: no, ASM is a low level language
(15:52:06) Mitch: well, C is a lower level language
(15:52:20) gannon: I'd say mid level
(15:52:29) gannon: like, ground floor...asm is the basement
(15:52:35) Mitch: aye
(15:52:41) Mitch: actually
(15:52:55) Mitch: machine code is slightly lower level than asm.
(15:53:03) Mitch: there's a slight difference
(15:53:11) gannon: well, can't a basement have a cellar?
(15:53:14) Mitch: you still need to run a compiler (of sorts) on asm
(15:53:15) Mitch: lmao
-
marshallh
- Moderator
- Posts: 2987
- Joined: Sat Sep 10, 2005 2:17 pm
- 360 GamerTag: marshallh
- Location: here and there
- Contact:
1. Java, most scripting lanuages - these languages are very high level and they offer the ability to make huge programs reliably and manage them well. Object Oriented Programming is a key factor in these. They also are very slow, platform-dependent, and have the tag "Write once, debug everywhere."
2. Visual Basic, Delphi, C++ - these languages are not as high as the above but are a good compromise between speed and manageability. You can compile code to an executable file native to one platform.
3. C - it is slightly lower than C++, is more straightforward and offers the speed of assembly with the features (subroutines, pointers etc) of C++. Mainly used for game programming.
4. Assembly - the lowest level possible that is still somewhat readable. It's a direct intertpretation of machine code - a a few bytes for an opcode and several operands. Something that takes one line in Java can take hundreds in assembly, while code written in C/C++ is more efficient. You can hand-code this yourself, and write extremely fast code. However, it's hard to start out with.
5. Machine code - not much to say here. It's exactly what the CPU understands. It's what reverse engineers derive cracks, patches and the like from. This is a topic for a whole book.
2. Visual Basic, Delphi, C++ - these languages are not as high as the above but are a good compromise between speed and manageability. You can compile code to an executable file native to one platform.
3. C - it is slightly lower than C++, is more straightforward and offers the speed of assembly with the features (subroutines, pointers etc) of C++. Mainly used for game programming.
4. Assembly - the lowest level possible that is still somewhat readable. It's a direct intertpretation of machine code - a a few bytes for an opcode and several operands. Something that takes one line in Java can take hundreds in assembly, while code written in C/C++ is more efficient. You can hand-code this yourself, and write extremely fast code. However, it's hard to start out with.
5. Machine code - not much to say here. It's exactly what the CPU understands. It's what reverse engineers derive cracks, patches and the like from. This is a topic for a whole book.
I'd but C++ and Delphi in their own group, VB being one step lower.marshallh wrote:1. Java, most scripting lanuages - these languages are very high level and they offer the ability to make huge programs reliably and manage them well. Object Oriented Programming is a key factor in these. They also are very slow, platform-dependent, and have the tag "Write once, debug everywhere."
2. Visual Basic, Delphi, C++ - these languages are not as high as the above but are a good compromise between speed and manageability. You can compile code to an executable file native to one platform.
3. C - it is slightly lower than C++, is more straightforward and offers the speed of assembly with the features (subroutines, pointers etc) of C++. Mainly used for game programming.
4. Assembly - the lowest level possible that is still somewhat readable. It's a direct intertpretation of machine code - a a few bytes for an opcode and several operands. Something that takes one line in Java can take hundreds in assembly, while code written in C/C++ is more efficient. You can hand-code this yourself, and write extremely fast code. However, it's hard to start out with.
5. Machine code - not much to say here. It's exactly what the CPU understands. It's what reverse engineers derive cracks, patches and the like from. This is a topic for a whole book.
At least, from my experiences with the languages, VB is a bit less tough.
-
marshallh
- Moderator
- Posts: 2987
- Joined: Sat Sep 10, 2005 2:17 pm
- 360 GamerTag: marshallh
- Location: here and there
- Contact:
Well, if you've known VB for 6 years like me and write DirectX games with it, you'd disagreeSkyone wrote:I'd but C++ and Delphi in their own group, VB being one step lower.
At least, from my experiences with the languages, VB is a bit less tough.
Yes, it is a little slower than C++ but can do almost anything C++ can do, except write an OS. Delphi is somewhere between the two. I've used it also.
-
shmagoogin77
- Portablizer
- Posts: 1469
- Joined: Sun Apr 17, 2005 6:10 pm
- Location: My desk
I'm looking at learning Visual Basic.net, only this is that the only windows machin I have is my laptop and the programs I write wont run on *nix systems. Think I should do it anyways or look at C++ as another option?
vskid wrote:Nerd = likes school, does all their homework, dies if they don't get 100% on every assignment
Geek = likes technology, dies if the power goes out and his UPS dies too
I am a geek.


