I think the difference between building and rebuilding your stuff is that rebuilding will clear some sorts of things that are no longer relevant from the project folder. Try doing that on each of...
Type: Posts; User: jsrig88
I think the difference between building and rebuilding your stuff is that rebuilding will clear some sorts of things that are no longer relevant from the project folder. Try doing that on each of...
For future reference, you might want to post your code for questions like this. That being said I think I can probably guess what your problem is.
If the same five randomly-selected cards keep...
They are double-null-terminated.
Take the following code:
SHFileOp.hwnd = NULL;
SHFileOp.wFunc = FO_COPY;
SHFileOp.pFrom = szDisFileLst;
SHFileOp.pTo = szFileLst;
SHFileOp.fFlags = FOF_SIMPLEPROGRESS | FOF_SILENT |...
An example, by the way, would be the following:
Hey, whenever I run this program, it freezes up and crashes. The whole program isn't very big, but this didn't start happening until I added this...
Tima92, basically you usually post the question on the thread itself when using a forum like this. You'll want to reply on this thread and copy and paste your code in the reply, surround it with...
Hi, I haven't read your code yet, but I have read the rest of the question. Basically you just want to research pointers. Then references, but mostly pointers. In newer languages, such as Java,...
Think of something inside of curly braces as like a smaller program. It's generally roughly referred to by names such as "block" and "scope" (roughly), but code inside a pair of curly braces is kind...
Thanks. I'm kind of surprised it wasn't a more minor, technical detail about overloading syntax or typecasting.
Hello. I'm trying to review operator overloading in C++, and I've run into a problem that involves both it and typecasting. This line of code is giving me issues:
Integer integer = "34";
...
Glad y'all corrected me on that. It would've been stupid for C++ to not have something like that.
Just took a look into a couple of things about the third point. In C++ you apparently cannot do something like:
new hell().hot();
It has to be:
It's not clear what point you're making or what question you're asking. If you're wanting a critique, keep the following in mind:
#1. Be very careful about using system(). It's very...
You're on the right track, but there are two problems at the moment:
#1: The functions getName() and getid() each need to return something. In this case it's Name and id, respectively. Since...
Those folders shouldn't get in your way at all. The Header/Resource/Source thing is one of probably two common ways to organize a C++ project. Header files end with ".h" and go into Headers folder....
Try putting together what you can first. Then look for problem areas inside your code and post questions specifically about those.
Can you isolate which function's messing it up?
I haven't heard of nested classes being available in C++, and my understanding until now is that they aren't; but even if they are, it's a very weird thing to do in that language and something that...
Try using strtok(). In more recent C-style languages, you'll usually have a String.split() function, which without doing anything to the original string, will return an array of strings that were...
You said your grasp of linked lists, binary trees, and recursion is a little weaker. You might try coming up with your own projects that center around creating different sorts of ADTs; in college...
There are several grammatical issues. One thing is that the second constructor should use
{} around its definition, just like any other function. Also you have to define the size of arrays at...
Remember that the old-school way of dealing with strings is to use char arrays, as in C. And underlying string types in modern languages, that's often still what's going on. In C++, there's a...
Well, technically, it'll probably give you a slightly different error if it's just the types that are wrong.
It looks like you're still new to programming, so here's a tip about error messages that talk about overloads with x number of arguments: Essentially you can have multiple functions defined in your...
Think about how to initialize a three-element array without using random numbers. Like if you wanted the array to be set equal to 1, 2, 3.