Lets CsomeMath

Hello. I am trying to add a #include<cmath> code but apparentlly it wont work internally?? My program runs fine but but as soon as I add that code in there it gives me errors INSIDE the cmath file, Im lost!
Thanks in advance!
Er... could you give us an example of a piece of code before and after that generates this error after but not before?

-Albatross
Well, Im in visual studio so thats alot of code. But here is my one and only button which works just fine
1
2
3
4
5
6
7
8
				Graphics^ timeGraphics = this -> CreateGraphics();
				Drawing::Brush^ brush = gcnew Drawing::SolidBrush(Color::Red);
				Drawing::Pen^ pen = gcnew Drawing::Pen(Color::Red, 1);
				Drawing::Pen^ hourPen = gcnew Drawing::Pen(Color::Blue,1);

					timeGraphics -> DrawArc (pen, 0,0, 100, 100,  0, 360);

					timeGraphics -> DrawLine (hourPen, 50,50,90,15);



now as soon as I include cmath i get a whole balony like this:
http://files.myfrogbag.com/rdbx46/cmath.png

I placed it in the wrong zone. Thanks guys! Sorry aboutt he waste of itme
Topic archived. No new replies allowed.