View previous topic - View next topic |
Author |
Message |
Y treefingers Y I wanna be a ballerina!
Joined: 21 Apr 2003 Posts: 29
|
Posted: Mon Apr 21, 2003 1:03 am Post subject: |
[quote] |
|
never mind, i found a book called "Windows game programming for dummies", looks good. Thanks again all
|
|
Back to top |
|
|
Bjorn Demon Hunter
Joined: 29 May 2002 Posts: 1425 Location: Germany
|
Posted: Mon Apr 21, 2003 6:22 pm Post subject: |
[quote] |
|
Sounds like a good start. :-)
|
|
Back to top |
|
|
BigManJones Scholar
Joined: 22 Mar 2003 Posts: 196
|
Posted: Tue Apr 22, 2003 12:21 am Post subject: |
[quote] |
|
'Ching, Ching' more coin for the monster LaMoth's coffer's.
|
|
Back to top |
|
|
janus Mage
Joined: 29 Jun 2002 Posts: 464 Location: Issaquah, WA
|
Posted: Tue Apr 22, 2003 5:28 am Post subject: |
[quote] |
|
BigManJones wrote: | 'Ching, Ching' more coin for the monster LaMoth's coffer's. |
It's LaMothé, you uneducated swine.
Hee hee.
|
|
Back to top |
|
|
Ninkazu Demon Hunter
Joined: 08 Aug 2002 Posts: 945 Location: Location:
|
Posted: Tue Apr 22, 2003 11:27 am Post subject: |
[quote] |
|
Janus wrote: | BigManJones wrote: | 'Ching, Ching' more coin for the monster LaMoth's coffer's. |
It's LaMothé, you uneducated swine.
Hee hee. |
Hey, not many people know about alt 130
..................but I agree with you. Hee hee.
|
|
Back to top |
|
|
Guest
|
Posted: Tue Apr 22, 2003 3:20 pm Post subject: |
[quote] |
|
why do people buy things named "for dummies"???
guess it sadly reflects the world we live in... to much dummies running around..
|
|
Back to top |
|
|
Ninkazu Demon Hunter
Joined: 08 Aug 2002 Posts: 945 Location: Location:
|
Posted: Tue Apr 22, 2003 4:51 pm Post subject: |
[quote] |
|
Ya, you prove it. It's "too many dummies" to be correct grammatically. But ya, I hate the world and how stupid so many people are.
|
|
Back to top |
|
|
Bjorn Demon Hunter
Joined: 29 May 2002 Posts: 1425 Location: Germany
|
Posted: Tue Apr 22, 2003 7:47 pm Post subject: |
[quote] |
|
Still, it's a good start right? I mean, surely "for dummies" only means it's written without assuming any experience in Windows game programming.
But I agree, there's too many dump people, me's always afraid that I might be one of them. I mean, you guys were joking right, and look at what I just started with!
|
|
Back to top |
|
|
Ninkazu Demon Hunter
Joined: 08 Aug 2002 Posts: 945 Location: Location:
|
Posted: Tue Apr 22, 2003 8:35 pm Post subject: |
[quote] |
|
Bjørn wrote: | But I agree, there's too many dump people |
Sure are. I'm going to take a dump right now!
|
|
Back to top |
|
|
Bjorn Demon Hunter
Joined: 29 May 2002 Posts: 1425 Location: Germany
|
Posted: Tue Apr 22, 2003 9:38 pm Post subject: |
[quote] |
|
Oh man, in my face... :-)
|
|
Back to top |
|
|
ThousandKnives Guest
|
Posted: Thu Apr 24, 2003 4:29 am Post subject: |
[quote] |
|
Actually, I started really getting into game programming using the "windows game programming for dummies" book. I was disgusted with myself for supporting the whole "for dummies" plague, but since the books are basically a format for independent authors to get their books published, the content is pretty hit-or-miss based on author/subject. And this one is definately good. You should have a good enough idea about DirectX after using that to fill yourself in on more advanced stuff using the MSDN online libraries, which are also very helpful.
I even still have "bob"s in my code from when I started off from that book, although they no longer bear any resemblance to the ones lamothe uses. The name kinda stuck with me.
|
|
Back to top |
|
|
Y treefingers Y I wanna be a ballerina!
Joined: 21 Apr 2003 Posts: 29
|
Posted: Sun Apr 27, 2003 1:24 am Post subject: |
[quote] |
|
omg...this book is so friggin confusing. It says stuff like enum and pointers...i have no idea what they are. It has so many data types i dont even know about. and the funny thing is, im still on the very first pages! (laugh if you want). But, i think i can probably get it down...hopefully...
|
|
Back to top |
|
|
BigManJones Scholar
Joined: 22 Mar 2003 Posts: 196
|
Posted: Sun Apr 27, 2003 2:52 am Post subject: |
[quote] |
|
Thats pretty basic stuff. Maybe you should start with something a little more general?
|
|
Back to top |
|
|
Ninkazu Demon Hunter
Joined: 08 Aug 2002 Posts: 945 Location: Location:
|
Posted: Sun Apr 27, 2003 3:26 am Post subject: |
[quote] |
|
Y treefingers Y wrote: | omg...this book is so friggin confusing. It says stuff like enum and pointers...i have no idea what they are. It has so many data types i dont even know about. and the funny thing is, im still on the very first pages! (laugh if you want). But, i think i can probably get it down...hopefully... |
enum is basically allowing you to have incremental values for a list of variables.
Say you want Sunday to equal 1 and Saturday to equal 7.
you just do:
enum DaysOfWeek {
Sunday = 1,
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday};
Pointers allow you to access a variable without copying it to another one. Very handy.
say you pass a variable to a function, but don't want to copy it to another place in memory.
void theFuction(int* intPointer);
int varToSend = 189;
theFunction(&varToSend);
That'll allow the function to access varToSend without copying it :) (That also means if you change it, it'll be changed outside as well)
|
|
Back to top |
|
|
Jihgfed Pumpkinhead Stephen Hawking
Joined: 21 Jan 2003 Posts: 259 Location: Toronto, Canada
|
Posted: Sun Apr 27, 2003 7:56 pm Post subject: Learning C++ Pointers and Enum and Such |
[quote] |
|
Y treefingers Y wrote: | It says stuff like enum and pointers...i have no idea what they are. It has so many data types i dont even know about. |
That is some fairly basic stuff, but it's also fairly complex and difficult to learn. Perhaps you should consider using a simpler language? Alternatively, there are C++ tutorials at http://www.cplusplus.com/doc/tutorial/ and http://www.cprogramming.com/tutorial.html; these are where I learnt C++. They're not perfect, but they should do.
Ninkazu wrote: | void theFuction(int* intPointer);
int varToSend = 189;
theFunction(&varToSend); |
That's C code; while it still does the same thing in C++, you can accomplish the same effect much more simply with Code: | void theFunction ( int & intReference );
int intVar = 189;
theFunction ( intVar ); | , so the example isn't very useful for Treefingers since he's using C++ and there's a simpler way to modify external variables from inside a function. You explained enum well enough, but I think pointers are a little too complex for a forum post. Noble effort, though, heh.
|
|
Back to top |
|
|