Your not allocating space for your pointer...your just decalring a pointer. Either use new to create some space or don't use a pointer.
Type: Posts; User: dynamic_cast
Your not allocating space for your pointer...your just decalring a pointer. Either use new to create some space or don't use a pointer.
"No matter how small (or how crap the hardware) apple have dug themeselves a niche."
Thats true...though mabye they would have gotton a niche anyway. Who knows...I'm just saying it's why it can't...
I've never been one for those emulators. I like speed, and architecture emulation makes my kickass computer that much worse...I'm crazy like that, won't even use object bar or any of that crap.
...
I think travis has a point in a lot of cases...of course not all..but a lot. Kids who can get into the social scene, even if they are pretty smart, tend to be social instead of learning. The kid...
Huge difference? Nah. Both computers...both turring(sp?) complete...if it can be programmed on one, it can be on the other. PC has more support, more software...artists generally seem to prefer...
When you delete a node with two children you have two good options:
1. replace the node with the smallest node in it's right subtree
2. replace the node with the largest node in it's left...
Well...they don't really run like crap. All of their "advanced" features allow them to match a pc at like half the MHZ (thats just a random figure, but you get the idea). The problem is in their...
nope, min of 640x480...sometimes at 800x600 but it wasn't as smooth. Todays processors would easily rock half life with no 3d card. It wouldn't be as pretty, but it certainly works, and I can't be...
I used to run halflife on a 300mhz laptop with no 3d card and a ****ty video system. 48 meg of ram. Never noticed any slow down.
pg13ified
Or don't be so suspicious. It could be either way. Seems pretty harsh to judge him before you know. Seems to me it's just as likley the kid is excited he spotted the error before the rest of the...
Ive always read that OpenGL uses a right handed system...which would be positive out of the screen.
There are a few measures you can take to ensure that only one instance of a class can be created...one way is reference counting...
>>Google returns about 114,000 matches for "objective c" and about 7,690,000 matches for "C++".
Thank you. That's what I wanted to see, real proof instead of "I don't know much about Objective-C so...
Vasanth, your posts have been making me grin for well over a year now. I'm very curious about your age though. Mind sharing?
Objective C does to C basically what C++ does. It addes ADT, or objects, or classes...whichever way you prefer to say it. It does so in a different way though...whereas C++ is geared toward static...
i'd just go with 8. I think doing 2d in 8 is easier than 7.
Yes, it's getters and setters. You should use them instead of a friend function because people are anal and will ***** at you if you use friend functions...seriously, friend functions violate...
You can use accessor functions so that you don't need to make it a friend.
You can make them members.
But you'd have to use the syntax 'class >> cout'
which is fine except it's not the same as how built in types work, which is confusing.
And no...you don't have to make...
Yeah sure. Ummm...the two off the top of my head are operator+ and operator<< and >>.
Both can be implemented as member functions. But it's better to implement opertaor+ as a toplevel function so...
Bjarne Sroustrup created C++...which has nothing to do with the use of the terms binding or linking. They are not under c++ or any language. Yes, linking is a word used for something much different...
I dunno man. From the reading I've done "binding" and "linking" are often used interchangably. I don't think he made a mistake. It would mean many many other highly respected programmers make that...
Thats still wrong. There are many cases when you can but shouldn't.
You can get that same functionality by using one == function and some form of implicit or explicit conversion too. Also, you can avoid making the function a friend by using an accessor function.