I'm following a tutorial on http://cboard.cprogramming.com/newth...read&forumid=4 and I come across a program, well code.
It is as follows:
So in the tutorial it say that this program is for c not c++. Well its obvious 'cause they use print not cout to print on screen, so how would this look like if you were to converet this to c++?Code:include <stdio.h> int main() { int a=5; int b=6; int result=a*b; printf("%d * %d = %d\n", a, b, result); return 0; }
Are there sertain things I need to delete or put in other plases?