Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #2K
~25.3K People Reached
Favorite Tags

17 Posted Topics

Member Avatar for pato wlmc

[QUOTE=Sodabread;1234540]For starters, gamedev.net is one of the best game development sites on the net. Lots of good tutorials and help there.[/QUOTE] Second this. Gamedev.net has [I]tons[/I] of information on every aspect of game development. A quick forum search turns up [URL="http://www.gamedev.net/community/forums/topic.asp?topic_id=532961&whichpage=1&"]this[/URL].

Member Avatar for Reverend Jim
0
10K
Member Avatar for Covinus
Member Avatar for Tuyen
0
5K
Member Avatar for GameGuy

[QUOTE=GameGuy;1212511]Please, just tell me what a game engine is! Sorry for my rudeness, GameGuy[/QUOTE] Take a game and strip out everything that makes it a [I]particular[/I] game. What's left is that game's engine.

Member Avatar for 0x69
0
211
Member Avatar for LevyDee

They're useful when you want to treat a bunch of differently-typed but related objects as if they were all the same in some specific respect. For example, pretend you have two classes derived from a base class: [CODE] class Animal { public: virtual void Eat() = 0; // Pure virtual …

Member Avatar for AkashL
0
110
Member Avatar for BLKelsey

You have [ICODE]wage[/ICODE] declared in main, and [ICODE]hrlywage[/ICODE] declared as a member of [ICODE]EmployeeSalary[/ICODE]. You then try to use [ICODE]wage[/ICODE] in member functions defined for [ICODE]EmployeeSalary[/ICODE]. But [ICODE]wage[/ICODE] isn't visible inside these member functions, because it's not global to the project. Also, I think you're just getting your variables mixed …

Member Avatar for Agni
0
4K
Member Avatar for Kesarion

Are you talking about making a window for your program to run in? If so, look into Win32 and Direct3D (for Windows applications). Note that, if this is indeed what you're trying to do, "drawing" to a window with Direct3D is not all that simple. You could also look into …

Member Avatar for Kesarion
0
125
Member Avatar for Fernidad13

Ever think about the math required to position and orient an object in 3D space? If you're not familiar with terms like vector, matrix, and quaternion, look 'em up. Each one of them is used in 3D math. That's just one example.

Member Avatar for digital29
0
583
Member Avatar for abhi74k
Member Avatar for new2programming

It's really impossible to say without knowing the details of the level editor.

Member Avatar for Aranarth
0
94
Member Avatar for iamcreasy

The book which opened my eyes to what OOP code really looked like was [URL="http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612/ref=sr_1_1?ie=UTF8&s=books&qid=1275496485&sr=8-1-spell"]Design Patterns[/URL]. It's old, but it's a classic and still extremely relevant. Beyond that, the best way to get a feel for what works and doesn't work in an OOP context is to just write lots …

Member Avatar for avarionist
0
171
Member Avatar for leesho

Indenting FTW. It's be much easier to spot what was wrong here if you indented each level of scope. The problem, as Fbody says, is that you're trying to define your functions inside of main, which is not allowed.

Member Avatar for leesho
0
183
Member Avatar for dimios

That's a pretty good analysis. In general, you should always favor C++ containers over C ones if you have access to them. Also, a bit random, but one of the biggest false arguments in favor of native C arrays over C++ containers is that some collection of data [I]must[/I] be …

Member Avatar for NathanOliver
0
213
Member Avatar for waleed-707

The problem is that you're trying to initialize the vector in the header file. Keep it extern, but declare it in the header file like [ICODE]extern vector<Bugpt> Bugarr;[/ICODE]. Then, in a [I]source file[/I], define and initialize it like [ICODE]vector<Bugpt> Bugarr(6);[/ICODE] I think that should work.

Member Avatar for waleed-707
0
4K
Member Avatar for Ariste

Hey there, DaniWeb! I'm Matt, a student at the University of Michigan (Go Blue) majoring in business and computer science. My friends would tell you I'm obsessed with programming. They're lying... but not really. I post pretty regularly over at GameDev, under the same username, and I've recently started up …

Member Avatar for maceman
0
53
Member Avatar for leesho

Create an enum for the different types of components. Then create an array indexed from 0 to NUM_COMPONENTS - 1 for the price, quantity, and string name of each component. You'll access the components in the array by their enumerated value, like quantities[CAMERA]. Finally, loop over the enumerated values to …

Member Avatar for leesho
0
139
Member Avatar for gcardonav

The problem is that, when you initialize max, imageCount hasn't yet been assigned. Your compiler is probably defaulting it to zero (although this isn't guaranteed), which means max has size == 0. Then when you try to access it in your loop, you're accessing outside the bounds of the container, …

Member Avatar for gcardonav
0
139
Member Avatar for red999

[QUOTE=doronweiss;1236497]The problem is that the statement "both pointers array" is incorrect ! Appointment *appts[8]; is a pointers array WHILE Day * days; can be looked at as a POINTER TO AN ARRAY, array of actual Day objects, not pointers ![/QUOTE] As a side note, this is one of the reasons …

Member Avatar for Ariste
0
100

The End.