Is there a difference between a class and a struct? At first I thought a struct could not have methods/constructors/destructors, but now I found out they can, so what is the difference?
CoolGamer48 65 Posting Pro in Training
Recommended Answers
Jump to PostThe difference is that things are public by default in structs.
Jump to PostRead This article "http://www.geekinterview.com/question_details/3478"
All 5 Replies
sarehu 84 Posting Whiz in Training
Majestics 84 Posting Pro
BlackJavaBean 3 Light Poster
CoolGamer48 65 Posting Pro in Training
sarehu 84 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.