add forward declaration

add classes
This commit is contained in:
2025-09-15 18:17:50 +02:00
parent 6cc9643a3d
commit 27a9acdee6
17 changed files with 628 additions and 1 deletions
+12
View File
@@ -4,6 +4,7 @@ using namespace std;
int main()
{
// console output
std::cout << "Hello World" << std::endl;
std::cout << 1234 << std::endl;
std::cout << "Another test!\n";
@@ -15,5 +16,16 @@ int main()
cout << L"Hello World" << endl; // wide character string literal, can not be handled by cout
// console input
cin >> number;
cout << "input: " << number << endl;
char c;
cin >> c;
cout << "input: " << c << endl;
cin >> c >> number;
cout << c << ": " << number << endl;
return 0;
}