| View previous topic :: View next topic |
| Author |
Message |
Localhost I post too much
Reputation: 0
Joined: 28 Apr 2007 Posts: 3402
|
Posted: Mon Nov 05, 2007 2:32 pm Post subject: C or C++? |
|
|
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 |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
| Back to top |
|
 |
Localhost I post too much
Reputation: 0
Joined: 28 Apr 2007 Posts: 3402
|
Posted: Mon Nov 05, 2007 2:46 pm Post subject: |
|
|
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 |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Mon Nov 05, 2007 2:48 pm Post subject: |
|
|
| 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 |
|
 |
Localhost I post too much
Reputation: 0
Joined: 28 Apr 2007 Posts: 3402
|
Posted: Mon Nov 05, 2007 2:52 pm Post subject: |
|
|
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 |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Mon Nov 05, 2007 3:16 pm Post subject: |
|
|
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 |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Mon Nov 05, 2007 3:26 pm Post subject: |
|
|
C++.
Object Oriented > Non-object oriented
|
|
| Back to top |
|
 |
assaf84 Expert Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 238
|
Posted: Tue Nov 06, 2007 5:40 am Post subject: |
|
|
| 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 |
|
 |
ZenX Grandmaster Cheater Supreme
Reputation: 1
Joined: 26 May 2007 Posts: 1021 Location: ">>Pointer<<" : Address 00400560 Offset :1FE
|
Posted: Tue Nov 06, 2007 6:37 am Post subject: |
|
|
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 |
|
 |
Localhost I post too much
Reputation: 0
Joined: 28 Apr 2007 Posts: 3402
|
Posted: Tue Nov 06, 2007 6:37 am Post subject: |
|
|
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 |
|
 |
Hackerdevelopment Advanced Cheater
Reputation: 0
Joined: 11 Oct 2007 Posts: 55
|
Posted: Tue Nov 06, 2007 6:50 am Post subject: |
|
|
C++ is a more advanced language then c so learn c++ i think its better.
_________________
|
|
| Back to top |
|
 |
Localhost I post too much
Reputation: 0
Joined: 28 Apr 2007 Posts: 3402
|
Posted: Tue Nov 06, 2007 8:09 am Post subject: |
|
|
| 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 |
|
 |
assaf84 Expert Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 238
|
Posted: Tue Nov 06, 2007 8:12 am Post subject: |
|
|
What is KDevelope?
And good choice, by the way..
|
|
| Back to top |
|
 |
Localhost I post too much
Reputation: 0
Joined: 28 Apr 2007 Posts: 3402
|
Posted: Tue Nov 06, 2007 8:25 am Post subject: |
|
|
KDevelop is a c/c++ compiler for (K)Ubuntu. And ubuntu is a linux distro. And i have Ubuntu Linux. Lol
_________________
|
|
| Back to top |
|
 |
assaf84 Expert Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 238
|
Posted: Wed Nov 07, 2007 12:55 am Post subject: |
|
|
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 |
|
 |
|