-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in ExamRank 05 the first exercise always give compilation error #44
Comments
Hi 👋 Also, could you show me the compilation error you get, either in the (if you compile yourself, could you also provide the |
Hello. i dont have my verison anymore but i was testing with pasqualerossi's, i copied and pasted making sure everything is good. Ty |
Problem might come from the constructor Which in theory should be more like This kind of implementation actually provides a more safe and stable way to pass by reference the string, but it does not actually changes anything to the code itself (and neither the logic behind it !) You might ask why does it fails compiling ? I was struggling today to understand why some functions seems to require a I went straight within the .system/ folder, and it all comes down to the original implementation of the functions. Let's take an example : If you have setter wrote like void setFoo( std::string input )
{
this->_foo = input;
} and GradeMe setter is more like : void setFoo( const std::string &input )
{
this->_foo = input;
} It produces exactly the same result, but GradeMe's functions declaration must match yours, and yes it is very odd why it does produce an error compilation. There is a pull request is just found today that is supposed to fix this problem, and I'm still trying to understand why does it fails compiling. (giving the fact I am using the same compiler, flags and main.cpp ) Hope it helps ! |
Hey @maitreverge 👋 Thanks a lot for your help with issues, I really appreciate it. I haven’t been as involved in the project lately due to new commitments, so I’m grateful that you took the time to understand and respond thoroughly to the issues. If you think this pull request will improve Grademe, I can merge it. Jo |
Hi @JCluzet Appreciate your comment, no worries ! This project helped us a lot, it's the least I can do at my level ! I'll make sure this pull request is pertinent, and tag you or open a new PR soon ! Thanks again for GradeMe, it does helps a lot 😊 Florian. |
I tried using code from github but i cant seem to get to lvl 1 i'm stuck on lvl 0
The text was updated successfully, but these errors were encountered: