hmm but since i am in the class implementation, wouldnt everything in there be in the class hence not needing the class name and the binary scope operator?
well i mean its in the .h file hence it...
Type: Posts; User: program
hmm but since i am in the class implementation, wouldnt everything in there be in the class hence not needing the class name and the binary scope operator?
well i mean its in the .h file hence it...
Thank you so much! I didnt realize it was needed for the member function since it was optional(i think it is rather) on the data member set and get functions.
Hello, i posted here a few days ago about a class access issue and have since gotten a new hw to do and did it but i cant get it to run. here is the header and the implementation file so you dont...
thanks again! and thanks to everyone to who helped me as well:)
thanks! this is exactly what i was looking for! but what is the "+="? i used just a "=" and it worked.
ok, real sorry i didnt reply earlier but i lost my internet conenction for a while (heavy rains and stuff)
ok to reply to you all now:
the member functions have access, but I was told to...
thanks for the replies!
@manasij7479:
I cant do that because I am writing the implementation of the class not the actual program if i understood what you meant.
@msh
thanks, here is the...
hello, I am currently doing an university assignment and have completed it but unsure of a little part. Its a homework for practicing to write classes with a header file and two cpp files instead of...