Search:

Type: Posts; User: takamineg240

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    870

    c++ gl question

    Quick question.

    Is there a way to pass an int in c++ into a openGL function that is looking for a GLint??

    example I am trying to pass an int to


    glVertex4iv(faces.at(faceLoop));

    Where...
  2. Replies
    10
    Views
    2,201

    OK, I fixed the %d thing. I just wasn't paying...

    OK, I fixed the %d thing. I just wasn't paying attention there, I had copied that from another program.

    Since I have not used C++ in a few years, and then only a bit, I am unsure of how I need to...
  3. Replies
    10
    Views
    2,201

    cout

    cout << chrString; yeilds -10 30 0



    struct vertex //Defines a linked list node to hold a vertex
    {
    int xCoord,
    yCoord,
    zCoord;
    vertex *next;
  4. Replies
    10
    Views
    2,201

    What happens is the program runs until it hits...

    What happens is the program runs until it hits this line, then stops running. Windows throws an error, and then the console window stops responding. I've put ouput lines directly after this one, and...
  5. Replies
    10
    Views
    2,201

    Caught that just after posting it. Edited in...

    Caught that just after posting it. Edited in original post. It didn't fix the problem.
  6. Replies
    10
    Views
    2,201

    sscanf causing problems

    Hello,
    I am trying to use sscanf in a program. It compiles fine, but it is causing the run to hang up everytime.
    This is the code that does it. If I comment it out, the program runs fine without...
  7. Replies
    7
    Views
    1,536

    Thanks guys. My code is working well now.

    Thanks guys.
    My code is working well now.
  8. Replies
    7
    Views
    1,536

    Thanks man, I actually just got this to work by...

    Thanks man,
    I actually just got this to work by putting an


    if(fileBuffer.empty()) //Checks for empty line
    continue;
  9. Replies
    7
    Views
    1,536

    Thanks for the quick reply, twomers. I'm not...

    Thanks for the quick reply, twomers.

    I'm not sure that will fix my problem though.
    The difficulty I'm having is that getline(fs, sv) is throwing some sort of exception that is causing execution...
  10. Replies
    7
    Views
    1,536

    getline() help

    I am having problems with a program I am trying to write. I am using the getline() method to read lines of a file. It functions correctly until a blank line is encountered. Then it stops executing....
Results 1 to 10 of 10