Forum: C May 8th, 2007 |
| Replies: 2 Views: 1,130 Hey all:
I've been trying to figure out how I would go about doing the following task.
Basically, I have a folder with about 20,000 notepad files. My goal is to have one big word document,... |
Forum: C Apr 20th, 2007 |
| Replies: 16 Views: 5,146 Ah yes i forgot about c++'s file IO stuff. I'm so used to using C's which is a pain :) Thx AD |
Forum: C Apr 19th, 2007 |
| Replies: 16 Views: 5,146 Basically just wrote the following by looking at the MSDN. Not sure if it's what you need but it creates a file in the directory of the project called "Test.txt", and writes the char* to it which is... |
Forum: C Apr 18th, 2007 |
| Replies: 5 Views: 12,011 make a new post and don't hijack another person's thread... read the forum rules. also before you post that question, you need to make an attempt at completing it first. |
Forum: C Apr 11th, 2007 |
| Replies: 1 Views: 1,709 Don't know what compiler you're using, that's quite a horrible error... but the real problem with that function is it's returning an array of 100 chars, when the function is only set up to return a... |
Forum: C Apr 9th, 2007 |
| Replies: 3 Views: 1,023 By the way,
if (Item == listPtr->item)
{
return true;
listPtr = listPtr->next;
} |
Forum: C Apr 6th, 2007 |
| Replies: 16 Views: 4,161 Use a while loop around the game code, and keep looping through it until the game is over. This essentially will allow you to "go back" to the beginning of the main funciton, only where you need it... |
Forum: C Apr 3rd, 2007 |
| Replies: 11 Views: 5,184 Here's a simply way to do it with a while loop. Just add more cases if you need to add another line of numbers.
bool Done = false;
while(!Done)
{
cout << i++ << ' ';
if(i == 8) |