Timeline for Creating a Library Help with errors
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 8, 2016 at 0:25 | comment | added | Roberto Lo Giacco | So now we have an answer which is accepted but it's not any more related to the question as the question has been changed... I'm not sure this is the right way to use SE | |
Sep 7, 2016 at 21:13 | vote | accept | user26383 | ||
Sep 7, 2016 at 15:41 | comment | added | user26383 | I have edited the code and errors in the question to reflect the new issues. | |
Sep 7, 2016 at 15:31 | comment | added | user26383 | I have fixed it would seem all the errors I had before, but I have two more they are both the same, but relate to different members in objects. These seem to be common errors as I have been able to read a great deal about other people's troubles with them, but I seem to be unable to diagnose their problems or mine. The errors are as follows: | |
Sep 7, 2016 at 2:54 | vote | accept | user26383 | ||
Sep 7, 2016 at 19:44 | |||||
Sep 7, 2016 at 2:47 | comment | added | user26383 | Great, I will look it up and if I get stuck I will post back here, probably in a few hours. Thanks for the help so far!! | |
Sep 7, 2016 at 2:45 | comment | added | Mension1234 | There is this thing called a 'class constructor'. You can look it up for a more detailed explanation, but basically you have a function without a type inside your class, named the same thing as your class. You have a couple of them, Morse() - I would combine them into one Morse() with a bunch of parameters. Basically, when you create the object Morse() will automatically run, using the parameters you put in where I said. I would look it up - I'm not sure I explained it that well! | |
Sep 7, 2016 at 2:41 | comment | added | user26383 | Let me rephrase, I understand conceptually everything you have told me and I really appreciate your response. I'm afraid I just can't seem to make the connection from concept to my code. I have been reading about objects and function parameters, I just can't seem to understand how to actually implement them. For example, should I put this code in the library file? Or does it go in my program code? Either way, how should I proceed. When I said treat me like I know nothing, I really don't know anything about this, but I can't learn if I don't try. | |
Sep 7, 2016 at 2:33 | comment | added | user26383 | I read about this, I just couldn't figure out how to fix it!! I understand everything you have told me except for the parameters. What / how should I set those? | |
Sep 7, 2016 at 2:08 | history | answered | Mension1234 | CC BY-SA 3.0 |