Search:

Type: Posts; User: Crossbow

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    886

    Random Resource Error

    Is it me, or are some errors just spontanious? I was going along fine, until after editing a resource file, this seemingly random error pops up:

    cpp: stdout: Broken pipe
    C:\DEV-C_~1\BIN\windres:...
  2. Replies
    7
    Views
    1,544

    Thanks everybody, I got it to load correctly now,...

    Thanks everybody, I got it to load correctly now, I guess the fgetpos( was doing something screwy, but I really have no idea. Anyway, thanks again.
  3. Replies
    7
    Views
    1,544

    File Opening Throws a Illegal Op.

    Hello,
    I haven't programmed in a while and I am trying to make a simple flashcard type program to drill myself on a foreign language.

    However for the open file function, to open the...
  4. Replies
    8
    Views
    3,548

    Classes and Sturcts are probably the most useful...

    Classes and Sturcts are probably the most useful and practical thing in C++ and C. You want a challenge? Just try making an RPG or something with lots of information, and classes will will be a big...
  5. Replies
    2
    Views
    983

    I think your decalaration is right, but ...

    I think your decalaration is right, but
    CODE]char letter = *names[1][/CODE]
    makes no sense. You haven't specified what char you want to give letter. If you want to do the M in Mark, then do
    ...
  6. Replies
    5
    Views
    1,572

    No offense, but now how are we going to be able...

    No offense, but now how are we going to be able to tell what the problem is without any source code. Looking at it though I would say it runs fine holding it down and repetive pressing. I would...
  7. I assume since you are using scanf, you mean in a...

    I assume since you are using scanf, you mean in a dos program. You have to use windows.h, but you can test to see if this function returns true, and if it does the key is pressed. It is:
    ...
  8. Replies
    2
    Views
    1,169

    Here is a 3d vertex struct I use: struct...

    Here is a 3d vertex struct I use:


    struct CVector3
    {
    public:

    // A default constructor
    CVector3() {}
  9. Replies
    1
    Views
    925

    quick RAM allocation question

    Hi,
    I was wondering something. Is the memory of the variables in a function freed after the function returns? Not static or pointer variables, just something like int number;. I assume it is,...
  10. Replies
    18
    Views
    2,051

    I is impossible to tell you what to do unless you...

    I is impossible to tell you what to do unless you provide some info on the program you sent her. What dll is it she's missing? She may have an older version of windows or something.
  11. Thread: Breaks

    by Crossbow
    Replies
    6
    Views
    1,483

    What exactly do you mean by breaks? If you mean...

    What exactly do you mean by breaks? If you mean line breaks, its easy; just do:
    cout << message << "\n" << message2;

    this would display like:
    message
    message2

    Its that simple.

    If you're...
  12. Replies
    9
    Views
    2,437

    I think the mouse message returns the coordinates...

    I think the mouse message returns the coordinates of the mouse in the lparam and wparam. Not sure exactly.
  13. Replies
    4
    Views
    1,613

    to manually make the console fullscreen, just...

    to manually make the console fullscreen, just press alt+enter or shift+enter, something like that.
  14. Replies
    2
    Views
    938

    1) I don't know what that is about 2)list[6]...

    1) I don't know what that is about
    2)list[6] must be an array because it has the element number inside the brackets. jump(4) is most likely a function call because it is passing a variable.
    3)you...
  15. Replies
    4
    Views
    970

    You will probably kick yourself when you see what...

    You will probably kick yourself when you see what you overlooked:


    for(int v = 0; v < M.numrows(); i++)

    shouldn't the i++ be v++?

    Also I don't know if it is your intent, but shouldn't the...
  16. Replies
    8
    Views
    1,346

    ACtually, you just have to include extern before...

    ACtually, you just have to include extern before the variable in the header. Then, just define the variable in one of the modules its included in.
  17. Thread: VC++ settings

    by Crossbow
    Replies
    4
    Views
    1,453

    I don't know exactly what that means, but...

    I don't know exactly what that means, but sometimes I get something like that if you include the same header file in two files you are linking. Try only including the iostream.h in a header file and...
  18. Replies
    4
    Views
    1,136

    Making the key check the answers is easy,...

    Making the key check the answers is easy, provided you have inputed the key into RAM from a file or manually in the program. Just use comparisons on the students answers and the key's answers:...
  19. Replies
    11
    Views
    1,549

    Well, I guess for optimizations I can just port...

    Well, I guess for optimizations I can just port it to mingw and use the dev-C++ compiler. It isn't too hard to port it. I can still code in VC++, though.
  20. Replies
    11
    Views
    1,549

    You're saying Standard version does no code...

    You're saying Standard version does no code optimizations at all? That's kinda cheap if so, for the price of it.
  21. Replies
    11
    Views
    1,549

    Under the Win32 Release setting mode under the...

    Under the Win32 Release setting mode under the optimizations catigory it says maximum speed, but it is grayed out along with the check boxes below it. Do you happen to know how to make that not...
  22. Replies
    11
    Views
    1,549

    how do you enable optimizations in VC++ 6

    When I go to the optimization setting in VC++ 6 it is all grayed out. how do I set the optomizer settings? Thanks?
  23. Replies
    4
    Views
    2,113

    Yes, 0 pitch and yaw is pointing towards the +z...

    Yes, 0 pitch and yaw is pointing towards the +z axis(into the screen). I will try taking away the +90 thing when I get to my home computer. Thanks for the optomizations, too
  24. Replies
    4
    Views
    2,113

    Moving a 3d object

    Here is the code for moving an object through 3D space in my program. Whats wrong with it is that it moves, but not in the right direction. Could anybody tell me what part of this is wrong? Thanks!
    ...
  25. Replies
    2
    Views
    1,606

    3D Math translations

    Hi, I am really stuck on 3D math, and I am making a flight sim game in OpenGL, and I realized I don't know how to code the movement of the plane. For instance: when i turn the plane upwards how...
Results 1 to 25 of 163
Page 1 of 7 1 2 3 4