Without a main function, I doubt anything is running. What does your new code look like? What is the output and if it's not the desired output, what is the output you expected instead?
Type: Posts; User: nvoigt
Without a main function, I doubt anything is running. What does your new code look like? What is the output and if it's not the desired output, what is the output you expected instead?
This is not your first project. How about looking it up in your other projects that compiled?
Your "show_student()" method is missing a closing brace, which you would have found yourself if the code were properly indented.
Decide if you want to program C or C++.
Indent your code.
Drop...