Häää. Wie bitte. IDE Problem



  • Hallo,
    ich benutze den Compiler tclite und habe damit versucht mein erstes Programm zu schreiben.
    So, schön und gut. Das Problem ist, wenn ich das Programm starten will, erscheint diese Fehlermeldung:

    This example program can only be run
    From within the IDE

    Und das ist das geniale Programm was ich programmiert habe: 🙂

    #include <stdio.h>

    void main()
    {
    printf("Hello World!\n");
    }

    Vielleicht kennt ja einer das Problem und kann mir helfen. 😕



  • mit was Compelierst du es denn?



  • bitte benutz Code-Tags! Außerdem muss es int main heissen und nicht void main!

    Benutz am besten einen anderen Compiler, (ich geh mal davon aus, dass du Windos nutzt) wie MinGW (siehe Andere Compiler FAQ).



  • That is, once the "executable" file has been created, it can be "run" (for example) from the MS-DOS prompt without the C++ IDE. (TCLite provides an exception to this rule; the .EXE file created by TCLite can only be run from within the TCLite IDE; however, a program, EXEFIX, is available which can modify most TCLite generated .EXE files so they can be run from the MS-DOS prompt. Note this exception does not apply to the full Turbo C++ (version 3) or any other standard C++ IDE).



  • zu deutsch: der TCLite will nich, dass jemand die eignen programme nutzt



  • Original erstellt von Mr. N:
    zu deutsch: der TCLite will nich, dass jemand die eignen programme nutzt

    ROFL


Anmelden zum Antworten