Apr 20, 2013 at 11:08am
Vanessatse, the following works on my XP computer with code::blocks and the MinGW compiler:
1 2 3 4 5 6 7 8 9 10
|
#include <iostream>
using namespace std;
int main ()
{
float angle;
angle =0;
cout<<"Rotation of "<<angle << static_cast<char>(248) << endl;
cin.get ();
return 0;
}
| |
But I had to declare "angle" and assign an initial value of zero to stop getting a very weird large number from coming up! Cheers, Don
Last edited on Apr 25, 2013 at 10:06am