Reputation: 202 Stalwart
- Active Posts:
- 4,789 (1.65 per day)
- 23-December 05
- Profile Views:
- Last Active:
- Feb 03 2013 03:04 PM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Dream Kudos:
- Expert In:
Posts I've Made
Posted 2 Feb 2013Interesting. I use PHP almost daily, good to know it's going to be around a while
Posted 2 Feb 2013your if statements are incorrect. They should be of the form:
if ( y == 1 || y == 3 || y == 5 || y == 7 || y == 8 || y == 10 || y == 12 )
the 2nd value 3 in your OR statement is greater than 0 and C++ will consider that to be true no matter what the rest of the if statement compares. You must compare the variable in each value.
Posted 1 Sep 2012Is this the exact code you are using?
When I run it, the text appends to the file as expected.
Posted 1 Sep 2012node.js API and socket.io/#how-to-use?
Edit: apparently links can't have # in them.
Posted 1 Sep 2012Your layouts are guessing how big to make everything and since the JTextFields are the only thing with widths, it uses that as a 'hint'.
Add a size to your applet and all should be fine, something like:
setContentPane(contentPane); setSize( 250, 200 ); //add this
should work for what you have now.
- Member Title:
- lost in compilation
- 29 years old
- April 30, 1984
- Ottawa, Canada
- As far as this site is concerned, Programming, but there are many others.
- Years Programming:
- Programming Languages:
Have worked with:
Assembly, Perl, Python, Scheme, Prolog