Search:

Type: Posts; User: Eric08

Search: Search took 0.01 seconds.

  1. Thread: hmm help-

    by Eric08
    Replies
    5
    Views
    1,347

    It works fine on Dev-C++ 4.01.

    It works fine on Dev-C++ 4.01.
  2. Replies
    13
    Views
    1,778

    I went through your buggy and messy code and...

    I went through your buggy and messy code and corrected it.
    I also noticed that the player classes looked similar to Hexen. If you are trying to do a remake, it was cleric not archer.

    Here is the...
  3. Replies
    10
    Views
    5,497

    You should try http://www.gametutorials.com/

    You should try http://www.gametutorials.com/
  4. Replies
    9
    Views
    2,578

    Dev-C++ cannot use interrupts, and I think...

    Dev-C++ cannot use interrupts, and I think getting into mode13h is impossible with Dev-C++ since this is not a Dos compiler.
  5. Replies
    9
    Views
    1,738

    This will not likely work, since many kinds of...

    This will not likely work, since many kinds of projects like this have tried and failed, working together should be face to face not on the internet. Not to mention different coding styles. There are...
  6. Replies
    6
    Views
    9,019

    API uses DLL's, so does DirectX and some other...

    API uses DLL's, so does DirectX and some other libraries.
  7. Replies
    3
    Views
    1,756

    Because they don't point to anything, meaning...

    Because they don't point to anything, meaning they could crash your program. Also read up on pointers, after you are done you should intialise them to NULL.
  8. Replies
    10
    Views
    1,493

    Why are you iterating through the string? You're...

    Why are you iterating through the string? You're not changing variables. As has been said before you don't need to do it that way, just do this cout<<string; and the whole string will be outputed to...
  9. Thread: String C /C++

    by Eric08
    Replies
    4
    Views
    1,444

    Actually I beg to differ, the string class is...

    Actually I beg to differ, the string class is much more flexible than an array. The method to use it is below.




    #include <iostream>
    #include <string>
    #include <stdlib.h>

    int main(void)
  10. Replies
    6
    Views
    1,797

    Another Suggestion SDL

    I found SDL also to be much easier than Direct X, after all it is a wrapper around OpenGL making coding games much easier. You should goto www.libsdl.org for more details.
  11. Replies
    1
    Views
    3,249

    If you're using a windows compiler simply use ...

    If you're using a windows compiler simply use

    SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), c);

    where c is the color.

    there are 16 possible colors for the foreground and other...
  12. Replies
    12
    Views
    1,686

    I think I have the answer but it maybe wrong,...

    I think I have the answer but it maybe wrong, your mathematical constant had to be e=1+1/1+!2/1+!3/1+!4 thats what I came up with, since I continued getting errors when I attempted your problem...
  13. Replies
    18
    Views
    2,122

    Syntax errors, you're missing the semicolon...

    Syntax errors, you're missing the semicolon somewhere.
  14. Replies
    10
    Views
    1,493

    Response

    Use cout<<" "; as has been said before.

    Example of <<endl;

    cout<<"this is a string."<<endl; //this creates a new line.

    Escape sequences are also allowed as shown.

    cout<<"\tthis is a...
  15. Replies
    9
    Views
    40,747

    \t horizontal tab, \n newline, \r carriage...

    \t horizontal tab, \n newline, \r carriage return, some other escape sequences. Escape sequences insert either ASCII characters or formatting characters.
  16. Replies
    4
    Views
    1,928

    Jan79 wasn't dynamically allocating memory. Jan...

    Jan79 wasn't dynamically allocating memory. Jan was using the string class.
  17. Replies
    11
    Views
    4,023

    Exceptions would prevent a blue screen yes. It...

    Exceptions would prevent a blue screen yes. It would have the option to continue running instead of getting a blue screen.
Results 1 to 17 of 17