thingol@doriath:~/Documents/Cpp-Sql$ gcc -std=c++23 for-work.cpp -o for-work.out /usr/bin/ld: /tmp/ccvmkNRi.o: warning: relocation against `_ZSt4cout' in read-only section `.text' /usr/bin/ld: /tmp/ccvmkNRi.o: in function `fonction_boucle_cout()': for-work.cpp:(.text+0x1e): undefined reference to `std::cout' /usr/bin/ld: for-work.cpp:(.text+0x26): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /usr/bin/ld: for-work.cpp:(.text+0x36): undefined reference to `std::ostream::operator<<(int)' /usr/bin/ld: for-work.cpp:(.text+0x3d): undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' /usr/bin/ld: for-work.cpp:(.text+0x48): undefined reference to `std::ostream::operator<<(std::ostream& (*)(std::ostream&))' /usr/bin/ld: /tmp/ccvmkNRi.o: in function `fonction_boucle_file()': for-work.cpp:(.text+0x80): undefined reference to `std::basic_fstream >::basic_fstream()' /usr/bin/ld: for-work.cpp:(.text+0x9e): undefined reference to `std::basic_fstream >::open(char const*, std::_Ios_Openmode)' /usr/bin/ld: for-work.cpp:(.text+0xb3): undefined reference to `std::basic_ios >::operator!() const' /usr/bin/ld: for-work.cpp:(.text+0xc8): undefined reference to `std::cout' /usr/bin/ld: for-work.cpp:(.text+0xd0): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /usr/bin/ld: for-work.cpp:(.text+0xe3): undefined reference to `std::cout' /usr/bin/ld: for-work.cpp:(.text+0xeb): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /usr/bin/ld: for-work.cpp:(.text+0x111): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /usr/bin/ld: for-work.cpp:(.text+0x121): undefined reference to `std::ostream::operator<<(int)' /usr/bin/ld: for-work.cpp:(.text+0x128): undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' /usr/bin/ld: for-work.cpp:(.text+0x133): undefined reference to `std::ostream::operator<<(std::ostream& (*)(std::ostream&))' /usr/bin/ld: for-work.cpp:(.text+0x14f): undefined reference to `std::basic_fstream >::close()' /usr/bin/ld: for-work.cpp:(.text+0x16c): undefined reference to `std::basic_fstream >::~basic_fstream()' /usr/bin/ld: for-work.cpp:(.text+0x182): undefined reference to `std::basic_fstream >::~basic_fstream()' /usr/bin/ld: /tmp/ccvmkNRi.o:(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0' /usr/bin/ld: warning: creating DT_TEXTREL in a PIE collect2: error: ld returned 1 exit status thingol@doriath:~/Documents/Cpp-Sql$