Search:

Type: Posts; User: CppProgrammer33

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    725

    Help with iterator algorihms

    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:



    ...
  2. Replies
    16
    Views
    1,935

    hehe, sorry i was just trying to do like Half...

    hehe, sorry i was just trying to do like Half life did in the past.......OH BOY! I'm sorry
  3. Replies
    16
    Views
    1,935

    I tried to rename the file appname.exe -Dev and...

    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
  4. Replies
    16
    Views
    1,935

    so a command like arg isn't used like this:...

    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...
  5. Replies
    16
    Views
    1,935

    Well, i managed to get the error gone but it...

    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 <...
  6. Replies
    16
    Views
    1,935

    so i would do: 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)
  7. Replies
    16
    Views
    1,935

    Hmmm, i get an unhandled exception "An...

    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...
  8. Replies
    16
    Views
    1,935

    command line parameters

    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...
  9. Doing this gives me these errors: ...

    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
  10. Trouble with reading data with istringstream

    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:...
  11. struct Data { string PlayerName; unsigned...

    struct Data
    {
    string PlayerName;
    unsigned int Health;
    unsigned int Shields;

    float Xpos;
    float Ypos;
    float Zpos;
    };
  12. One thing i should mention that those are part of...

    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
  13. Help with some data writing - I can't make it more speciefic then that

    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...
Results 1 to 13 of 13