I just need the following compiler output for this, plus the compiler you're running, if you don't mind.
Thanks.Code:int main() { _10; }
I just need the following compiler output for this, plus the compiler you're running, if you don't mind.
Thanks.Code:int main() { _10; }
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
VC++.NET Standard
__________________________________________________
------ Build started: Project: Test1, Configuration: Debug Win32 ------
Compiling...
main.cpp
c:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\Test1\main.cpp(2) : error C2065: '_10' : undeclared identifier
Build log was saved at "file://c:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\Test1\Debug\BuildLog.htm"
Test1 - 1 error(s), 0 warning(s)
---------------------- Done ----------------------
Build: 0 succeeded, 1 failed, 0 skipped
same thing in DevC++ too....
Undeclared Identifier under Codewarrior
Should it have done something?
Variables and functions that start with _ are supposed
to reserved for the compiler. It's possible it could do something.
>> Should it have done something?
Nope. Well, it should compile with errors, of course...I'm trying to use the compiler errors to display info to the programmer, simplified, something like:
int main(){
RANGE(WHITE_BRUSH);
}
...would give me the total of stock brushes available to a windows application by passing just a single known value. Sounds like macro hell, huh? Anyway, I just wanted to know if the number shows in the error gutter on any given compiler...