Thread: Give me Programs

  1. #1
    Registered User
    Join Date
    Dec 2010
    Location
    Lucknow, India
    Posts
    72

    Give me Programs

    Hi. Guys. I have a break up today and her Memories gonna Kill me.
    I don't want to sit free otherwise i start Thinking about her.
    So please give me Some C programs to code. So that I can set busy myself in programming.
    please guys..

  2. #2
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    You can't come up with something on your own?

  3. #3
    Registered User
    Join Date
    Aug 2010
    Location
    Poland
    Posts
    733
    Code something for Her.

  4. #4
    Registered User
    Join Date
    Dec 2010
    Location
    Lucknow, India
    Posts
    72
    Quote Originally Posted by CommonTater View Post
    You can't come up with something on your own?
    Sorry... I didnt get you..

  5. #5
    Registered User
    Join Date
    Dec 2010
    Location
    Lucknow, India
    Posts
    72
    Quote Originally Posted by kmdv View Post
    Code something for Her.
    Suggest me buddy. what Should I code.
    I cant even code a Sad song for her.

  6. #6
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    My question was: Do you not have any ideas of your own?

    Ok, How about writing a code management system for C and C++ that will index functions and structures creating a database of code snippets for future use...

    That should keep you busy for a while...

  7. #7
    Registered User \007's Avatar
    Join Date
    Dec 2010
    Posts
    179
    1) Write your own library (random number library, "string" library, a FILE library etc)
    2) Make a game
    3) Learn a new API
    4) Learn a new language
    5) Go for a walk
    6) Learn how to reverse engineer something
    7) Dabble with some black magic
    8) Ride a bike
    9) Try to make some crazy obfuscated code
    10) re-write the stdio library in Perl

    I am out of ideas.

  8. #8
    Registered User
    Join Date
    Dec 2010
    Location
    Lucknow, India
    Posts
    72
    Quote Originally Posted by \007 View Post
    1) Write your own library (random number library, "string" library, a FILE library etc)
    2) Make a game
    3) Learn a new API
    4) Learn a new language
    5) Go for a walk
    6) Learn how to reverse engineer something
    7) Dabble with some black magic
    8) Ride a bike
    9) Try to make some crazy obfuscated code
    10) re-write the stdio library in Perl

    I am out of ideas.
    Thanks "\007" and Thanks "CommonTater" you both are really good buddies. I hope something good will happen from now. ^-^

  9. #9
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,318
    Go out and get some sun in the middle of the day. Direct mid day sunlight boosts vitamin D levels which helps against depression. Need to not wear sunscreen either, but don't stay out long enough to get burnt.
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

  10. #10
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by Gaurav Singh View Post
    Hi. Guys. I have a break up today and her Memories gonna Kill me.
    I don't want to sit free otherwise i start Thinking about her.
    So please give me Some C programs to code. So that I can set busy myself in programming.
    please guys..
    Save yourself some time and trouble: visit your local bartender, go for a walk, then maybe write her a letter or something. If it's meant to be, she'll be back. If not, well...c'est la vie.
    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;
    }

  11. #11
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    Location
    London, United Kingdom
    Posts
    2,094
    I agree with the last poster... also don't write code when you are psychologically affected by something. It will end up being crap, and then you will have two problems to worry about.

    Just live your drama first, then think about coding later. Best of luck!
    1. Get rid of gets(). Never ever ever use it again. Replace it with fgets() and use that instead.
    2. Get rid of void main and replace it with int main(void) and return 0 at the end of the function.
    3. Get rid of conio.h and other antiquated DOS crap headers.
    4. Don't cast the return value of malloc, even if you always always always make sure that stdlib.h is included.

  12. #12
    Registered User
    Join Date
    Aug 2010
    Location
    Poland
    Posts
    733
    Quote Originally Posted by claudiu View Post
    I agree with the last poster... also don't write code when you are psychologically affected by something. It will end up being crap, and then you will have two problems to worry about.

    Just live your drama first, then think about coding later. Best of luck!
    I agree, writing code under depression just because of a girl is not a good idea. It may lead to a poor quality code (!), which used in the future may hit performance significantly (!), cause memory leaks (!) as well as unpredicted memory access violations (!), and even application crashes (!!!). You'd better have a rest, instead of bungling code.
    Last edited by kmdv; 01-28-2011 at 02:59 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 0
    Last Post: 07-26-2007, 09:55 AM
  2. How come Dev C++ cant run some programs??
    By Sephiroth in forum C Programming
    Replies: 41
    Last Post: 09-17-2005, 05:35 AM
  3. Way to get the current open programs displayed?
    By CPPguy1111 in forum C++ Programming
    Replies: 6
    Last Post: 06-22-2005, 12:24 AM
  4. Communication between programs?
    By johny145 in forum Windows Programming
    Replies: 3
    Last Post: 06-01-2005, 10:14 PM
  5. Problem using java programs within C code
    By lemania in forum Linux Programming
    Replies: 1
    Last Post: 05-08-2005, 02:02 AM