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 


I'm damn new to C++
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Acim
Grandmaster Cheater Supreme
Reputation: 0

Joined: 04 Jun 2007
Posts: 1948
Location: If anyone has a GMS DK and they don't need it I'll have it!!

PostPosted: Wed Oct 10, 2007 3:32 pm    Post subject: Reply with quote

Mine closes immedialty.
_________________
I'm alive and well, but I quit CEF for a while. Legitly playing since Novemberish 07. Starting hacking October 06.
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Wed Oct 10, 2007 3:35 pm    Post subject: Reply with quote

It is better to use a loop instead of goto, because then you can take advantage of some of the higher level constructs for handling loops, like break or continue.

Code:

do {
   ...
} while ( stricmp(szInput, "exit") != 0 );
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Wed Oct 10, 2007 4:02 pm    Post subject: Reply with quote

appalsap wrote:
That's because you're running it from explorer so you can't see the output. start->run->cmd

Code:

cd path\to\executable
yourexecutable.exe


and you will be able to see it all


yep, also MSVC++ 6.0 FTW !!

Acim wrote:
Mine closes immedialty.


Run it via cmd or just do it like:

Code:

if (!GetAsyncKeyState(VK_ESCAPE) {
return 0;
}

Smile
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Oct 10, 2007 4:03 pm    Post subject: Reply with quote

rEakW0n wrote:
wohooo, thx!! You're so nice.

I start loving C++. I already looked up for some c/c++ books to lend them from the school-library, but they only got delphi and VB books Sad.

I guess I'll buy one soon.

[[CHECK THE ATTACHMENT, LOL]]


Don't buy books for programming. It's a waste of money. Every single thing you will learn from the book, you can find on the internet for free. Seriously, just google your question and I can almost guarantee you, you will find the answer.

For some reading check out some sites like these:
http://www.cplusplus.com/doc/tutorial/
http://www.cprogramming.com/tutorial.html
http://www.cs.wustl.edu/~schmidt/C++/
http://www.coronadoenterprises.com/tutorials/cpp/index.html

Those sites should get you started. If you need examples and such, take a look at:

www.codeproject.com or www.pscode.com for some nice articles and code repositories.
Back to top
View user's profile Send private message Visit poster's website
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Wed Oct 10, 2007 4:04 pm    Post subject: Reply with quote

Learning programming from the net sucks, books > better

i got C and MSVC++ 6.0 Books from my dad friend Smile

he knows it very good T.T
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Oct 10, 2007 4:12 pm    Post subject: Reply with quote

Kaspersky wrote:
Learning programming from the net sucks, books > better

i got C and MSVC++ 6.0 Books from my dad friend Smile

he knows it very good T.T


Just like learning from a book, it takes the time and effort to locate what you are looking for. I have yet to read 1 book on programming. I've self-taught myself everything I've learned so far from the internet. I'm not saying books are useless all together, as, they have been around longer then the net. But, the net has everything you will find in a book, for free. As long as you put in the effort to locate it, you will find it.
Back to top
View user's profile Send private message Visit poster's website
TheSorc3r3r
I post too much
Reputation: 0

Joined: 06 Sep 2006
Posts: 2404

PostPosted: Thu Oct 11, 2007 7:28 pm    Post subject: Reply with quote

There's one problem with that Wiccaan: staring at a screen/straining your eyes to read what's on it hurts and sucks. for beginning, books > google
_________________


Don't laugh, I'm still learning photoshop!
Back to top
View user's profile Send private message
DeltaFlyer
Grandmaster Cheater
Reputation: 0

Joined: 22 Jul 2006
Posts: 666

PostPosted: Thu Oct 11, 2007 8:00 pm    Post subject: Reply with quote

How do you plan on programming without staring at a screen?
_________________

Wow.... still working at 827... what's INCA thinking?
zomg l33t hax at this place (IE only). Over 150 people have used it, what are YOU waiting for?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Thu Oct 11, 2007 8:29 pm    Post subject: Reply with quote

TheSorc3r3r wrote:
There's one problem with that Wiccaan: staring at a screen/straining your eyes to read what's on it hurts and sucks. for beginning, books > google


Depends on how old your monitor is lol. If yours is killing your eyes, should get a new one. I recommend a flat-screen CRT for easy-on-the-eyes reading.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
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