Solved. libstdc ++ - 6.dll from GtkSharp had higher priority and PATH than MinGW. Change the priority in PATH problem solving. Thanx Dnia 13 listopada 2020 15:13 Eli Zaretskii <eliz****@gnu*****> napisał(a): 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++? ______________________________ MinGW-Users mailing list MinGW****@lists***** This list observes the Etiquette found at www.mingw.org www.mingw.org We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. ______________________________ You may change your MinGW Account Options or unsubscribe at: lists.osdn.me lists.osdn.me Also: mailto:mingw-users-request at lis -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/mingw-users/attachments/20201113/1eea855f/attachment-0001.html>