My header file and main function are exactly the same as the video.
(Cannot upload more than 1 screenshot due to new user limitation)
I followed the instruction code by code but still can’t solve this issue.
My header file and main function are exactly the same as the video.
(Cannot upload more than 1 screenshot due to new user limitation)
I followed the instruction code by code but still can’t solve this issue.
Adding ()
to value()
means you are trying to call a method; you should just be returning a value.