You are here: Home >> Articles & Tutorials >> Learn about C++ Programming

Learn about C++ Programming

By jmortan on Oct 29, 2009 |Technology

Was this helpful? 0 0 Comments



Normal 0 false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;} Learn about the C++ ProgrammingLanguage, how to start writing programs written in C++. and get from Novice toExpert. C++ is a general purpose programming language invented inthe early 1980s by Bjarne Stroustrup at Bell Labs. It is similar to C, inventedin the early 1970s by Dennis Ritchie, but is a safer language than C andincludes modern programming techniques such as object oriented programming. In fact C++ was originally called C with Classes and is so compatible with Cthat it will probably compile more than 99% of C programs without changing aline of source code. This was a deliberate design feature by the designer. Thepurpose of C++ is to precisely define a series of operations that a computercan perform to accomplish a task. Most of these operations involve manipulatingnumbers and text, but anything that the computer can physically do can beprogrammed in C++. Computers have no intelligence- they have to be told exactlywhat to do and this is defined by the programming language you use. Onceprogrammed they can repeat the steps as many times as you wish at very highspeed. Modern PCs are so fast they can count to a billion in a second or two. What can a C++ program do? Typical programming tasks includes putting data into a databaseor pulling it out, displaying high speed graphics in a game or video,controlling electronic devices attached to the PC or even playing music and/orsound effects. You can even write software to generate music or help youcompose. Is C++ the best programming language? Some computer languages were written for a specific purpose.Java was originally devised to control toasters, C for programming OperatingSystems, Pascal to teach good programming techniques but C++ is a generalpurpose language and well deserves the "Swiss Pocket Knife ofLanguages" nickname. There are some tasks that can be done in C++ but notvery easily, for example designing GUI screens for applications. Otherlanguages like Visual Basic, Delphi and more recently C# have GUI designelements built in to them and so are better suited for this type of task. Alsosome scripting languages that provide extra programmability to applicationslike MS Word and even Photoshop tend to be done in variants of Basic, not C++. Which computers have C++? This is better stated as which computers don't have C++! Theanswer- almost none, it is so widespread. It is a nearly universal programminglanguage and can be found on most microcomputers, and all the way up to bigcomputers costing millions of dollars. There are C++ compilers for just aboutevery type of operating system. How do I get started with C++? First you need a C++ compiler. There are many commercial andfree ones available. The list below has instructions for downloading andinstalling each of the compilers. All three are completely free and include an IDEto make life easier for you to edit, compile and debug your applications. Download and Install Borland's Turbo C++ Explorer Download and Install Microsoft's Visual C++ 2005 Express Edition Download and Install Open Watcom C/C++ Compiler How do I begin writing C++ applications? C++ is written using a text editor. This can be notepad oran IDE like those supplied with the three compilers listed above. You write acomputer program as a series of instructions (called statements) in a notationthat looks a little like mathematical formulas. int c=0; float b= c*3.4+10; This is saved out in a text file and then compiled and linkedto generate machine code which you then can run. Every application you use on acomputer will have been written and compiled like this, and many of them willbe written in C++. Read more about compilers and how they work. You can'tusually get hold of the original source code unless it was open source. Is there plenty of C++ Open Source? Because it is so widespread, much open source software hasbeen written in C++. Unlike commercial applications, where the source code isowned by a business and never made available, open source code can be viewedand used by anyone. It's an excellent way to learn coding techniques. You cansee many examples in the C++ Code Library Could I get a programming job? Certainly. There are many C++ jobs out there and an immensebody of code exists that will need updating, maintaining and occasionallyrewriting. The top three most popular programming languages according to thequarterly Tiobe.com survey, are Java, C and C++. So what now? First you have to learn to program in C++. For moreinformation on the course outline visit us at www.abcotechnology.com or call us at310-216-3067. About Learning a Technical Subject From my own experience, I've found that you need to studyregularly and practice what you've learnt. Two to three sessions a week isenough to keep what you've learnt fresh in your mind. There is no better way tolearn than by doing and you'll get a great deal of satisfaction, not to mentionpractical experience and ABCO Technology provideshands-on practical learning with standardized training equipment. This isonly a tutorial on C++ programming and not a guarantee that you will be able todo programming after reading it. Refer to this tutorial as a knowledgebaseonly.

Was this helpful? 0 0 Comments

Do you enjoy this post? Help us better!

About jmortan

Learn about C++ Programming from jmortan

Most Helpful Tutorials & Artilces

Did this article Learn about C++ Programming solve your question / problem? If not, read following similar tutorials & articles or ask a new question.

You're reading Learn about C++ Programming.

Comments

My Questions & Articles

Find latest questions, answers and articles.

Questions I Ask

Questions I Follow

Articles I Share

Do you like it? Share with friends!

Don't forget to follow us!

If you like our tutorials and answers, please give us a +1!