What are Private, Classes, Sub and such commands in C++?

Nipun

Whompy Whomperson
Hi again!
I started to learn C++ sometime ago from NIIT, but unfortunately I had an accident and I was unable to complete the classes. I know the basics of C++, but I was thinking what are these commands/statements that I have seen in many programs:
Private
Class(I even dont know that :p)
Sub
And a command that I found in a program:
"using namespace std;"
And also, is there also some Public like Private?

Dont start to flame me or anything, I am just looking for some help on this :))
 

nims11

BIOS Terminator
just google it, there are lots of info about these things that cannot be explained here. :)

before googling about this, get a good C++ book.
 

nims11

BIOS Terminator
Yashwant Kanitkars Lets C is nice book.

don't take the name of Yashwant Kanitkar's books in this forum. :D
people here hate it. i used its name couple of times and got anti-yashwant kanitkar replies. :))

btw he asked about OOPs which is not a part of C
 
Yashwant Kanitkars Lets C is nice book.
oh yeah !!! tell me whats so nice about it !!!!!!!!!

don't take the name of Yashwant Kanitkar's books in this forum. :D

yep, thats about right.

@OP take my words very seriously. "dont ever read that book".
you'll find lots of reasons to support me in this and other forums.

+1 for the K&R

and as for your question. i am sure you will find all answers in K&R.
if you have problem understanding a program, post it and someone will answer

also cant you set up a class with other batches that are currently studying those topics ?
talk to the faculty and sort it out
 
Last edited:
OP
Nipun

Nipun

Whompy Whomperson
also cant you set up a class with other batches that are currently studying those topics ?
talk to the faculty and sort it out

I cant. Actually the classes I took were for 2 months(during my summer vacations). After that my school reopened, so it was very difficult for me to do both:-(

But thanks, I will look if something can happen and will get the book:smile:
 
Top Bottom