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 or C++?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Mon Nov 05, 2007 2:32 pm    Post subject: C or C++? Reply with quote

I know a little of C++ and VERY little C, but i would like to know which one would be better to start with? I heard some people say C is better than C++ and some say C is better to learn first because it will help you when you move onto C++. Its a tough decision... so..

C
or
C++?

Reasons would be nice, not just one sentenced answers.

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

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Mon Nov 05, 2007 2:34 pm    Post subject: Reply with quote

http://forum.cheatengine.org/viewtopic.php?p=1533627#1533627
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Mon Nov 05, 2007 2:46 pm    Post subject: Reply with quote

I really want to learn C++ since it makes more sense too, but i have this open source project thing im working on it and uses C not C++... =\
_________________
Back to top
View user's profile Send private message MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Mon Nov 05, 2007 2:48 pm    Post subject: Reply with quote

bam2550 wrote:
I really want to learn C++ since it makes more sense too, but i have this open source project thing im working on it and uses C not C++... =\


If you learn C++ first you will learn C as you do so. As for your project, if it is set to be C only, just stick with C for the project and learn C++ on your own time when you have a chance to read things here and there. No reason not to learn it at all.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Mon Nov 05, 2007 2:52 pm    Post subject: Reply with quote

Also, im running Ubuntu Linux, do you have any ideas on compilers, or things i can open .c files with? Because it is very very annoying to right click, open with... scroll -> text editor....

so instead i can go Click and then C compiler comes up (Doesnt have to be a compiler, just a better viewer) (or maybe even a way to set text editor as a default way to open .c)

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

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Mon Nov 05, 2007 3:16 pm    Post subject: Reply with quote

I've personally tested out: Eclipse and KDevelop

KDevelop was pretty nice, very complete, and pretty easy to use. Eclipse was more professional looking and seemed to be made for something specific. Both worked fine for me though, so I can't really say either was better.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Mon Nov 05, 2007 3:26 pm    Post subject: Reply with quote

C++.

Object Oriented > Non-object oriented
Back to top
View user's profile Send private message
assaf84
Expert Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 238

PostPosted: Tue Nov 06, 2007 5:40 am    Post subject: Reply with quote

I would learn only C, because I don't really like OOP.. And if you learn C++ and then you decide yo don't like OOP you will get confused because you'll use things that are part of C++ and not C. Just find what you like..
Back to top
View user's profile Send private message
ZenX
Grandmaster Cheater Supreme
Reputation: 1

Joined: 26 May 2007
Posts: 1021
Location: ">>Pointer<<" : Address 00400560 Offset :1FE

PostPosted: Tue Nov 06, 2007 6:37 am    Post subject: Reply with quote

well seeing how it is easy to go from C++ to C, and C is Harder to go to C++.

Plus C++ > C

So i say you learn C++

_________________
CEF Moderator since 2007 ^_^
ZenX-Engine
Back to top
View user's profile Send private message Yahoo Messenger
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Tue Nov 06, 2007 6:37 am    Post subject: Reply with quote

well i decided on C as the language that i will learn.then i may, or probably will, move onto C++ as the project nears completion.

Anyone know how to make it so it auto opens .c/.h files with Kdevelop?

_________________
Back to top
View user's profile Send private message MSN Messenger
Hackerdevelopment
Advanced Cheater
Reputation: 0

Joined: 11 Oct 2007
Posts: 55

PostPosted: Tue Nov 06, 2007 6:50 am    Post subject: Reply with quote

C++ is a more advanced language then c so learn c++ i think its better.
_________________
Back to top
View user's profile Send private message
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Tue Nov 06, 2007 8:09 am    Post subject: Reply with quote

Hackerdevelopment wrote:
C++ is a more advanced language then c so learn c++ i think its better.

I already have an answer, but thank you for your input. Now i have a new question..

Anyone know how to make it so it auto opens .c/.h files with Kdevelop?

_________________
Back to top
View user's profile Send private message MSN Messenger
assaf84
Expert Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 238

PostPosted: Tue Nov 06, 2007 8:12 am    Post subject: Reply with quote

What is KDevelope?

And good choice, by the way..
Back to top
View user's profile Send private message
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Tue Nov 06, 2007 8:25 am    Post subject: Reply with quote

KDevelop is a c/c++ compiler for (K)Ubuntu. And ubuntu is a linux distro. And i have Ubuntu Linux. Lol
_________________
Back to top
View user's profile Send private message MSN Messenger
assaf84
Expert Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 238

PostPosted: Wed Nov 07, 2007 12:55 am    Post subject: Reply with quote

Sorry, don't know about ubuntu.. XD
Though my friend uses it..

There must be an option in KDevelop.. If there isn't, create a .c file, hold shift and click on it with the right mouse button, and choose "Open with...", choose KDevelop and tick "Always open this kind of file with this software blablablablabla". Well, at least it's like this for windows..
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 1, 2  Next
Page 1 of 2

 
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