SOS: What is this?Screenshot by Lightshot
Printable View
SOS: What is this?Screenshot by Lightshot
Never, but never again, title your thread like this. The thread's title should be laconic (with the real meaning of the word).
Probably the files that the professor gave you, have some issue with scoping... Make sure that everything is visible where it is needed...
So who's job is it to write TSstoiva_setValues and TSstoiva_writeValue ?
If it's your job, then check
- whether you spelled the names correctly
- have included the right source files
- have actually written the code.
If it's someone else's job, make sure you have the appropriate source code and/or library.
Do you think you could copy/paste the text next time?
Firstly, I'm sorry about the title, but it really was an SOS! (i had to send it by 5:00)
Secondly, the code wasn't mine.. I had just to add & change some things..
And thirdly, I wrote the code in xcode.. But it didn't show me any wrongs until I ran it..
You need to learn the difference between these categories of C/C++ Programming Issues(problems).
Compiler Warning
Compiler Error
Linker Warning
Linker Error
Run Time Error
incorrect operation at Run Time.
Your problem is a "Linker Error" your statement implies you think it was a "Run Time Error"
Before being able to fix the issue (problem), you need to at least classify the issue (problem) into the correct category.
Tim S.
Thankfully, the exercise got an overtime!
What do you mean: "you need to at least classify the issue (problem) into the correct category."?
If you have no understanding of an issue (problem), then fixing it is NOT possible using logic.
[Trial and Error method; is NOT a productive way to fix an programming issue (problem).]
Nearly (if not all linking errors) are the result of a missing item/object in this case a missing function(s).
You need read Salem's post #3; figure out how the missing functions are to be supplied.
Are they in a library, if so, did you link it?
Are you supposed to write them, if so, did you?
Did you forget to link (or maybe compile) a file?
Tim S.