Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MS Visual C++ startet die Progs und stürzt dann ab. Hilfe

Empfohlene Antworten

Veröffentlicht

Also ich hab ein ganz einfaches kleines Prog geschrieben. Es startete und ich konnte auch noch etwas eingeben. Nur dann stürzt es ab mit folgendem Fehler

"ntdll.dll" wurde geladen. Es wurden keine entsprechenden Symbolinformationen gefunden.

"C:\WINDOWS\system32\kernel32.dll" wurde geladen. Es wurden keine entsprechenden Symbolinformationen gefunden.

Thread 0x1D0 wurde mit Code 0 (0x0) beendet.

Das Programm "D:\Programme\Microsoft Visual Studio\MyProjects\Prog2\Debug\Prog2.exe" wurde mit Code 0 (0x0) beendet.

Ich hab eine "Hallo Welt" Anwendung genommen. Das gleiche.

Was kann ich da machen?

#include "stdafx.h"

int main(int argc, char* argv[])

{

printf("Hallo Welt!\n");

return 0;

}

Das ist meine Hallo Welt die ich bei MS auswählen kann und das hier mein kleines Testprog

#include <stdio.h>

#include <iostream.h>

int main()

{

int zahl1;

cout<< "Bitte Zahl eingeben: "; cin>> zahl1;

cout<<zahl1;

return 0;

}

Dein Programm stürzt nicht ab. Die Meldungen stellen auch keine Fehler dar.

Das Programm beendet sich nur ganz normal, wenn es fertig ist. Dabei schließt sich das Konsolenfenster. Das bewirkt natürlich, dass du die letzte Ausgabe nicht mehr siehst.

Du kannst das verhindern, indem du am Ende des Programms noch eine Eingabe einbaust.

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.