> So should I stay away from QT?
Yes, while you are trying to learn C++. Qt has far too many C++ anti-patterns.
> is qt worth learning for getting a job at a corporate company?
> Or should I stick with the libraries included with c++
Learn standard, idiomatic C++ first.
Knowledge of Qt may be a plus point in a few set ups.
Lack of knowledge of standard C++ would be a big minus everywhere (everywhere where C++ is the core programming language).
> Do I need to delete strings after I'm done using them? If so how do I do this?
> If I'm reading a file line by line using something like getline(myfile, stringname)
> Do I need to delete the string at the end of every loop?
No.
1 2 3 4 5
|
std::string line ; // automatic storage duration
while( std::getline( my_file, line )
{
// do something with line
}
| |
> I'm be mostly on Python since the beginning and I never had to worry about memory management.
You don't have to worry about memory management in C++ either (not for several months, till you are ready to start writing low-level code).