Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


New to programming (C++) / Questions

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Grim
Master Cheater
Reputation: 0

Joined: 28 Jun 2006
Posts: 260
Location: Bay Area

PostPosted: Sat Oct 17, 2009 7:29 pm    Post subject: New to programming (C++) / Questions Reply with quote

I just started learning C++ with http://www.cplusplus.com/doc/tutorial/ since two days ago and I have some questions to ask.

How long does it take to become proficient in a programming language like C++ and be able to code more complicated programs smoothly?

How much do I have to learn to be able to do that?

By learning C++ from that site, will I have enough information to code programs to hack / cheat in games?

EDIT: After two days I can code really simple programs that can only do very simple things such as respond to your answers that you type or finding the area/ circumference of a circle.
Back to top
View user's profile Send private message
Guy
Expert Cheater
Reputation: 0

Joined: 30 May 2009
Posts: 187

PostPosted: Sat Oct 17, 2009 7:37 pm    Post subject: Re: New to programming (C++) / Questions Reply with quote

Grim wrote:
I just started learning C++ with http://www.cplusplus.com/doc/tutorial/ since two days ago and I have some questions to ask.

How long does it take to become proficient in a programming language like C++ and be able to code more complicated programs smoothly?

How much do I have to learn to be able to do that?

By learning C++ from that site, will I have enough information to code programs to hack / cheat in games?

EDIT: After two days I can code really simple programs that can only do very simple things such as respond to your answers that you type or finding the area/ circumference of a circle.


It depends what you want to do - C++ is such a broad language, you're just touching on using STL. For writing a game engine, you may use POSIX networking functions, STL file i/o, DirectX/OpenGL, etc. There's so much to learn, it all depends on how well you fit into the curve.

_________________
Has anyone seen Hitler around..? If so, PM me!
Back to top
View user's profile Send private message
smartz993
I post too much
Reputation: 2

Joined: 20 Jun 2006
Posts: 2013
Location: USA

PostPosted: Sat Oct 17, 2009 7:37 pm    Post subject: Reply with quote

All of these questions are relative to the speed in which you learn, or the relevance of the project you are pursuing.

How long: depends how fast you learn.

How much: depends on your project.

Hacks/Cheats: simply changing the value of a pointer or using a simple API.
Back to top
View user's profile Send private message
407
Master Cheater
Reputation: 0

Joined: 25 Oct 2007
Posts: 357

PostPosted: Sat Oct 17, 2009 8:08 pm    Post subject: Reply with quote

I think it's easier to learn if you have previous programming knowledge.
Back to top
View user's profile Send private message
Grim
Master Cheater
Reputation: 0

Joined: 28 Jun 2006
Posts: 260
Location: Bay Area

PostPosted: Sat Oct 17, 2009 9:09 pm    Post subject: Reply with quote

Well I'm still a junior in high school and I plan on majoring in Computer Science and later on break into the game industry if I can. I'm planning to learn as many programming languages in my free time during high school so I can advance my skills further in college while taking more difficult classes.

Next year (sr year) I'm going take AP Comp Sci which teaches Java. I am going to spend as much time as I can at home on C++ as of now.

EDIT: I think I am a fast learner depending on how I feel. I can understand things easily but sometimes I get confused when it gets late which is right now. Can anyone explain stringstream to me?

I'd appreciate it if you guys could point me in the right direction Very Happy My future depends on it Shocked
Back to top
View user's profile Send private message
Guy
Expert Cheater
Reputation: 0

Joined: 30 May 2009
Posts: 187

PostPosted: Sat Oct 17, 2009 9:36 pm    Post subject: Reply with quote

Grim wrote:
Well I'm still a junior in high school and I plan on majoring in Computer Science and later on break into the game industry if I can. I'm planning to learn as many programming languages in my free time during high school so I can advance my skills further in college while taking more difficult classes.

Next year (sr year) I'm going take AP Comp Sci which teaches Java. I am going to spend as much time as I can at home on C++ as of now.

EDIT: I think I am a fast learner depending on how I feel. I can understand things easily but sometimes I get confused when it gets late which is right now. Can anyone explain stringstream to me?

I'd appreciate it if you guys could point me in the right direction Very Happy My future depends on it Shocked


1) I'm a junior too - by this point, you should hopefully be stacked with as many IT classes as possible. I'm getting an MSCE and MSCA along with a few Oracle certs by the end of the year.

2) Java is there to teach concepts - as a language, it functionally has little use.

Anyways, string stream is to write to and read from strings (Treating them in the same way that cout, [C-out] and cin [C-in] are treated).

_________________
Has anyone seen Hitler around..? If so, PM me!
Back to top
View user's profile Send private message
Grim
Master Cheater
Reputation: 0

Joined: 28 Jun 2006
Posts: 260
Location: Bay Area

PostPosted: Sat Oct 17, 2009 9:44 pm    Post subject: Reply with quote

Wow, you're only a junior in high school? It shows how behind I am, I hope I can catch up and learn more fast

EDIT: A method that I use to learn is by trying to understand each line. Correct me if I am wrong (I don't use terms right sometimes)

Code:
string mystr ("1204");
int myint;
stringstream(mystr) >> myint;


1st line: Declares a string object with the value 1204
2nd line: Declares an int object
3rd line: It inputs the value of mystr into myint?
Back to top
View user's profile Send private message
tombana
Master Cheater
Reputation: 2

Joined: 14 Jun 2007
Posts: 456
Location: The Netherlands

PostPosted: Sun Oct 18, 2009 8:32 am    Post subject: Reply with quote

Grim wrote:

Code:
string mystr ("1204");
int myint;
stringstream(mystr) >> myint;

1st line: Declares a string object with the value 1204
2nd line: Declares an int object
3rd line: It inputs the value of mystr into myint?

Little more info:
1st line: declares/instantiates a string object, and calls the appropriate constructor that will initialize the string to hold "1204";
2nd line: declares/insantiates an int object
3rd line: creates a stringstream object and calls the constructor that will initialize it to hold the contents of mystr. Then it calls the >> operator of stringstream which will in this case convert "1204" (string) to an int with value 1204 and put it in myint.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites