How does this compile on your machine?

This is a discussion on How does this compile on your machine? within the C++ Programming forums, part of the General Programming Boards category; I just need the following compiler output for this, plus the compiler you're running, if you don't mind. Code: int ...

  1. #1
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Posts
    5,439

    How does this compile on your machine?

    I just need the following compiler output for this, plus the compiler you're running, if you don't mind.

    Code:
     int main() {
     _10;
     }
    Thanks.
    Code:
    int main(void){srand(time(0));for(double l=rand(),l0=0,l00=0;;l0+=0.1){for(double l000=0;l000
    <1;l000+=.001,l+=((double)rand()/RAND_MAX)/0x64,l00+=((sin(l*0x8*atan(l0)*l000-(l0*0x8*atan
    (l)))*0.5)+0.5)){l00-=floor(l00);for(size_t l0000=0,l00000=(size_t)(0x50*(l00));l0000<l00000;++l0000
    )putchar(0x20);putchar(0x61+(int)((double)rand()/RAND_MAX*0x1a));putchar('\n');}}return 0;}

  2. #2
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    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

  3. #3
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    same thing in DevC++ too....

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,783
    Undeclared Identifier under Codewarrior

  5. #5
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    Should it have done something?

  6. #6
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    Variables and functions that start with _ are supposed
    to reserved for the compiler. It's possible it could do something.

  7. #7
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Posts
    5,439
    >> 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...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Turing Machine
    By Brad C in forum Tech Board
    Replies: 2
    Last Post: 08-05-2005, 08:22 PM
  2. Porting from 32 bit machine to 64 bit machine!
    By anoopks in forum C Programming
    Replies: 10
    Last Post: 02-25-2005, 07:02 PM
  3. Designing State Machine
    By axon in forum Tech Board
    Replies: 3
    Last Post: 11-06-2003, 11:13 AM
  4. Replies: 4
    Last Post: 11-14-2001, 09:28 AM
  5. how do i compile a program that deals w/classes?
    By Shy_girl_311 in forum C++ Programming
    Replies: 5
    Last Post: 11-11-2001, 01:32 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21