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 


[C/C++] Hella quick question

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
manc
Grandmaster Cheater
Reputation: 1

Joined: 16 Jun 2006
Posts: 551

PostPosted: Thu Jul 17, 2008 4:47 pm    Post subject: [C/C++] Hella quick question Reply with quote

Since C is a superset of C++, does absolutely everything from C work in C++? I just found C For Dummies online and I'm wondering if it will be worth reading (I'm learning C++).

EDIT: I guess what I should actually be asking is which parts of C don't work in C++?

_________________


Last edited by manc on Thu Jul 17, 2008 5:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
jackyyll
Expert Cheater
Reputation: 0

Joined: 28 Jan 2008
Posts: 143
Location: here

PostPosted: Thu Jul 17, 2008 4:56 pm    Post subject: Reply with quote

I believe there are some things that won't work any longer, but i can't remember what off of the top of my head. But for the most part, C code should work with C++.
Back to top
View user's profile Send private message AIM Address MSN Messenger
Jaak
Expert Cheater
Reputation: 0

Joined: 02 Jul 2008
Posts: 176

PostPosted: Thu Jul 17, 2008 7:07 pm    Post subject: Reply with quote

C++ is an improved version of C. Hence the ++ lol. I'm not really sure what to say was added but i know that there are some commands in C that are different in C++. To me it's more modern and is what I think of as the newer improved C Smile.
That doesn't mean C is bad or anything, just my opinion.
Back to top
View user's profile Send private message
WafflesFTW
Expert Cheater
Reputation: 0

Joined: 21 Mar 2008
Posts: 131

PostPosted: Thu Jul 17, 2008 7:48 pm    Post subject: Reply with quote

No. There are a few syntax changes.
Back to top
View user's profile Send private message AIM Address
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8585
Location: 127.0.0.1

PostPosted: Sun Jul 20, 2008 10:40 am    Post subject: Reply with quote

There are various sites that contain bits and pieces of differences. A few:
http://david.tribble.com/text/cdiffs.htm
http://docs.hp.com/en/92501-90029/ch01s03.html
http://www.cprogramming.com/tutorial/c-vs-c++.html

_________________
- Retired.
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
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