How would you like to MASTER graphic design by next week?
Click here to find out how
Featured Photoshop templates - professional ready to use designs for your next project
View all templates
If Statement in C and C++ Tutorial - Part Three - C++ tutorial
This C and C++ programming tutorial discusses the If Statement, relational operators, and variables as we work on our simple calculator app.
Category: C++ tutorials - Difficulty:
More cool C++ tutorials:
There is nothing that says an array has to be limited to 1 dimension. In fact, you can have an arbitrary number of dimensions in an array. 2 dimensional arrays are quite common, especially for storing things like screen coordinates or tables of data.
Pointers In C++ (Crash Course) Before We Get Started: First lets talk briefly about computer memory and how it's addressing works.
using namespace std;
When C++ was being developed, before C++ was standardized, there were no namespaces. There was a lot of pre-standard C++ that looked like this:
Structure is used in c language to group elements together. For eg we wish to store a date say for today 31/3/2010, we can assign 3 integer datatype, day which is hear '31', month which is '3', year which is '2010'.
Keywords less used
In c, there are some keywords the usage of which is not very clearly defined (in textbooks).