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:...
Type: Posts; User: Crossbow
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:...
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.
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...
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...
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
...
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...
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:
...
Here is a 3d vertex struct I use:
struct CVector3
{
public:
// A default constructor
CVector3() {}
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,...
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.
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...
I think the mouse message returns the coordinates of the mouse in the lparam and wparam. Not sure exactly.
to manually make the console fullscreen, just press alt+enter or shift+enter, something like that.
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...
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...
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.
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...
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:...
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.
You're saying Standard version does no code optimizations at all? That's kinda cheap if so, for the price of it.
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...
When I go to the optimization setting in VC++ 6 it is all grayed out. how do I set the optomizer settings? Thanks?
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
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!
...
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...