Search found 17 matches
- Sun May 22, 2005 2:38 pm
- Forum: Project Announcements
- Topic: New unique game idea
- Replies: 23
- Views: 5623
- Wed May 04, 2005 3:03 pm
- Forum: Beginners Help
- Topic: Problem with structs and functions
- Replies: 16
- Views: 1367
Thank you all for your help, I now have it working. I found a couple of problems in the source. The first was a problem with the way I was calling the Tribes[] array like was already pointed out, I changed a lot of that code and it now cycles through every member of the array. Then because of the ...
- Wed May 04, 2005 3:02 pm
- Forum: Beginners Help
- Topic: Problem with structs and functions
- Replies: 16
- Views: 1367
Thank you all for your help, I now have it working. I found a couple of problems in the source. The first was a problem with the way I was calling the Tribes[] array like was already pointed out, I changed a lot of that code and it now cycles through every member of the array. Then because of the ...
- Wed May 04, 2005 11:48 am
- Forum: Beginners Help
- Topic: Problem with structs and functions
- Replies: 16
- Views: 1367
- Wed May 04, 2005 5:17 am
- Forum: Beginners Help
- Topic: Problem with structs and functions
- Replies: 16
- Views: 1367
woot I made some progress. By passing input instead of a refrence to the tribes[] array it now generates and outputs the random number. The problem is that now it is the same number for every instance of the array. And it does change with every time I run the program, I just need it to come up with ...
- Wed May 04, 2005 5:05 am
- Forum: Beginners Help
- Topic: Problem with structs and functions
- Replies: 16
- Views: 1367
still a little confused
#include <cstdlib>
#include <iostream>
#include <stdlib.h>
#include <time.h>
using namespace std;
//structures
typedef struct
{
int Number;
int Members;
int Men;
int Age;
float Prob;
}Tribe;
//user-defined function declaration
int tribalAssignment(Tribe*, int c);
int menuFunction(int ...
- Tue May 03, 2005 4:10 pm
- Forum: Beginners Help
- Topic: Problem with structs and functions
- Replies: 16
- Views: 1367
Thank you
This was a truly helpful post, and I got all of those pointer issues figured out and my program compiles gallantly. However after a couple more hours of programming I hit a snag with random numbers. I am using the random function and have the correct header files. I think my problem is in the ...
- Mon May 02, 2005 4:37 pm
- Forum: Beginners Help
- Topic: Problem with structs and functions
- Replies: 16
- Views: 1367
- Mon May 02, 2005 6:25 am
- Forum: Beginners Help
- Topic: Problem with structs and functions
- Replies: 16
- Views: 1367
Problem with structs and functions
This is a pretty basic question I think, but since I am new to programming I feel little shame in asking it. Basically I am trying to use a structure with functions and no matter what I try I can't get them to declare properly. This code is pretty ugly and all, but if someone has an idea as to what ...
- Sun May 01, 2005 3:06 pm
- Forum: Project Announcements
- Topic: New unique game idea
- Replies: 23
- Views: 5623
We are actually already working on it. We have 3d artists already, and will soon have at least 2 more programmers as we already have one. The design docs are already half done and we are well into the planning stages. So I'll take that bet, and that dollar. And maybe instead of betting against us ...
- Tue Apr 26, 2005 10:09 pm
- Forum: Beginners Help
- Topic: Post removed.
- Replies: 6
- Views: 806
- Mon Apr 25, 2005 5:26 pm
- Forum: Project Announcements
- Topic: New unique game idea
- Replies: 23
- Views: 5623
- Sun Apr 24, 2005 7:43 pm
- Forum: Project Announcements
- Topic: New unique game idea
- Replies: 23
- Views: 5623
@Firefly - Basically, since characters are randomly assigned to their particular group, the numbers would at least stay even. However it is set up to allow certain groups to become more powerful, if they discover more technologies etc...Like in life, not every country has equal power, which throws ...
- Fri Apr 22, 2005 7:21 pm
- Forum: Project Announcements
- Topic: New unique game idea
- Replies: 23
- Views: 5623
New unique game idea
Ok, I think that I am getting in over my head here. But I thought that I would throw this out anyways, and see what kind of prizes I could dig up. I have little-no programming experience in c++, and am working frantically to try and ammend that, staying up late every night and surfing forums such as ...
- Fri Apr 22, 2005 2:23 pm
- Forum: Beginners Help
- Topic: Quake 3 tutorial issues
- Replies: 10
- Views: 757