Thursday, July 30, 2009

What should I learn: C or C++?

I am a budding programmer (15) working out of Ubuntu 7.04. I would like to learn some C programming, but I have some questions:





What's the difference between C and C++?


What is C++ Visual? Better than C++?


Where are some good resources?





Thank you!

What should I learn: C or C++?
C++. Because when you are learning from scratch, you should go for the own which is the superset. Otherwise you would have to spend another round of effort to "upgrade" your knowledge to C++.





The strongest argument for C++ in your case is that Object Oriented Methodology is better absorbed on a clean white board. If you get used to write long monolithic C code, you will have to then un-learn that to learn about small and sweet classes. So go for classes first. There is nothing in the concept of OOD that requires a prior knowledge of C.
Reply:c++


codeproject.com


cplusplus.com
Reply:C++ known as C with Calsses,Difference between C and C++ are as follows





C is a procedural/modular language where C++ is Object Oriented Programming Language(OOP), C++ is more organised than C. Every program written in C -language is correct in C++ but vice versa is not correct because C++ contains more libraries than C. C++ has some new features like Classes, Objects, Inheritance , Contructors, Polymorphism, Operator Overloading, Garbage Collection, Templates, Error Handling which C- language didn't.





Visual C++ is a part of Microsofts Visual Studio, it provides GUI and IDE for creating programs both DOS %26amp; Window based. While Turbo C++ IDE having less feature may be used for DOS based programes more efficiently but new generatio nprogrames are constructed with Visual C++.





you can visit http://msdn.com and http://borland.com for more information.
Reply:C++





C is Structured Programming Language(Functions and Procedures)


C++ is Object Oriented Programming Language. (Functions/procedures are coupled with data)





If you learn C++ you can easily transition to C and Java, and VB





If you start with C the transition is not as easy although possible.





Visual C++ is a tool that you use(software) to create visual programs(windows) faster. They usually have drag and drop options for windows and window like object.





Any teach yourself C++ book will get you started.
Reply:C and C++ are programming languages. C is called structural and C++ is called structural and objective.





Programming with C is easy ! ( because it have many library's that you can use them and in C Lang you understand what you write.





C++ Lang is improved and enhancement of C Lang. it's details is very. and you full feeling to write program.





totally in visual Lang you have graphical object that let you to create one or several windows , as same as all application you install and use in Microsoft windows. you can work easily graphical in visual.





if your program is simple or have not very important( very very important) you can use C Lang. off course when you learn C you can easily improve self to C++.





we recommend usually user to C and professional user to c++.
Reply:C is the father of Unix, on which Ubuntu is modelled. C++ is the son, which was pampered and spoiled by giving it so much that it left home and never looked back. C++ Visual is the evil clone created by the dark forces of programming, created to lure people from the one true operating system (Unix) to the dark side (called Microsoft Windows).





What do you plan on doing with the language you learn? Just learning to program? If that's the case, what _I_ would recommend is that you learn something like Perl or Tcl - which are a bit easier to learn and get you programming things a bit more complex faster.





If on the other hand you plan on making changes to Ubuntu code, then you need to learn C.





If you are serious about learning C++, I'll say prayers for you and light candles...





:lol:





use your favorite web search engine to search for programming tutorials - there's places like www.cprogramming.com and others which provide online information.

nobile

No comments:

Post a Comment