- Joined
- Sep 9, 2008
- Messages
- 57
- Reaction score
- 0
I'm just learning about C++ myself but, I can give you an easy example of how i've gotten better =]
#include "stdafx.h"
#include <iostream>
using namespace std;
int main()
{
int x;
int y;
x = 3;
y = 5;
cout << "The sum of x + y is equivalent to: " ;
cout << x + y;
cin.get();
return 0;
}
#include "stdafx.h"
#include <iostream>
using namespace std;
int main()
{
int x;
int y;
x = 3;
y = 5;
cout << "The sum of x + y is equivalent to: " ;
cout << x + y;
cin.get();
return 0;
}

