groups on yahoo, maybe you can start asking questions there. You can
also e-mail me direct ( [email protected] ) but remember I am not
a C++ pro.
To answer your question, int stands for integer and is NOT a command
but a declaration. It basically tells the compiler to reserve some
space in memory to store a number. The name of the integer is defined
in the line " int x,y;" here the variables "x" & "y" are defined as
integers, now you can use them later in your program.
Jim Kindley
--- In Lasertank@y..., "MrDoomMaster" <mrdoommaster@h...> wrote:
> Well, you have definitely encouraged me to learn about C++
programming Jim. So as a result, i bought a book over 1000 pages long
on beginning and fully learning about C++ programming. Along with the
book came a software program called Visual C++ by Microsoft, which
seems to be alot better than the program you suggested to me for
programming my own Lasertank prog.
>
> Anyway, my main question so far (only getting through 50 pages, it
has thrown alot of info at me) is about the "int" command. the book
says that when you define a variable, you also declare it. This is so
confusing i don't even know where to begin. I'm guessing that
variables under the "int" command are the specific commands that make
lasertank do what it does, yet, i don't understand how you personally
defined them. And the book also says that they can be defined to
represent the value of an integer... which means? I know im just
beginning, (which must be really annoying on your part) but i feel
that asking someone with a grasp of this information will help me
understand. Besides, without understanding this, i really can't get
past page 50! thanks Jim, ill await your response!
> _____________________________
> --MrDoomMaster