You're the only one looking for attention here. Get over yourself. They're completely unrelated, unaffiliated forums on different domains.
Type: Posts; User: medievalelks
You're the only one looking for attention here. Get over yourself. They're completely unrelated, unaffiliated forums on different domains.
Why don't you care about portability? You see no advantage in exploiting the iPod Touch/iPhone/iPad market?
You need some interface to the graphics, which is what DirectX and OpenGL (and at a higher level, Ogre3D and Irrlicht) are. "Pure C++" has no support for graphics.
Or with much lower rates.
A professional C++ software developer who doesn't know what compiling and linking is wouldn't be on my team for long.
As I've said before, there are far, far too many programmers in industry...
I prefer the cleaner design over a perceived performance gain.
Why not just use polymorphism?
(Uncompiled code follows)
class Viewable {
public:
virtual void viewData() = 0;
};
What do you have to configure in a compiler to compile a toy first program? "g++ main.cpp" gets the job done. Pushing buttons in an IDE abstracts the programmer from what is happening, and I've...
Compiling on the command line most certainly avoids problems with IDE configurations,and the need to learn an IDE before you really need one (if you ever really do).
Actually, I think it was answered (need to configure the compiler in CB). And I don't really think I derailed the thread, I merely offered an alternative way to learn programming that would avoid...
Couldn't disagree more. Why present a newbie with a dizzying array of buttons, menus, panes, etc. when you can teach them the basics of compiling with something as simple as "g++ main.cpp"? In...
What do you mean you added them to the project tolder? Just copied them? Are you telling the compiler where to find headers and libraries and to link with the libraries?
Ugh. For such a simple example, why bother with an IDE at all? Learn how to run the compiler on the command line and/or use a makefile. You can use an IDE when you start building more complex...
There was an article years ago that classified the various kinds of leaks one could have in a Java program. I regularly supplied it to Java newbies who proudly proclaimed that Java had "eliminated"...
Constructor Initialization List
Agreed, I was just addressing the memory mgmt concern.
If you use shared_ptr, they don't have to delete them.
The tool that is C++ comes with a wonderful, free, downloadable manual. It's always a good idea to work with one of the latter when trying to learn the former.
OK, things haven't been as rosey as of late. I've been installing all recommended updates, and things would stop working, like printing, for instance. Remove, re-install printer, things back...
It's not a problem if that's what you want. You may want a sub-interface that also cannot be instantiated.
class Bird {
public:
virtual ~Bird() {}
virtual void sing() = 0;
...
Sure it's possible. You might want an abstract subclass to provide a partial default implementation. Even if you don't provide a default impl, you may want to extend the interface.
...
Is there a compelling reason to not use string or vector<char>?
Game Industry Salary Survey for 2007
The average salary for a game programmer across all levels of experience has been more than $80,000 for two years in a row. Across all job titles (such as...
You don't link to header files, you link to object files and libraries. I'm guessing your Debug configuration doesn't specify the same libraries as the Release configuration.
In general, classes should model behavior, structs should model data. Unfortunately, we see a lot of beginners who think classes are simply promoted structs with the appropriate getters and...