View Compilation Error
1_866_1967_10067.cpp:4:90: error: invalid digit "9" in octal constant
#define p 3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825
^
1_866_1967_10067.cpp:12:17: note: in expansion of macro 'p'
m=(n-1)*cos(p/n*1.0)*sin(p/n*1.0)+sin(p/n*1.0);
^
1_866_1967_10067.cpp:4:90: error: invalid digit "9" in octal constant
#define p 3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825
^
1_866_1967_10067.cpp:12:30: note: in expansion of macro 'p'
m=(n-1)*cos(p/n*1.0)*sin(p/n*1.0)+sin(p/n*1.0);
^
1_866_1967_10067.cpp:4:90: error: invalid digit "9" in octal constant
#define p 3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825
^
1_866_1967_10067.cpp:12:43: note: in expansion of macro 'p'
m=(n-1)*cos(p/n*1.0)*sin(p/n*1.0)+sin(p/n*1.0);
^
1_866_1967_10067.cpp: In function 'int main()':
1_866_1967_10067.cpp:4:24: error: expected ')' before numeric constant
#define p 3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825
^
1_866_1967_10067.cpp:12:17: note: in expansion of macro 'p'
m=(n-1)*cos(p/n*1.0)*sin(p/n*1.0)+sin(p/n*1.0);
^
1_866_1967_10067.cpp:4:24: error: expected ')' before numeric constant
#define p 3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825
^
1_866_1967_10067.cpp:12:30: note: in expansion of macro 'p'
m=(n-1)*cos(p/n*1.0)*sin(p/n*1.0)+sin(p/n*1.0);
^
1_866_1967_10067.cpp:4:24: error: expected ')' before numeric constant
#define p 3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825
^
1_866_1967_10067.cpp:12:43: note: in expansion of macro 'p'
m=(n-1)*cos(p/n*1.0)*sin(p/n*1.0)+sin(p/n*1.0);
^
|
|
|
|