// assignment operator
#include <iostream>
using namespace std;
int main ()
{
int a,b,c,d,e;
a=2;
a = b;
b = c;
c = d;
d = e;
cout << "If A=2, E=D, D=C, C=B, and B=A then E=" << e << endl;
return 0;
}
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 30
Thread: C++ Error...IDK what is wrong!Threaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |