Search:

Type: Posts; User: jagerhans

Search: Search took 0.01 seconds.

  1. Yes, it runs fine, but with some limitation:...

    Yes, it runs fine, but with some limitation: since it cannot find the language files and the manual pages the application cannot translate its labels into german (the language I was asked for) and...
  2. how to obtain the absolute application path

    hi, I've nearly accomplished a small QT app that makes ballistic calculations for small arms, draws graphics, prints charts, has multilanguage support and all the usual stuff. But , since I Am The...
  3. Replies
    4
    Views
    4,374

    make variables visible on multiple files

    How can I make a variable visible on different C++ source files? In other words, can I declare a variable with a scope that's wider than the "file" level? I understand it's a basic question but both ...
  4. Replies
    2
    Views
    1,204

    what's wrong with this? neverending loop

    hi, trying to make a small block of code for trapping input errors, I wrote this:


    #ifdef HAVE_CONFIG_H
    #include <config.h>
    #endif
    #include <iostream.h>
    #include <stdlib.h>

    int main(int...
  5. Replies
    2
    Views
    1,231

    troubleshooting user's input mistakes

    ok, so I am back here struggling with beginner's stuff.

    this is the question: when I prompt the user for some input, e.g.:

    int number;
    cin >> number;

    what can i do for trapping input...
  6. Replies
    1
    Views
    847

    prompt for pressing "enter"

    I need to stop the output till one presses the <ENTER> key.
    well , with BASIC I used to do this:
    DO WHILE INKEY$ = ""
    LOOP
    with c++ , under DOS one could use
    #include <stdlib.h>
    #include...
  7. Replies
    4
    Views
    2,087

    turning variables into strings

    how can I turn a numeric variable (es. :INT number) into a string variable (char string)? I need to to this in order to find out how long that string is , with the strlen() function. It's a data...
Results 1 to 7 of 7