Forum: C Mar 6th, 2006 |
| Replies: 6 Views: 1,717 http://www.cplusplus.com/ref/cstdio/printf.html |
Forum: C++ Mar 6th, 2006 |
| Replies: 39 Views: 16,120 That's what my boss says :)
Still, spending the last five years writing low-level C code has given me a strong affinity for the language. K&R were right - C is a small language, and is best... |
Forum: C++ Mar 6th, 2006 |
| Replies: 39 Views: 16,120 Narue, I am amazed at the depth and breadth of your C/C++ knowledge. You truly make this board worth reading.
On a different note, I think I need to break the rust off my C++ skills. Your code... |
Forum: C++ Mar 1st, 2006 |
| Replies: 3 Views: 976 What's with the bizzarre capitalization in your message strings? Trying to read them is making my head hurt. :rolleyes: |
Forum: C++ Mar 1st, 2006 |
| Replies: 2 Views: 1,071 It may be valid, but I am starting to see some modern compilers complain about it. |
Forum: C++ Mar 1st, 2006 |
| Replies: 2 Views: 1,032 Tell you what, why don't you show what you've done already, and where you are stuck, and maybe we can help you. |
Forum: C Feb 24th, 2006 |
| Replies: 2 Views: 1,801 I came up with three three-character words:
...
-..
--.
I don't see how to create the fourth one. |
Forum: C++ Feb 24th, 2006 |
| Replies: 5 Views: 3,058 Suggestion - create an array of pointers, and as you read in each word, use strdup() to put it on the heap, and save the new pointer in an array somewhere. This way when you get your pseudo-random... |
Forum: Pay-Per-Click Advertising Feb 22nd, 2006 |
| Replies: 3 Views: 5,098 If you you search for "xenu" on Google, you'll get the same result about a DMCA takedown notice (Blame those nutty scientologists). This is Google's way of following the letter of the law, and not... |
Forum: C++ Feb 21st, 2006 |
| Replies: 6 Views: 2,207 Procrastinated until the bitter end, eh? :) |
Forum: C++ Feb 21st, 2006 |
| Replies: 7 Views: 2,298 I don't know what you're planning on using those variables at the bottom of your program, but most likely you won't need them.
What you need to do next is to create the body of convertMeters(). ... |
Forum: C Feb 21st, 2006 |
| Replies: 3 Views: 4,833 That wasn't clear? What Naru is saying is that there is no way in standard ANSI C to do what you are asking. However, there are extensions to the standard that allow for exactly what you want.
... |
Forum: C++ Feb 21st, 2006 |
| Replies: 13 Views: 7,493 If you are on a POSIX compliant system (Linux, UNIX, et al.) you can use stat() to get all sorts of interesting information about a file. Note that this is not part of the ANSI C standard, and as... |
Forum: C++ Feb 21st, 2006 |
| Replies: 7 Views: 2,298 One method of attack for this problem would be to create separate functions for each conversion. You could have a function like this:
void printMetersAsFeet(int meters);
It would perform... |
Forum: C++ Feb 21st, 2006 |
| Replies: 7 Views: 2,298 What exactly is the problem with your program? What parts do you not understand or are having trouble with? |