Help!

This is a discussion on Help! within the C++ Programming forums, part of the General Programming Boards category; I was wondering if there's some kind of plugin program for Dev-C++ that counts how many times you've actually compiled ...

  1. #1
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542

    Exclamation Help!

    I was wondering if there's some kind of plugin program for Dev-C++ that counts how many times you've actually compiled your project. I mean like other programs say: Build 1045 or something like that, and I refuse to believe that it's manual counting.
    Thanks
    what does signature stand for?

  2. #2
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    nope sorry.....not unless one of the developers decide to put that in, or something.

  3. #3
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    In the menu: Tools->Compiler Options there's an option: Add The Following Commands When Calling Compiler, and a text box under it. I think it's got something to do with that. I mean you have to like find out the path of the program and maybe use the I/O to open the file (application path + Build.txt) and find the 1st value and add 1 to it. Can that be done?
    Thanks
    what does signature stand for?

  4. #4
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    I am 99.9% sure that is for linking (like for Direct X). Know where you put stuff like: -fvtables -trunk and stuff like that.

  5. #5
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    And the other 00.1% ??
    what does signature stand for?

  6. #6
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    And the other 00.1% I don't think so, but you got a better chance askin' at their boards.

  7. #7
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    Ok, I'll try. Another problem: how do you get your application path?
    Thanks
    what does signature stand for?

  8. #8
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    The path will be the directory that the application is located, like this. If Dev-C++ was located in C:\Dev-C++, then the directory would be C:\Dev-C++\DevCpp.exe *is that what you wanted to know*

  9. #9
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    Err... Not exactly. I need to find out the path where the program is situated.
    what does signature stand for?

  10. #10
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    The program that you are making? Or what.........

  11. #11
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    Yes. I'll give you an example of the same thing in another language. Let's take Visual Basic, it's App.Path
    what does signature stand for?

  12. #12
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    Where's VBProgrammer when you need him...sorry, I can't help you anymore (dunno VB).

  13. #13
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    Hold on... Dont take care of vb. Let's say i just want to set: char filepath[250] to the path of the program itself...
    what does signature stand for?

  14. #14
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    Ok, Prelude....*cricket noises*...well, you can just set it mandatory like like this:
    char filepath[250];

    cout << "Where will the file be held?\n";
    cout << "Include drive";
    cin >> filepath;

    and that is assuming ur using console and if you feel like doing it that way. Don't exactly know if that'll work.....or a system command might work, dunno if it will though

  15. #15
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    I dont want the user to input the path of the application, I want the program itself find out where it is located.
    what does signature stand for?

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21