Thread: Impossible

  1. #16
    Code:
    #include <cstdio>
    
    int main(int argc, char *argv[]){
      for (int i=0; i<100000000; i++){
        printf("Hey! this is less than 10kb.");
      }
      return 0;
    };
    worked for me. it was 3072 bytes. As long as i only use stuff in cstdio.h, i haven't been able to go OVER 10kb.

    ~Inquirer
    Compilers:
    GCC on Red Hat 8.1 (Primary)
    GCC on Mac OS X 10.2.4 (Secondary)

    Others:
    MinGW on XP

  2. #17
    Evil Member
    Join Date
    Jan 2002
    Posts
    638
    Are you sure that is the binary?

  3. #18
    hehe. Nevermind.

    For some reason, the file stayed open, and DEV stopped writing to it when it complied, so after i compiled void main(){}; it never changed the file size, or the program on disk.

    ~Inquirer
    Last edited by Inquirer; 11-01-2002 at 03:29 PM.
    Compilers:
    GCC on Red Hat 8.1 (Primary)
    GCC on Mac OS X 10.2.4 (Secondary)

    Others:
    MinGW on XP

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Nested Loop with add-on Equation..?? Seems Impossible!
    By AssistMe in forum C Programming
    Replies: 3
    Last Post: 03-11-2005, 12:28 PM
  2. (Im)possible Algorithm
    By Cikotic in forum C Programming
    Replies: 28
    Last Post: 03-31-2004, 08:36 AM
  3. 0% probability == impossible?
    By Silvercord in forum A Brief History of Cprogramming.com
    Replies: 49
    Last Post: 09-01-2003, 03:48 PM
  4. Deleting classes, or is it impossible?
    By Lariumentiko in forum C++ Programming
    Replies: 13
    Last Post: 02-02-2003, 04:26 PM
  5. The Impossible "Surf'n'Compile" Lifestyle
    By Sebastiani in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 09-01-2001, 11:45 AM