well i know the formula i guess im making a blundering fool of my self =D
im trying to implement the rules of GURPS into a text based game.
when your character is in combat it uses a six sided...
Type: Posts; User: andrewV
well i know the formula i guess im making a blundering fool of my self =D
im trying to implement the rules of GURPS into a text based game.
when your character is in combat it uses a six sided...
i dont want to get into graphics i just want to know the best way to create a space. doesnt have to be seen. i just want to measure the distance between two points. and each space to conect to three...
Could some one tell me how to create space.
lets say i wanted to create a map composed of equalateral six sided polygons.
i guess what im realy asking is how do you create a space manager?
...
i dont know about your header files you had one miss spelled if you copy the code i typed it should work
what i wrote did give me a score of 0-0 =D
and it was compiled in the C++
his big error was
#include<fstream.h>
where is should be
#include<fstream>
as well for the rand() he tryed to...
here is the corect code:
#include <iostream>
#include <cstring>
#include <stdlib.h>
#include <fstream>
using namespace std;
also look to where it points to as well as the code above.
1. maybe you dont have the proper syn for using the function rand.
2.maybe your file
ofstream a_file;...
wow didnt mean to start a fight =D lol
thanks for the tips guys! (raises hand) "the answer is inheritance"
and i will look into polymorphism, when i figure it out i might use it.
besides who...
thanks guys
my name is andrew
i am a student at CSM of La Plata, MD. i am currently studying in C++ and will start the advanced C++ course in spring 2005.
inbetween last and upcoming semester i am working on a...