Thread: dumb question...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Hmmm...thanks. Ok Davros, let's clarify - so you CAN run a program directly within the hard drive? That seems counter - intuitive. If you are referring to swapping pages, that is different. The pages on the hard drive must be placed in the core/RAM memory before they can be accessed, correct? An if so, why? Is it because the seek time is intolerably slow to feed to the CPU, or is that there is an actual hardware inability to do so ( run the program from disk )?


    [edit] BTW Adrianxw: yes this book is dated 1974(!) but, I should add, it is an excellent book. These old-school programmers sure took programming seriously! Unlike todays brand of impatient and eccentric coders, these guys could even write programs without mnemonics and using absolute addressing to boot! Truly amazing...[/edit]
    Last edited by Sebastiani; 07-28-2002 at 10:46 AM.
    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;
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. dumb question
    By travis999 in forum C Programming
    Replies: 3
    Last Post: 10-26-2007, 12:57 AM
  2. very dumb question.
    By Blips in forum C++ Programming
    Replies: 14
    Last Post: 11-08-2005, 09:37 AM
  3. Dumb question
    By dragon2309 in forum C Programming
    Replies: 18
    Last Post: 10-29-2005, 03:27 PM
  4. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  5. another dumb question - loop not working?
    By Captain Penguin in forum C++ Programming
    Replies: 8
    Last Post: 10-06-2002, 10:15 PM