Cannot convert '__gnu_cxx::_alloc_traits<std::allocator<std::_cxxll:basic_string<char>

Pages: 123
Your teacher is not helping you by mandating you use C functions in a C++ program.

It's fine when one is an experienced programmer and knows all the pitfalls and problems C code can cause, but for a beginner that is not sane.
Ik to make matters worse all classes are online right now too :/
Since your learning is now strictly online there is a decent and mostly up-to-date tutorial you might want to go wade around in. Learn C++. https://www.learncpp.com/

Read the entire Chapter 0 - The Introduction if nothing else. Do the exercises as well.

I'd personally recommend making an effort to go through the entire website. It won't teach all of what C++ has to offer, but you will get exposed to a lot of the more common -- and modern -- features that will help a beginner.

Learning C++ online is not the hardship a lot of people make it out to be, IF the beginner is motivated to learn.
Last edited on
Thank you i appreciate it
Topic archived. No new replies allowed.
Pages: 123