neue pring funktion erstellt
This commit is contained in:
10
main.cpp
10
main.cpp
@@ -2,9 +2,19 @@
|
||||
|
||||
int number = 12;
|
||||
|
||||
void print_number (int);
|
||||
|
||||
main()
|
||||
{
|
||||
std::cout << "Hallo Welt" << std::endl << number << std::endl;
|
||||
|
||||
std::cout << "experimentelle und evtl nicht fehlerfreier Code" << std::endl;
|
||||
|
||||
print_number(20); // neue Funktion unsicher und unvollständig
|
||||
}
|
||||
|
||||
|
||||
|
||||
void print_number(int x){
|
||||
std::cout << x << std::endl;
|
||||
}
|
||||
Reference in New Issue
Block a user