Yeah I figured that last part out myself. Thanks for the code, that worked.
Type: Posts; User: Vegettų
Yeah I figured that last part out myself. Thanks for the code, that worked.
I've never used that method, I always do this and it works:
In your printf() or cprintf() or whatever you are using:
printf("blah blah %f.2 blah blah", size_list->Strings[a]);
Where 2...
I've written a paint program in DOS using the line() function from graphics.h to trace and draw the mouse movements to the screen when the mouse is clicked, as is standard in any paint program. In...
Agreed.
Illustration:
You are here:
-x--------------------------------------------------------------------------...
You are trying to program here:...
It depends on how you wrote your names to your output file.
If you did it the easy way, you would do the following:
//...
int x = 0; //Used to navigate through the array.
int n = 10; ...
Anyone know of any good ASM language tutorials? I'm interested in learning asm, because I have been using it from example code but have no idea what any of it is doing or what it means.
I know with APstrings you can add characters to the end of the string like:
//...
apstring temp;
temp = temp + ' at the end';
//...
But I dont know of a way to remove characters from the...
Oops, I didn't answer your second question.
You would need to create a loop that searched the entire file until it found it. You would need an if statement something like the following:
//......
The easiest way is when you creat your outfile, just have the number printed on the line directly above the name.
Ex:
//...
ofstream outfile;
outfile.open("textfile.txt");
outfile << "200" <<...
I changed only a few things, the program seems to work, except it only displays the total hours (you have yet to code the rest).
I attatched the code in a .cpp document so you dont have to copy...
I'm not writing a specific program using this at the moment, but I'm just trying to build up my knowledge database before jumping into game programming and such. My question is:
How would I input...