Search:

Type: Posts; User: Vegettų

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    6,082

    Yeah I figured that last part out myself. Thanks...

    Yeah I figured that last part out myself. Thanks for the code, that worked.
  2. Thread: FormatFloat()

    by Vegettų
    Replies
    1
    Views
    1,781

    Perhaps...

    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...
  3. Replies
    0
    Views
    3,088

    Problems with setlinestyle().

    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...
  4. Agreed. Illustration: You are here: ...

    Agreed.
    Illustration:

    You are here:
    -x--------------------------------------------------------------------------...
    You are trying to program here:...
  5. Replies
    4
    Views
    862

    It depends on how you wrote your names to your...

    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; ...
  6. Thread: ASM Tutorials

    by Vegettų
    Replies
    10
    Views
    3,208

    ASM Tutorials

    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.
  7. Replies
    2
    Views
    1,384

    I know with APstrings you can add characters to...

    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...
  8. Replies
    3
    Views
    1,048

    Oops, I didn't answer your second question. ...

    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:

    //......
  9. Replies
    3
    Views
    1,048

    The easiest way is when you creat your outfile,...

    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" <<...
  10. Replies
    2
    Views
    1,389

    I changed only a few things, the program seems to...

    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...
  11. Replies
    3
    Views
    6,082

    Input a string in graphics mode?

    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...
Results 1 to 11 of 11