One problem i can't seem to find the solution to is that i can't seem to access a class from a container using an iterator and the algorihm functions. like if the container was like this:
...
Type: Posts; User: CppProgrammer33
One problem i can't seem to find the solution to is that i can't seem to access a class from a container using an iterator and the algorihm functions. like if the container was like this:
...
hehe, sorry i was just trying to do like Half life did in the past.......OH BOY! I'm sorry
I tried to rename the file appname.exe -Dev and it changed the extention.......maybe i should wait til i learn this in a class
so a command like arg isn't used like this: app_name -Dev.exe? cause that diodn't work, also, a command line arg is when you would run the command prompt and type that in? again, sorry if i'm not...
Well, i managed to get the error gone but it didn't work still cause i put the command line in the exe file name and still nothing. this is what i did
for(int index = 0; index <...
so i would do:
for(int index = 0; index < argc; ++index)
{
if(argv[index] == 1)
{
if(strcmp(argv[index], "-dev") == 0)
Hmmm, i get an unhandled exception
"An unhandled win32 exception int Commands-devmode.exe(1040) Just In debugging the exception failed with the following error Just-In-Time debugger not...
OK, what i want to do is this: recall a long time ago when half life 1 came out the only way to enable the dev mode was to do this: Appname -Devmode.exe. is that even worth it or should i just not do...
Doing this gives me these errors:
Compiler: Default compiler
Building Makefile: "F:\Projects\Makefile.win"
Executing make...
make.exe -f "F:\Projects\Makefile.win" all
Well, this stinks....I'm able to user ostringstream to wreite data to a file but when i read it back, Dev C++ gives me these errors:
Compiler: Default compiler
Building Makefile:...
struct Data
{
string PlayerName;
unsigned int Health;
unsigned int Shields;
float Xpos;
float Ypos;
float Zpos;
};
One thing i should mention that those are part of a struct, i didn't write them directly buit they are variables, but i'll try the C++ way, thanks
Ok, How are you guys doing? the reason why i'm posting is because i seem to run into some "techincal difficuties" when writing data from a buffer, mainly this:
now it looks good but the buffer...