Just because it compiles doesn't mean it's right.
It doesn't matter what the professor does or not. If you are going to learn C++, then I suggest you do it properly. The last we need is another "C+"...
Type: Posts; User: Elysia
Just because it compiles doesn't mean it's right.
It doesn't matter what the professor does or not. If you are going to learn C++, then I suggest you do it properly. The last we need is another "C+"...
Again, use std::string. Your program is a ticking time bomb, waiting to explode.