Search:

Type: Posts; User: Ranorith

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,650

    Graphics Library

    Planning to make a game(very basic game) using C++, will probably fail miserably but before i can i need a library which can be used to manipulate graphics. Also, would like it to be dos based....
  2. I know it's ASCII value because i specified it...

    I know it's ASCII value because i specified it when putting it in Notepad (ie, i created that file using the same program, and specified the ASCII value)
    I have also confirmed that it is the...
  3. hmm, probably does have to do with being a form...

    hmm, probably does have to do with being a form feed character. You can "cout" those characters though, try it, many fun characters :D. Though it is probably that which is why C++ is ignoring it when...
  4. I did the check thing (and even added an else...

    I did the check thing (and even added an else statement to be sure), and it definetly is loading correctly. Also, I don't think it has to do with the how i outputted to the file - I've opened the...
  5. tempstring is a character array : char...

    tempstring is a character array :

    char tempstring[1000];

    dunno what other code u really need, but here is the whole load function:


    int load()
    {
    char tempstring[1000] = ""; //the data...
  6. hmmm, ill show u the relevant code: ifstream...

    hmmm, ill show u the relevant code:

    ifstream lmdb("dataen.sdt"); //load file
    cout << "Loading, please wait\n\n";
    //load the file into a string
    lmdb >> tempstring;
    cout << tempstring;
    ...
  7. ANOTHER File i/o problem (well just "i" really)

    Hello, another newb with another file i/o problem here.
    I can output ok, not that much of a problem. The only thing is that one of those characters I output to file happens to be an odd one (ASCII...
Results 1 to 7 of 7