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..
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..
You can't come up with something on your own?
Code something for Her.
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...
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.
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"
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; }
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.
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.