that s what i learned since i saw in many examles programmers using a function main whithout any class
asking for any explication please :confused:
tahataha
0
Newbie Poster
Recommended Answers
Jump to PostNot everything is an object. Only those things declared with 'class' or 'struct', or that are of a type that was declared with 'class' or 'struct'.
// NOT a class: int DoSomething() { } // IS a class: class AClassThatDoesSomething { int DoSomething(); }; int main() // …
All 4 Replies
Chainsaw
12
Posting Pro in Training
brnprasad630
0
Newbie Poster
Dave Sinkula
2,398
long time no c
Team Colleague
Chainsaw
12
Posting Pro 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.