C++ Programming
C and its derivative C++
Books
A C++ Tutorial for Complete Beginners # 1
It is considered to be the most commonly used programming language. If you want a job in programmming, you will need to know this language.
The best way to learn a 'human' language is to start speaking, listening, and repeating, and then leaving the grammar for later. The same can be applied to C, you need to start writing programs as quickly as possible.
1. Your First Program
It is a perfect starting place for our tutorial.
So, type the following program into your favorite editor. If you are using Windows then try notepad or DOS Edit, if using a *Nix variant use VI or emacs
.............................................................................................................................................................
/* hello world program */ #include "stdio.h" void main() { printf("\nHello World\n"); // print to screen }Save this code into a file, and call the file hello.c, then compile it by typing at a command prompt:
gcc hello.c
................................................................................
About the Author
Alex is a professional C++ software developer and was twice recognized
as one of the top two Teaching Fellows in Harvard's School of
Engineering and Applied Sciences. He helped teach both of Harvard's
first two introductory computer science courses, focusing on C, C++ and
Scheme.
If you're new to C++, I recommend you purchase my ebook, Jumping into C++, a complete step-by-step guide for beginners, which covers significantly more material than this free tutorial.
A step-by-step guide to becoming a C++ programmer... Guaranteed
Want to learn to code? Want to learn C++? Struggling to follow your lecturer or books and tutorials written for experts?
Web Teaching
No comments:
Post a Comment