C Programming for Beginers

Only available on StudyMode
  • Download(s) : 347
  • Published : November 11, 2011
Open Document
Text Preview
Cprogramming.com: How to Get Started with C++


Starting out Getting Started Tutorials Quizzes

Getting Started with C/C++
Exactly How to Get Started with C/C++ Today
Okay, let's cut to the chase--you want to learn to program in C/C++ and you want to know exactly what you should do, right now. ● Go here and follow our super-simple instructions on setting up a C/C++ compiler (A compiler will let you run the code you write) ● Start our C++ Tutorial ( If you want to learn C, go here. Not sure? I suggest C++.) ● If you're feeling overwhelmed, read The 5 Most Common Problems New Programmers Face--And How You Can Solve Them Once you've started that, I recommend ●

Moving on Advanced Tutorials Articles Practice Problems Tips and Tricks Jobs

Tools What do I need? Compilers Editors Debuggers

● ●

Resources Source Code Syntax Reference Snippets Links Directory Book Reviews Function Lookup

● ●

Checking out our From C++ Beginner to C++ Expert book series. Reading 5 Ways to Learn Programming Faster Working through practice programming problems Quizzing yourself Keep up with the latest information by subscribing to cprogramming.com by Email or RSS

Want more details, read the rest of this page.


What is C, What is C++, and What is the Difference?
C is a programming language originally developed for developing the

http://www.cprogramming.com/begin.html (1 of 5) [05-11-2011 09:26:54]

Cprogramming.com: How to Get Started with C++

Programming FAQ Message Board Ask an Expert Email About Us

Unix operating system. It is a low-level and powerful language, but it lacks many modern and useful constructs. C++ is a newer language, based on C, that adds many more modern programming language features that make it easier to program than C. Basically, C++ maintains all aspects of the C language, while providing new features to programmers that make it easier to write useful and sophisticated programs. For example, C++ makes it easier to manage memory and adds several features to allow "object-oriented" programming and "generic" programming. Basically, it makes it easier for programmers to stop thinking about the nitty-gritty details of how the machine works and think about the problems they are trying to solve.

So, what is C++ used for?
C++ is a powerful general-purpose programming language. It can be used to create small programs or large applications. It can be used to make CGI scripts or console-only DOS programs. C++ allows you to create programs to do almost anything you need to do. The creator of C++, Bjarne Stroustrup, has put together a partial list of applications written in C++.

How do you learn C++?
No special knowledge is needed to learn C++, and if you are an independent learner, you can probably learn C++ from online tutorials or from books. There are plenty of free tutorials online, including Cprogramming.com's C++ tutorial - one which requires no prior programming experience. You can also pick out programming books from our recommendations. While reading a tutorial or a book, it is often helpful to type - not copy and paste (even if you can!) - the code into the compiler and run it. Typing it yourself will help you to get used to the typical typing errors that cause problems and it will force you to pay attention to the details of programming syntax. Typing your program will also familiarize you with the general structure of programs and with the use of common commands. After running an example program - and after making certain that you understand how it works - you should experiment with it: play with the program and test your own ideas. By seeing which modifications cause problems and which sections of the code are most important to the function of the program, you should learn quite a bit about programming. Try our C++ Beginner to C++ Expert recommended book series, a sixbook set designed to get you maximal information and help take you from beginner to C++ master....
tracking img