View Single Post
Old 08-08-2007, 11:52 PM   #7 (permalink)
xbonez
NP : Crysis
 
xbonez's Avatar
 
Join Date: Mar 2007
Location: City 17
Posts: 1,434
Default Re: C++:Adding two numbers

leave out all the complications. just run

Quote:
#include<iostream.h>
#include<conio.h>
{
clrscr();
int a,b;
cin>>a>>b;
cout<<a+b;
getch();
}
simple as tht
__________________
Gaming: Phenom II x4 965BE @ 3.6Ghz/Corsair H50 Liquid Cooling/MSI 790FX-GD70/2x2GB GSkill Ripjaws 7-7-7-24/3 x GTX 470 w/Zalman VF3000F/Corsair 850W PSU/Antec 1200/2xSpinpoint F3 500Gb RAID 0
xbonez is offline