Change compiler start-up settings?

This is a discussion on Change compiler start-up settings? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; One day I placed a floppy with sample C programs into the drive, and inadvertantly double-clicked on one of the ...

  1. #1
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,705

    Change compiler start-up settings?

    One day I placed a floppy with sample C programs into the drive, and inadvertantly double-clicked on one of the files, so the file opened from the floppy.

    Problem is, after that, every time I start up my compiler, I can hear the little "whhrr..." of the floppy being checked first, and this takes about 7 seconds or so before the compiler will finally load!

    Not only THAT but when I've already got the thing started, and I go to "File->Save ..."(such as when saving changes in a ".h" file), the DAMN THING Does it all over again (and if I slip off the menu bar--Woops...here we go..."whhrr...")

    Anyway, is there any way to *tell* the compiler not to check the floppy anymore?
    Code:
    #include <cmath>
    #include <complex>
    bool 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;
    }

  2. #2
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    I think it just has to do with it checking the most recently opened document. Try double-clicking on a source file that's NOT on a floppy. it may go away then....

  3. #3
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,705
    No, I only did that once, a few months ago actually. I ALWAYS open files from my hard-drive.
    Code:
    #include <cmath>
    #include <complex>
    bool 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;
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Adventures in labyrinth generation.
    By guesst in forum Game Programming
    Replies: 8
    Last Post: 10-12-2008, 01:30 PM
  2. c++builder6 change form names problem
    By Leite33 in forum C++ Programming
    Replies: 2
    Last Post: 06-09-2008, 08:20 AM
  3. Need help with C program
    By ChrisH in forum C Programming
    Replies: 38
    Last Post: 11-13-2004, 12:11 AM
  4. adding a function to a program
    By trippedwire in forum C++ Programming
    Replies: 9
    Last Post: 09-30-2004, 12:35 PM
  5. Replies: 2
    Last Post: 09-04-2001, 02:12 PM

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