The below scenarios are simplifications of some stuff I'm doing with template classes, and I have some questions.
Scenario 1:
class BaseData
{
};
Type: Posts; User: WebSnozz
The below scenarios are simplifications of some stuff I'm doing with template classes, and I have some questions.
Scenario 1:
class BaseData
{
};
Good point. C++ is also NOT a member of C. It is not a subset of C, nor is C a subset of C++. They are very different, but similar in syntax. C++ has a 'C' in it's name because it is intended to...
This was one of the coolest contest ideas I've seen on this board. I wish I hadn't missed it, because I was taking an AI class this summer.
Maybe next contest should be playing the "dot game." ...
The problem is that when I overload Push in useList, the compiler still tries to generate code using the Push from the Ordered namespace, but gives me errors because my List iterators don't have a -...
Thanks, I'll try that.
Try a search on google for "tree traversal" frequency "discrete math"
One way you could use the strcture described and start at the root of the tree.
I would add a function called
addWord(const...
Anyone know what the include file and function for this would be in unix using g++?
I want it to interpret and print to screen 'À' as a box character.
I see conio.h used for this and text...
The boot.ini file configures the screen where you have options to select different bootable partitions to start from.
You are correct. Thank you. However I'm asking about the boot.ini...
What is the syntax to add an option to boot from a CD drive with a bootable cd-rom in it?
Thanks Speedy5.
What I meant when I said it doesn't work with variablesis that the case statements can't contain variables, they have to be constants. The only reason I see that it must be a...
I thought that since the switch case doesn't work with variables, then it's not checking each and every variable to see does (switchVariable == case), but instead is using maybe some sort of boolean...
Does a switch case any sort of optimization(in VC++ 6) to make it faster than if else, or is it just easier to code?
Ok, there's been about 5 post since I started writing my post, lol, got a little off of what I thought he was asking about, oh well.
If you are wanting to basically queue up a bunch of functions to be processed then you can use funciton pointers and an array and iterate through the array. Function pointer arrays are also useful...
I am not trying to tell you to bug off, but for your own benefit it would be better if you found a msg board devoted to unreal developement. I imagine there is probably one somewhere, and even if it...
Well, for a noobish example you could make a Triangle class.
You'd have many things to consider.
Have 3 private data members contain the coordinates of each point. It would also be wise to make...
Cool, thanks.
for(int i = 0; i<=5; i++)
{
lev[i].level = lev1;//removed the &
}
What people hate more is when someone post a question that could have been found by searching the board. Which I did, but I did not understand the solution, so I could have just started from square...
If you get familiar with win api from that site he linked ... The mouse button information is included in one of the paramaters passed to the callback function.
Something I did when learning win32...
I thought I'd work off the thread I found, but Fordy locked the post whenever I tried to get some clarification on the resolution.
It seemed logical to keep related info in the same post so that...
Can someone tell me is that
String * fred2 = "Hello World";
declaring a STL string? The kind you get from
#include <string>
I understand commenting but didn't think yall would appreciate me posting the hundred or so lines of code that were in the project that I had already commented out.
Line 11 is there. It's the...
I don't think you could do a whole lot with that being a relatively small project. Perhaps if there was a completely different algorithm you used might make it smaller. I personally think you...