does any one know of a prog or line(s) of code that can discover its the directory that its in?
and how do i use commands like copy and paste from inside of a program cuase i would like to copy...
Type: Posts; User: Ajsan
does any one know of a prog or line(s) of code that can discover its the directory that its in?
and how do i use commands like copy and paste from inside of a program cuase i would like to copy...
Hey everyone its been a while but thats okay....
i want to port my game that i've made so that its multiplayer for one and the 2 so that its over a network. i know that there is a networking board...
Hey everyone its been a while but thats okay....
i want to port my game that i've made so that its multiplayer for one and the 2 so that its over a network. i know that there is a networking board...
My program is being picky about being passed a referance ifstream type fin varieble that has been passed through 2 functions.
is there something in thte referance that only allows it to be passed...
I would like the input of anyone and everyone that can tell me y my programm hates me.
other than minor glitches it will run until it tries to open a room (ERROR #3 in blog.txt)
the room path...
I LOVE YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ohhh and thx.
there is alot of code to post so just click below to veiw
CODE
when i compile a actually get 14 errors and 1 warning but i'm pretty sure once i fix the error it will remove the others.
any one have any clue y this gives me the error
C:\Documents and Settings\Alli-Poo\My Documents\Visual Studio Projects\C++\FFEC.cpp(973) : warning C4551: function call missing argument list
...
Sry bout the Code tags i forgot and thx for the input about the switch statement i didn't know that....
the actual error is
c:\documents and settings\alli-poo\my documents\visual studio projects\c++\ffec.cpp(471) : error C2051: case expression not constant
i'm having a problem with a switchstatement that uses strings as the argument and it looks something like this
void Game(Game Info,ifstream &fin)
{
int b,c;
string a;...
I'd just like it so that no one can change their savefile without atleast going through some trouble of converting into readable text and even then some people are to dumb to evern think of...
All of the things that i want to output are stored in variables but for some examples
Suan //first name
Seith //Last name
12 //Strength
13 //...
15 ...
Does anyone know how to output in binary without me having to write a converter myself, it needs to convert text / numbers / ... yeah thats about it.
Any Help would be apreciated...! :)
01011001 01101111 01110101 00100000 01100001 01110010 01100101 00100000 01010011 01010100 01010010 01001111 01001110 01000111 00100000 01101001 01101110 00100000 01111001 01101111 01110101 01110010...
01001110 01101111 00100001
a std::string...
is there a function that will convert all the letters in a string to upper or lower case to make it easier to make a check like "if (a=="JUMP")".
i've tryed toupper().
thank you.
i mean as part of the code is there a chuck of code that i can put in there to unfullscreen the prog.
does anyone know the cope to unfull screen the window once you have already full screen'd it?
I figured it out thx anyway though.....
When i output in the Win32 app using cout if double spaces the out put why is that and is there a way to fix it so that it doesn't.
X Thank you for the link it was very helpful.
I want to grab the data that is already on the screen of the standard dos window and inoput it into a 2-d array so that i can change it and reoutput. i want to do this for an affect.
(P.S. i want...