Search:

Type: Posts; User: KoshiB

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    2,408

    What is an apmatrix?

    What is an apmatrix?
  2. Replies
    9
    Views
    2,408

    Err, What I want is for the 3/2 to give me one,...

    Err, What I want is for the 3/2 to give me one, as one is the middle in a 0,1,2 array. 5/2 gives me 2 which is what I need for a 0,1,2,3,4 array.
    It may be bad practice to do it like that, but it...
  3. Replies
    9
    Views
    2,408

    MSVC++ automatically round down, and I want the...

    MSVC++ automatically round down, and I want the value it gives as the starting position(due to arrays starting at 0).

    The error seems to be some sort of memory error, but i cant figure out where....
  4. Replies
    9
    Views
    2,408

    Windows crashing Magic Square

    Okay, heres the deal. I have a magic square program I made for calculating a 3x3 magic square. Code compiles fine, runs almost fine. It starts to get the right values. But then it stops, throws a...
  5. Replies
    4
    Views
    1,144

    Thanks but I figured it out on my own :-)

    Thanks but I figured it out on my own :-)
  6. Replies
    4
    Views
    1,144

    I found the following code: int **ptr;...

    I found the following code:


    int **ptr;
    ptr=new int *[y];//creates an array pointer
    for(int i=0; i<y; i++)
    {
    p[i]=new int [x];//creates space for each row
    }
  7. Replies
    4
    Views
    1,144

    pointers and arrays issue

    Okay, Im writing a program where I need a 2d array that I don't know the length and width of at compiletime. I know the length and width will be the same, I just dont know what they are. Pointers...
  8. Replies
    9
    Views
    3,689

    I wouldn't worry about the 3d math part yet....

    I wouldn't worry about the 3d math part yet. You're going to need to learn basic C or C++ programming before even THINKING about things like 3d math/programming.

    Start with the tutorials on this...
  9. Replies
    1
    Views
    1,523

    C++ OpenGL linking problems

    Okay. I'm trying to run the code found on this sites tutorials. It's the 'Your First OpenGL program'. However, in the comments it says i need to make the proper library links in the project settings....
  10. Replies
    2
    Views
    1,313

    Gah, stupid VC++. I normally open up the .cpp...

    Gah, stupid VC++. I normally open up the .cpp file, not the other project files it likes to create(cause i work a lot with notepad) and I think it defaults to opening it as a console app. Is there a...
  11. Replies
    2
    Views
    1,313

    Win Main link error

    Okay. Im try to make a very simple windows program from the intro to windows programming in the opengl section of tutorials on this site. This is the program:



    #include <windows.h>
    int...
  12. Perhaps he's trying to make a game hacking...

    Perhaps he's trying to make a game hacking program to change game variables?
  13. Replies
    2
    Views
    797

    Quick sockets question

    Okay. I've decided to begin learning (networking) sockets. My question is this. Im on windows xp. I use MSVC++ 6 compiler. I program for DOS right now. What sockets library do I use, and is it...
  14. Replies
    12
    Views
    2,640

    Someone it seems doesn't read. I don't do the...

    Someone it seems doesn't read. I don't do the work for others. I show them the door, help them understand things better when I can.

    I also do the assignments they get fully, for my own benefit....
  15. Replies
    12
    Views
    2,640

    I help a couple of Engineering students from...

    I help a couple of Engineering students from India who are required to take the course. They have trouble speaking english, so they have trouble understanding the teacher, and need a bit o' extra...
  16. Replies
    12
    Views
    2,640

    Ok. I have a start on the program based off of...

    Ok. I have a start on the program based off of the tutorial linked by MadCow257. However, when I compile, it gives me errors. Heres the code so far:



    // dynamic allocation and polymorphism...
  17. Replies
    12
    Views
    2,640

    C++ Midterm understanding

    Let me just state here that I am not looking for code. I am merely looking for help understanding the problem.

    Okay. I am the unofficial tutor of a couple of people. And today they got their...
  18. Replies
    9
    Views
    1,112

    Actually, the loop doesn't run an extra time with...

    Actually, the loop doesn't run an extra time with it. Otherwise, it would spit out an extra set of the cout's with blank information, like it did previous to my change, but it doesn't. It works fine...
  19. Replies
    9
    Views
    1,112

    I don't normally use goto's, and indeed, have...

    I don't normally use goto's, and indeed, have since removed them.

    Heres the program in current state:



    #include <fstream>
    #include <iostream>
    #include <conio.h>
  20. Replies
    9
    Views
    1,112

    Actually, i solved it my own way; Moved the...

    Actually, i solved it my own way; Moved the cout's into the loop, and changed while(file) to while(!file.eof())

    And, Im sorta learning c++, ive got most of the stuff down pretty well(pointers,...
  21. Replies
    9
    Views
    1,112

    Ok, I made a quick program to try to do that...it...

    Ok, I made a quick program to try to do that...it compiles and runs fine...but wont put out the information. What did I do wrong?



    #include <fstream>
    #include <iostream>
    #include <conio.h>
    ...
  22. Replies
    9
    Views
    1,112

    Bit of help with File I/O

    Okay guys. Hello again! I have yet another question about the login program i've been working on.

    I have the program working quite nicely. It uses a class to register students and has a data value...
  23. Replies
    4
    Views
    1,052

    Thanks for the replys. Shortly after I posted the...

    Thanks for the replys. Shortly after I posted the question, i realized the answer, lol.

    Now im getting a new error with a different part of the program *sigh*
  24. Replies
    4
    Views
    1,052

    Really weird int problem

    Okay, I have this program that im making that's a login program. It uses classes, functions and everything, but what's giving me problems right now is a simple integer in the int main() section.
    ...
  25. Replies
    2
    Views
    1,474

    Problem with constructor?

    Ok. Im making a login program mostly as practice with various c++ things, and when i tried to compile the code, it gave me one error I can't figure out. I use MSV C++ 6 for my compiler. This is the...
Results 1 to 25 of 26
Page 1 of 2 1 2