Creating a struct on the heap problem
what is the correct syntax for performing the operation? https://code.sololearn.com/c8H58JER1Bm6/#cpp
There are other problems, but one is that you made a mistake declaring the pointer: You did this: languagePtr cpp = new LanguageStruct; This is correct: languagePtr *cpp = new LanguageStruct;
I used the typedef key word on the class so that syntax should be fine.
Python — File Handling
Loop question, I've tried everything that I knew I just don't know. Please help me solve it out
Help me solve this (using loop)
What is wrong? Error on test.
Help me wiht python