Trying to learn programming, please help!!!!
-
I am trying to learn C and c++.I am okay at both.I am 13 and want to be a programmer for games but I do not know how to get started plus I am not that great of a programmer (There are some things about programming you can't get from a book).I would like to know where to go to get started and where to get tutorials for programming.So if anybody knows any good sites I'd be hap[py to know. K.G.
-
I am trying to learn C and c++.I am okay at both.I am 13 and want to be a programmer for games but I do not know how to get started plus I am not that great of a programmer (There are some things about programming you can't get from a book).I would like to know where to go to get started and where to get tutorials for programming.So if anybody knows any good sites I'd be hap[py to know. K.G.
kyleiscool2004 wrote: I am trying to learn C and c++.I am okay at both. That's a broad request. What do you want to know about specifically? kyleiscool2004 wrote: I would like to know where to go to get started... Didn't you earlier state that you were okay at both? It sounds like you've already started. Do you know how to declare variables and assign values to them? Do you know how to get input from the user? Do you know how to output (formatted) data to the screen? Do you know how to open/close files? Do you know how to create a function and have it return a value? Do you know how to create a for/while loop?
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
-
I am trying to learn C and c++.I am okay at both.I am 13 and want to be a programmer for games but I do not know how to get started plus I am not that great of a programmer (There are some things about programming you can't get from a book).I would like to know where to go to get started and where to get tutorials for programming.So if anybody knows any good sites I'd be hap[py to know. K.G.
-
A good site would be www.gamedev.net[^] Check the Resources (for beginners) Papa while (TRUE) Papa.WillLove ( Bebe ) ;
http://nehe.gamedev.net/ - openGL
-
I am trying to learn C and c++.I am okay at both.I am 13 and want to be a programmer for games but I do not know how to get started plus I am not that great of a programmer (There are some things about programming you can't get from a book).I would like to know where to go to get started and where to get tutorials for programming.So if anybody knows any good sites I'd be hap[py to know. K.G.
hi there, you must first learn how to be a programer 1]get some stuuf in computer scince a)http://computer.howstuffworks.com/ ( to learn how computer hardware works) b)get some free books in programming from (http://www.maththinking.com/boat/computerbooks.html) to learn about how to write a good algorith. 2]learn visual c++ 3]get microsoft directx sdk,opengl sdk & some modern game design book. after doing that you will be a great games programmer
-
I am trying to learn C and c++.I am okay at both.I am 13 and want to be a programmer for games but I do not know how to get started plus I am not that great of a programmer (There are some things about programming you can't get from a book).I would like to know where to go to get started and where to get tutorials for programming.So if anybody knows any good sites I'd be hap[py to know. K.G.
kyleiscool2004 wrote: There are some things about programming you can't get from a book You are right! You have to learn to think like a programer, and that comes with understanding plus experience. There are some totorials at codeproject that may help, such as pointers. One of the best ways I know of (when starting) is to take a look at the C library functions (strlen,strcpy,strtok,etc...) and try to write your own versions. Example:
int MyStrLen(const char* pStr)
{
int i;
if( !pStr )
return 0;
for( i=0; pStr[i]; ++i ) {}
return i;
}// OR
int MyStrLen(const char* pStr)
{
int i = 0;
if( pStr )
for( i=0; pStr[i]; ++i ) {}
return i;
}// OR
int MyStrLen(const char* pStr)
{
char* pStart = pStr;
if( pStr )
for( ; pStr; ++pStr ) {}
return (pStr - pStart) / sizeof(char);
}If you know why each of the above works, then you are well on your way! As for game programming there are lots of sights where you can look, but none of them will do you any good unless you understand the language. Also, game programming is very math intensive; so you will need to be very good at mathmatics. Well, have fun and learn all you can! INTP
-
kyleiscool2004 wrote: I am trying to learn C and c++.I am okay at both. That's a broad request. What do you want to know about specifically? kyleiscool2004 wrote: I would like to know where to go to get started... Didn't you earlier state that you were okay at both? It sounds like you've already started. Do you know how to declare variables and assign values to them? Do you know how to get input from the user? Do you know how to output (formatted) data to the screen? Do you know how to open/close files? Do you know how to create a function and have it return a value? Do you know how to create a for/while loop?
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
DavidCrow wrote: Didn't you earlier state that you were okay at both? It sounds like you've already started. Do you know how to declare variables and assign values to them? Do you know how to get input from the user? Do you know how to output (formatted) data to the screen? Do you know how to open/close files? Do you know how to create a function and have it return a value? Do you know how to create a for/while loop? When I said: I would like to know where to go to get started... I meant learning techniques in game programming? I am okay at programming,Yes,But i want to know some advanced techniques.Such as how to change the way an image looks and how to make the charachters look as if they are alive.thanks. kyle
-
A good site would be www.gamedev.net[^] Check the Resources (for beginners) Papa while (TRUE) Papa.WillLove ( Bebe ) ;
Thankd for showing me this website.It helped alot.
-
Thankd for showing me this website.It helped alot.
-
DavidCrow wrote: Didn't you earlier state that you were okay at both? It sounds like you've already started. Do you know how to declare variables and assign values to them? Do you know how to get input from the user? Do you know how to output (formatted) data to the screen? Do you know how to open/close files? Do you know how to create a function and have it return a value? Do you know how to create a for/while loop? When I said: I would like to know where to go to get started... I meant learning techniques in game programming? I am okay at programming,Yes,But i want to know some advanced techniques.Such as how to change the way an image looks and how to make the charachters look as if they are alive.thanks. kyle
kyleiscool2004 wrote: I would like to know where to go to get started... I meant learning techniques in game programming? Understood. I should have read a bit closer. As I've never programmed games, I'm not much help. Maybe a walk-through of DirectX would prove useful.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen