diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..8354724 --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +workspace.xml \ No newline at end of file diff --git a/ha_11/loosen_janniclas_1540907_12.cpp b/ha_11/loosen_janniclas_1540907_12.cpp index 5a3d264..453e7eb 100644 --- a/ha_11/loosen_janniclas_1540907_12.cpp +++ b/ha_11/loosen_janniclas_1540907_12.cpp @@ -60,7 +60,7 @@ int main() { std::cout << i << " "; } } - std::cout << std::endl; + std::cout << std::endl; return 0; } \ No newline at end of file diff --git a/ha_12/quick_code.cpp b/ha_12/quick_code.cpp new file mode 100644 index 0000000..dcb94cd --- /dev/null +++ b/ha_12/quick_code.cpp @@ -0,0 +1,13 @@ +#include + +int main() { + int x = 2; + int* y = &x; + + std::cout << x << std::endl; + std::cout << &x << std::endl; + std::cout << y << std::endl; + std::cout << *y << std::endl; + + return 0; +} \ No newline at end of file diff --git a/quick_code.exe b/quick_code.exe new file mode 100644 index 0000000..d50f98e Binary files /dev/null and b/quick_code.exe differ