|
Some recent topics started on our forums |
Counting algorithm
|
I need help devising a counting algorithm using the following rules:
I have a string where each character comes lexicographically after the last, ie if the first letter is 'a', then the next letter MUST be between 'b' and 'z'.
So some valid wor... |
Posted November 15, 2009 7:07:21 PM
|
Problem with basic DirectX app
|
Trying a piece of code from the book, "Ultimate Game Programming With DirectX"
Language: C++
Compiler: MinGW
IDE: Eclipse
Problem: I'm getting the error, "undefined reference to `Direct3DCreate9@4'" on the line that uses Direct3DCreate9(... |
Posted April 23, 2009 5:39:36 PM
|
Array of enumerations
|
I'm not sure how to create an array of enumerations. I've tried using a vector of enumerations instead, but the push_back function doesn't seem to work with them. |
Posted March 15, 2005 10:37:30 PM
|
Implementing base AI
|
I'm working on my first project to aid me in development of programming skills. It's going to be a 2D simulation. What I need to know is how do implement very basic AI algorithms, such as movement, eating, hunting, etc, in such a manner that '... |
Posted March 19, 2005 1:14:30 AM
|
Text fields using C++
|
Hello again gentlemen, patrons, and developers. I have yet another problem to share with you. I've successfully implemented saving and loading in my program, and now I want to allow files to be loaded and saved using more than one file name.... |
Posted March 14, 2005 8:46:38 PM
|
Saving an object to a file
|
Now that my map editor is almost complete, I'm trying to save an object containing all the information about my map.
My object is: Map currentMap("default.csm", 50, 50, 37);
And the Map class is as follows:
using namespace std;
class Map... |
Posted March 13, 2005 8:14:06 PM
|
Trying to create a multidimensional vector of objects
|
Hello everyone. I'm currently having an issue with a program I'm trying to write. Originally, I wanted to create a multidimensional array of integers on the free store for a 2d map of mine.
What I want to do now is replace that array of int... |
Posted March 11, 2005 3:11:39 PM
|
Key combination events in SDL
|
I'm planning on implementing undo and redo functions in my program, and I need to use the key combinations ctrl+z and ctrl+y, respectively.
How do I check events for key combinations in SDL?
Edit: To clarify, I'm using SDL_PollEvent to cap... |
Posted March 5, 2005 1:02:36 PM
|
Multidimensional vectors
|
Can they be done? What I need is basically a multidimensional array that doesn't need to be defined with constants.
Just as well, I could also create a multidimensional array on the free store, but I don't know how to do that either. My syn... |
Posted February 25, 2005 2:36:16 PM
|
SDL Surfaces
|
I just posted a question, which I now need to reword. As such, the original post is deleted.
I want to create a temporary SDL_Surface that is larger than the viewable window. When I manually set the width and height of the surface, like so:
S... |
Posted February 21, 2005 7:20:04 PM
|
View All Topics Started By This User
|
|
Some recent replies made on our forums |
Counting algorithm
|
I've been working on this for a long time. I haven't learned combinatorial mathematics yet, so I have tried to solve this using recursion. This is what I have so far. It doesn't work at all, but will show how I am thinking about the problem:
... |
Posted November 15, 2009 9:58:34 PM
|
Counting algorithm
|
Yeah sorry, I meant implementation. Does it have a name? |
Posted November 15, 2009 8:17:27 PM
|
Problem with basic DirectX app
|
I have resolved the issue by using Visual Studio instead of Eclipse. |
Posted April 23, 2009 8:38:16 PM
|
Problem with basic DirectX app
|
No |
Posted April 23, 2009 7:49:02 PM
|
Problem with basic DirectX app
|
Damn; I fixed that, but the problem still exists (same error / two warnings) |
Posted April 23, 2009 6:52:32 PM
|
Array of enumerations
|
Thanks guys, but I've found the solution myself. Sorry I haven't responded; I went to bed, and had to work today. |
Posted March 16, 2005 6:37:59 PM
|
Text fields using C++
|
Does the win32 API need any sort of library implementation equivilant to SDL, or is it out-of-the-box with Visual Studio 6? |
Posted March 14, 2005 9:12:05 PM
|
Text fields using C++
|
Quote:Original post by game mercenary
2 questions
1. how long have you been programming
2. can you use plain english?
assuming you have just finished fstream.h, you have a ways ahead of you before you will be on graphics.
I'm not sure... |
Posted March 14, 2005 8:59:13 PM
|
Saving an object to a file
|
Thank you everyone for your help, especially Fruny. |
Posted March 13, 2005 9:47:22 PM
|
Trying to create a multidimensional vector of objects
|
Quote:Original post by silvermace
*** Source Snippet Removed ***should be something like that, if it still doesn't work, could you post the relevant parts of your implementation source?
cheers
-danu
You are three ounces of sex. |
Posted March 11, 2005 10:26:48 PM
|
View All Replies Made By This User
|