> Date: Fri, 13 Nov 2020 15:03:40 +0100 > From: kk.kr****@wp***** <kk.kr****@wp*****> > > #include <iostream> > #include <string> > using namespace std; > > int main() > { > string zm_tekstowa; > > zm_tekstowa = "cos tam"; > cout << zm_tekstowa; > } > > Compilation, simple: > > g++ main.cpp Worked for me. Did you install libstdc++ etc., or did you only install g++?