Forum: C++ Oct 24th, 2009 |
| Replies: 24 Views: 65,634 Write a program that gives the weekday you were born.
Write a program that tells you many days old you are.
Write a program that lists the date of the third Wednesday of the month for the whole... |
Forum: C++ Feb 12th, 2005 |
| Replies: 6 Views: 2,464 Listen to Dave's advice, he netted them all!
Let int main() return something like a zero, rather than an empty plate.
Sounds like my kind of menu. What's for DESSERT? |
Forum: C++ Feb 4th, 2005 |
| Replies: 14 Views: 7,704 frrossk did a great job helping you! Please put the following lines near the end of your code, just above return 0; to make the console display wait:
cin.get(); // trap return
cin.get(); //... |
Forum: C++ Jan 3rd, 2005 |
| Replies: 97 Views: 25,704 I think English is the best language and all other countries should switch to this language!?!?
I spilled my tea the other day, and the tea leaves told me that F# is the computer language of the... |
Forum: C++ Dec 21st, 2004 |
| Replies: 1 Views: 5,577 With the help of BCX I managed to create some C++ code that will allow you to send text to your printer and specify the font and other things. Play around with the options to suit your own needs. I... |
Forum: C++ Dec 20th, 2004 |
| Replies: 9 Views: 3,829 cout<< "Lees een rij van tien positieve getallen in en bepaal hoeveel van deze getallen"
" door 2, hoeveel door 3 en hoeveel door 5 deelbaar zijn! "<<endl;
Anything with that many "van" in it is... |
Forum: C++ Dec 18th, 2004 |
| Replies: 3 Views: 3,056 show_temps() does not walk through the list! |
Forum: C++ Dec 8th, 2004 |
| Replies: 12 Views: 88,440 Okay, that helps. Now you can get beyond Beep() and use your soundchip. There is a little code snippet called "Play a MIDI voice (Dev C++ console program)" on DaniWeb at:
... |
Forum: C++ Nov 23rd, 2004 |
| Replies: 3 Views: 2,222 Jpowers22 is right, you need to use clock() to get to something that is about a millisecond. You also have to do the calculation about a million times to get a meaningful time to measure. Yes Ruby,... |
Forum: C++ Nov 22nd, 2004 |
| Replies: 9 Views: 28,168 You can access the sound chip to play midi voices using winmm.lib, or in case of Dev C++ the libwinmm.a library. There are 128 midi voices to pick from, anything from the Acoustic Grand Piano = 0 to... |
Forum: C++ Oct 3rd, 2004 |
| Replies: 5 Views: 9,143 A little calculator written in BCX basic and then translated to C code and modified to compile with Dev C++ (GCC/G++). Once you find your way past the standard GUI gibberish you can figure it out. ... |