added ws202425 courses

This commit is contained in:
2024-11-14 13:11:04 +01:00
parent 800282c2e8
commit beb31897b1
461 changed files with 20368 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
/* Informatik B - Sommersemester 2023
Vorlesung am 28.04.2023
Katharina Klost
Beispiele zu pairs
*/
#include <iostream>
int main(){
std::pair<std::string, int> mein_paar = {"Hallo", 1234};
std::cout << "Erster Eintrag vom mein_paar: " << mein_paar.first << std::endl;
std::cout << "Zweiter Eintrag vom mein_paar: " << mein_paar.second << std::endl;
mein_paar.first = "Test";
std::cout << "Neuer erster Eintrag: " << mein_paar.first << std::endl;
}