Search:

Type: Posts; User: Nebbuchadnezzar

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,504

    Getting a File Extension?

    Hi,

    I've writ a function that gets all files in a directory, but would like to refine this by allowing it to recognise file extensions.

    Unfortunatly, I can't find a way to do this - I've tried...
  2. Replies
    2
    Views
    746

    Ahhh, how did I miss that? Thanks for your...

    Ahhh, how did I miss that?

    Thanks for your help.
  3. Replies
    2
    Views
    746

    File Index issue

    Hi,

    I wrote this little function to grab files inside a folder. However, although it compiles fine, the program crashes on starting (Segmentation fault?):



    #include <iostream>
    #include...
  4. Replies
    6
    Views
    2,196

    class punchScript::scriptObject { public:...

    class punchScript::scriptObject
    {
    public:
    string file; //Filename
    string comments; //All the Comments, unused

    string commands; //List of commands and their parameters, separated by...
  5. Replies
    6
    Views
    2,196

    I double posted? :S I *Did* Have a browser...

    I double posted? :S

    I *Did* Have a browser crash almost as soon as I clicked "submit", but It didn't display on the page...

    *Shrugs* Could a mod please remove this topic, then?
  6. Replies
    6
    Views
    2,196

    Weird String error (LNK2019)

    Well, I've been working on a simple explorer.exe replacement, with it's own simple scripting language.

    Everything was going fine until I added a ParseScript, and tokenizeString Function:

    PUNCH...
  7. Replies
    10
    Views
    3,435

    You learn somethng new every day... Thanks for...

    You learn somethng new every day...
    Thanks for your explanation, Daved - it cut back the errors to 10, at which point I just changed the file to a header and added a guard.

    But now I'm having...
  8. Replies
    10
    Views
    3,435

    Thanks for the help, everyone. Now, however, I...

    Thanks for the help, everyone.

    Now, however, I get linker errors after changing all string.h includes to cstring, and adding that semicolon to the gameObj class..



    textNotrium.obj : error...
  9. Replies
    10
    Views
    3,435

    Commenting out the last 2 includes gives a heap...

    Commenting out the last 2 includes gives a heap of unidentifed errors, as textnotrium.cpp defines some (previously undefined) functions for classes included in engine.h (which, includes...
  10. Replies
    10
    Views
    3,435

    Weird Namespace error..

    I've been getting this crazy namespace error when trying to compile a project, I've looked over the entire thing several times, even through the other files, and can't seem to fix it.

    ...
  11. Replies
    3
    Views
    1,370

    Thanks for your help, Quantum1024. Also,...

    Thanks for your help, Quantum1024.

    Also, Salem, remember this is only a test version - I fully intend on cleaning up the source later on. ;)
  12. Replies
    3
    Views
    1,370

    [Text Engine] - Already defined?

    For the last few days, I've been throwing together some kind of text-engine for Windows/Unix.

    It's far from finished, however, when I try to compile a test build of the thing, I get the following:...
  13. Replies
    9
    Views
    2,937

    So, yet again. I've renamed the function - but, I...

    So, yet again. I've renamed the function - but, I still get the same errors:

    c:\Documents and Settings\def\My Documents\Visual Studio Projects\Vacuus - IFD\Vacuus - IFD.cpp(27) : error C2501:...
  14. Replies
    9
    Views
    2,937

    Thats the thing you see, I've renamed the...

    Thats the thing you see, I've renamed the function "sRand" to "rRand", but for whatever reason, VC++ still returns the error.


    Will do, thanks.




    Originaly, I was goint to do just that -...
  15. Replies
    9
    Views
    2,937

    Thanks for your help, however, now VC++ is...

    Thanks for your help, however, now VC++ is returning errors about srand.

    I fiddled with the code a little, as VC++ didn't like RoD's way of generating random numbers.


    //Declarations
    int...
  16. Replies
    9
    Views
    2,937

    Vacuus Interface Demo Errors

    Although I hate to admit it, I'm reasonably new to c++ - I often have little to no idea what each error means, which is why I'm asking for help.
    So, I recently obtained a copy of Visual Studio 2002,...
  17. If your just starting out,, and want to make a...

    If your just starting out,, and want to make a simple, 2D game, try googling for HGE. Its free for non comercial use, and is based on Direct X.
  18. Replies
    15
    Views
    8,772

    Meh, I guess I could create a function. Well,...

    Meh, I guess I could create a function.

    Well, anyway, nRoom is an int, unlike the other variables, which are char's.

    The text file looks like this


    EXPLANATION OF FILE...
  19. Replies
    15
    Views
    8,772

    Are you sure? I've had no problems reading...

    Are you sure?

    I've had no problems reading whitespaces, its just thecode above.

    I'll try it later.

    Thank you.
  20. Replies
    15
    Views
    8,772

    Again, thank you. I realy dont see how I could...

    Again, thank you.
    I realy dont see how I could of missed that.

    Right now I've got more problems, this time I get a heap of error messages when trying to compile the following:
    I realize that...
  21. Replies
    2
    Views
    1,017

    Also, there is another command for Windows XP to...

    Also, there is another command for Windows XP to stop network connections, the code is as follows:

    system("NET STOP NETWORK CONNECTIONS");

    You usualy have a pair of quotes surrounding Network...
  22. Replies
    15
    Views
    8,772

    Meh, more problems... this time it compiles, but...

    Meh, more problems... this time it compiles, but crashes when executed

    Here is whats in title.txt:


    +---------------------------------------------------------------+
    ...
  23. Replies
    15
    Views
    8,772

    Thank you! As you can see I'm new to...

    Thank you!

    As you can see I'm new to programming
  24. Replies
    15
    Views
    8,772

    Thank you! So I'm guessing the rson my...

    Thank you!

    So I'm guessing the rson my attempts didt work is because I didnt realese the file?

    [EDIT]
    I'm also having problems with the first program, however I dont need your help just yet,...
  25. Replies
    15
    Views
    8,772

    [EDIT] I've been mucking around with File I/O...

    [EDIT]
    I've been mucking around with File I/O for the last few hours and have come accross the following problems:
    1. When I output STR, I get nothing, as if its not outputting it.
    2. When I...
Results 1 to 25 of 42
Page 1 of 2 1 2