Thread: Bored...want a challenge...

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

    Bored...want a challenge...

    Hey all. Feeling a little blah today. Last week a computer technician reformatted my hard-drive and erased my personal C library(20, 000 lines of function code), my Windows library(5000 lines), and all my programs, including my first ones. So needless to say, a lot of work to be done! Still, I don't feel like working on it today.

    Does anyone have a program they need written? Maybe that will stimulate my brain a bit! I don't really care what level of difficulty, just something you would like to use - some utility or something but don't feel like writing yourself? I'm just bored, that's all.
    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;
    }

  2. #2
    Unregistered
    Guest
    How's your OpenGL? Perhaps you can help me with a collision response problem I am having?

  3. #3
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Well, I was specifically referring to an application, but go ahead, shoot. don't know much about openGL but I have written some hand made Windows animation routines in the past...
    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. Programming Challenge (for my school)
    By Ezerhorden in forum C++ Programming
    Replies: 2
    Last Post: 01-04-2006, 06:56 AM
  2. Requesting a challenge
    By RealityFusion in forum C++ Programming
    Replies: 8
    Last Post: 08-18-2003, 08:24 PM
  3. if you are bored
    By confuted in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 06-25-2003, 03:24 PM
  4. Bored
    By face_master in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 11-21-2002, 07:03 AM