Sep 1, 2012 at 10:24pm UTC
I have recently mastered the art of "Hello World", but what do I do next!?
Sep 1, 2012 at 10:45pm UTC
Thanks! I'm only 10, so Im not that expirienced. I'm reading a 20 chapter introduction to C++ book. I'm learning about data types. :)
Sep 1, 2012 at 10:50pm UTC
Data types are everything in C++. It's all about making up suitable user defined data types for the job at hand and using them to solve the problem. However, you need to understand the built in types first and basic program techniques; using variables, functions, loops and input/output.
Sep 1, 2012 at 10:56pm UTC
That is great, just try to solve so mathematical problems like adding of two numbers and substracting and mutiplication and so on
using namespace std;
cout<<"Enter first number";
cout<<"Enter second number";
cout<<"\n The Sum is = "<<sum<<"\n";
cout<<"\n The multiplication is = "<<mul<<"\n";
cout<<"\n The division is = "<<div<<"\n";
getchar()//use to hold the console environment so that u can read the program out.
Sep 2, 2012 at 12:07am UTC
I would recommend declaring variables and using them.