Search:
Type: Posts; User: wd40bomber7
Search:
Search took 0.01 seconds.
-
I think I'm going to be converting my whole program into the VS2008 Express environment.
If I do that, will it make my program require the latest .net framework? Because that is exactly what I'm...
-
June 29th, 2009, 10:21 PM
It's possible I'm using a bad psapi.lib, or maybe a bad psapi.dll? Assuming psapi.dll has anything to do with the process?
I don't suppose you could provide yours?
I have Microsoft Visual...
-
June 29th, 2009, 09:04 PM
This particular comment I find extremely wasteful. I know where my program is crashing, and if I knew how I'd know how to solve it. Then I wouldn't need this forum would I?
"Not good idea to know...
-
June 28th, 2009, 11:24 PM
This function always crashes at
if (!EnumProcesses( aProcesses, sizeof(aProcesses), &cbNeeded )) I know because the only print out I get is "1".
The code compiles. The proper includes and...
-
I find it very important to note
uFile.open(filePath, ios::in | ios::binary);
can not accept a string as its first parameter.
As for the rest of the code I am looking it over now. I'm glad your...
-
Ok then, thanks for that. Do you have any suggestions on how to facilitate dynamic arrays?
I don't have a g++ manual. I acquired it through minGW. Also I'm using a programming environment called...
-
I would do this using notepad to do the actual printing.
Open up a cmd prompt.
run your program like this:
myprogram.exe > d.txt
Then go to the file d.txt (should be wherever your program is)...
-
I suppose certain compilers may come with debug programs that support this functionality, but other than that this seems like it would relatively difficult to do in C++
-
Your main function should look like this:
int main(int argc, char *argv[])
{
}
argc represents the amount of arguements, argv is a dynamic array of pointers pointing to the arguments...
-
/sigh To change a file's extension just make sure file extensions are displayed and then rightclick->rename.
You don't need to open the command prompt nor do you need to write a script....
...
-
I would do this:
int IntToSend = 200; //put w/e int you want to send
char * charToSend;
charToSend = (char *)&IntToSend;
//The integer can now be referenced using charToSend[0] charToSend[1]...
-
The malfunctioning code snippet:
ifstream uFile;
struct stat results;
char filePath[fileName.size()];
chstr(fileName,*filePath);
uFile.open(filePath, ios::in | ios::binary);
|
Click Here to Expand Forum to Full Width
|