Forum: C Jul 2nd, 2008 |
| Replies: 8 Views: 3,501 Python does it with one line:
text = text.replace(' ', '') |
Forum: C Jun 2nd, 2007 |
| Replies: 27 Views: 4,583 Good grief Charlie Brown, where is the answer to EnderX in all this senseless squabble? |
Forum: C Jun 2nd, 2007 |
| Replies: 7 Views: 1,598 This will show the even integers between 2 and limit, then it is up to you to show the product:
#include <stdio.h>
int main()
{
int x;
int limit = 30;
for(x = 2; x <= limit; x=x+2)... |
Forum: C May 24th, 2007 |
| Replies: 4 Views: 5,912 |
Forum: C Dec 26th, 2006 |
| Replies: 2 Views: 11,878 The .h in windows.h stands for header, it is actually C not html. Header files are there to unclutter your code and make it easier to read and hopefully understand. So by nature, header files are... |
Forum: C Oct 11th, 2006 |
| Replies: 13 Views: 8,142 Unless there is something like a ubeep(), you are out of luck. |
Forum: C Oct 11th, 2006 |
| Replies: 13 Views: 8,142 If you have a Windows machine you can change the frequency and duration:
// simple sounds via Beep(frequency_hrz, duration_ms)
// on the PC internal speaker, a Windows Console program
#include... |
Forum: C Oct 11th, 2006 |
| Replies: 2 Views: 11,878 Just a short little C program to send beeps to the PC internal speaker. Beep(frequency_hrz, duration_ms) is a WinAPI function as is Sleep(ms). |
Forum: C Oct 5th, 2006 |
| Replies: 21 Views: 2,421 There is something similar to that project on DaniWeb's C code snippets:
http://www.daniweb.com/code/snippet381.html
Sort of the next step to this project |
Forum: C Mar 30th, 2006 |
| Replies: 2 Views: 1,902 For some existing C code take a look at:
ftp://ftp.simtel.net/pub/simtelnet/msdos/graphics/jpegsr6.zip |
Forum: C Mar 29th, 2006 |
| Replies: 2 Views: 3,007 What is "cat" and where does it come from? |
Forum: C Oct 22nd, 2005 |
| Replies: 0 Views: 1,930 Powers of 2 are closly linked to the position values of binary numbers. The most right position is 2 to the power 0 = 1 then goes to the left with 2 to the power 1 = 2, 2 to the power 2 = 4 and... |
Forum: C Oct 17th, 2005 |
| Replies: 7 Views: 1,981 When I learned C in school our instructor insisted on fflushing after every scanf(), sort of a bathroom thing (student humor). He was a typical puplic school teacher, not very bright. Maybe this... |
Forum: C Sep 25th, 2005 |
| Replies: 12 Views: 6,299 Is it the processor, the operating system or the compiler?
Old Albert is wrong, human stupidity is rather limited. Infinity is much too perfect! |
Forum: C Aug 30th, 2005 |
| Replies: 10 Views: 6,711 Donate it to your church and use it like a in your tax deductions. |