C++ or c

SpaceshipSpaceship
Watch

bcdmovies

Established Member
Impact
0
i am new to the c or c++ language should i learn c++ inmediatly or should i first learn c..

or ( something totally different ) should i learn Perl?

ill use the language to write applications and maybe a game :)
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
I'd suggest you just learn C++ immediately if you're going to pick between C and C++.
 
0
•••
I would suggest c if you are choosing between the two. If you learn c it will help you learn all other c languages. Also with perl you are talking about a whole different thing. Perl is a scripting language, if you are going to try to learn something along those lines i would suggest python...seems to be what everyone is leaning towards these days.
 
0
•••
i'd say c++ primarily because that was the old staple for all computer science courses (now it's java) so you'd probably find a LOT of info out there (even though im sure c will have just as much).

as mentioned, perl is a scripting language, so if you want to go that route, go for python (which is basically like a c scripting language, as far as i know).
 
0
•••
C is the original so learn the basics of that (dont get too into it), once you learn the basics it'll help you a lot with learning C++, C# etc :)
 
0
•••
C++ is actually better than C in almost all aspects and for all intended purposes a more compatible/flexible language. Just go right into it is your best option. C is a simpler version, however, but uses the same main sort of syntax. So if you don't even know the syntax yet, take a look at C for that aspect, then move on.

-RageD
 
0
•••
If you don't learn how to code with objects and classes right off the bat, you'll have a hard time understanding the concept. I did, anyway. And now I wonder how I lived without!

Learn C++. Hands down. When you learn C++, you'll learn about a lot of C functions you'll encounter down the road.

And learn pointers. Really darn well. Make pointers easier to comprehend in your mind than your spoken language!
 
0
•••
if you are new... i guest better you just to with c++
its basic and its using OOP, some method that will important for your logic programing skill...


Regards.
 
0
•••
Actually C++ includes most of the features of C and also has few new such as classes etc. so if you learn C++ , you would cover most of the C.
 
0
•••
if u wanna make a game programing both is not right choice
but C is a kinda must learn language, u can learn other lang. very easily after C.
 
0
•••
I was just thinking about this thread again for some reason. (Look in the "CODE" subforum to see my C++ tutorial if you're interested) but if you want something like a program connecting to internet, you'll need to use sockets. C++ standard libs don't come with sockets but C standard libs do. So C may be a better choice for something like but there are plenty of free socket libs for C++ out there :) Just some more information to help you make the right choice! ;)

And as far as the above statement about game programming, C++ is most flexible for this purpose :)

-RageD
 
0
•••
Have fun constructing a well-organized program that uses sockets in C without using classes that C++ provides.

Just learn the C libraries and learn how C++ works and you'll be fine.

(or heck, learn Objective-C and write iPhone apps. :p )
 
0
•••
sumo123 said:
Actually C++ includes most of the features of C and also has few new such as classes etc. so if you learn C++ , you would cover most of the C.

Actually, Stroustrup (guy who invented C++) made C++ backwards compatible with C, so any C code will work in C++. I don't think C++ is the best language to learn as your first language IMO. It's better to start off with a high-level language like Python. Python is very easy to pick up and its syntax is very simple.
 
0
•••
I reccommend going straight into learning c++. And I reccommend "C++: how to program" (deitel & deitel) as an aid to do so. It introduces you to Object Oriented concepts within its early chapters and guides you in making OO Applications.
 
0
•••
Learn c first :)
 
0
•••
i think you should do c++ or c sharp no need to do c. c is procedural oriented language and c++ or c# is object oriented language. if you think you should have some expertize in c before going for c++. there is nothing like this necessary. you can directly do c++ or c#.
best of luck
 
0
•••

We're social

Spaceship
Domain Recover
CatchDoms
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back