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.

Empfohlene Antworten

Veröffentlicht

Hallo,

bin mit meinem Problem von letzter woche etwas weiter (siehe die anderen beiden Faden von mir :rolleyes:)

Also ich hab jetzt die Kontonummer ktn als string eingelesen und diese in 2 substrings unterteilt (teil1 und teil2),

jetzt muss ich, um meine rechnung durchführen zu können, diese beiden substrings in integer konvertieren.

Ich hab auch schon im Netz gesucht, entweder steht dort, dass man ne verrenkung machen muss, die ich garnicht verstehe (und damit auch schlecht nehmen kann), oder es funktioniert mal wieder nicht.

Also:

Software immer noch Visual C++ 6.0

Q-Code:

string s ="1234567890"; //um meine ktn nicht zu zerschießen hier probeweise s

string teil1 =s.substr(0,6); //(anfang bei 0, die nächsten 6 stellen (123456))

string teil2=s.substr(6); //(ab stelle 7(7890))

cout<<s <<endl <<teil1<<endl<<teil2 <<endl;

int ErsterTeil;

ErsterTeil=Integer.parseInt(teil1);

cout<<ErsterTeil<<endl<<endl;

Fehlermeldungen:

error C2065: 'Integer' : nichtdeklarierter Bezeichner

error C2228: Der linke Teil von '.parseInt' muss eine Klasse/Struktur/Union sein

Fehler beim Ausführen von cl.exe.

Wäre klasse, wenn mir jemand helfen könnte (mal wieder):valen

Es funktioniert. JUHU

Klotzkopp ich schulde dir richtig was!!!!! (Mag die ! halt gerne :D)

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.