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++ int main() / void main() ?
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
MegaForum
Grandmaster Cheater
Reputation: 0

Joined: 20 Aug 2007
Posts: 558

PostPosted: Mon Sep 24, 2007 1:50 pm    Post subject: Reply with quote

blankrider wrote:
C and c++ are different

they're syntax is different
You dont NEED to know C to know c++
you dont NEED to know c++ to know C

in manys opinions C -> c++ is easier converting than C++ -> C


Why not just skip C if C++ seems overall easier and has a lot more opportunities to code in. C is limited since and older coding language, while C++ is based off C but has added material and more functionality.
IMO, i believe in the next couple of years, C maybe oppsolite to C++ if it
is still not used.

Correct me if im wrong on anything. Surprised
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Mon Sep 24, 2007 2:18 pm    Post subject: Reply with quote

the point of my statement is you dont need C to know c++ and vise versa. They're different
_________________
Back to top
View user's profile Send private message
MegaForum
Grandmaster Cheater
Reputation: 0

Joined: 20 Aug 2007
Posts: 558

PostPosted: Mon Sep 24, 2007 3:12 pm    Post subject: Reply with quote

blankrider wrote:
the point of my statement is you dont need C to know c++ and vise versa. They're different


but C++ is an upgraded version, persay, of C.
A lot of commands that are used in C can be found in C++.
A major difference is that C++ is newer and has more options for you to perform.
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Mon Sep 24, 2007 3:19 pm    Post subject: Reply with quote

MegaForum wrote:
but C++ is an upgraded version, persay, of C.


No.

MegaForum wrote:
A lot of commands that are used in C can be found in C++.


True.

MegaForum wrote:
A major difference is that C++ is newer and has more options for you to perform.


No. It just standardized a library with common functions, they are not integral parts of the language.
Back to top
View user's profile Send private message
MegaForum
Grandmaster Cheater
Reputation: 0

Joined: 20 Aug 2007
Posts: 558

PostPosted: Mon Sep 24, 2007 3:21 pm    Post subject: Reply with quote

appalsap wrote:
MegaForum wrote:
but C++ is an upgraded version, persay, of C.


No.

MegaForum wrote:
A lot of commands that are used in C can be found in C++.


True.

MegaForum wrote:
A major difference is that C++ is newer and has more options for you to perform.


No. It just standardized a library with common functions, they are not integral parts of the language.


So basically its the same language. To me it seems more have to do with how the compiler reads the code, for different commands.
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Mon Sep 24, 2007 5:10 pm    Post subject: Reply with quote

a compiler that can compile c++ can compile C, right appal?
_________________
Back to top
View user's profile Send private message
MegaForum
Grandmaster Cheater
Reputation: 0

Joined: 20 Aug 2007
Posts: 558

PostPosted: Mon Sep 24, 2007 5:16 pm    Post subject: Reply with quote

blankrider wrote:
a compiler that can compile c++ can compile C, right appal?


i would imagine? i am not entirely sure Confused
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Mon Sep 24, 2007 9:14 pm    Post subject: Reply with quote

Not always true, but most commercial compilers can compile both.
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
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