Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Reply
 
LinkBack Thread Tools Display Modes
Old 25-05-2011, 05:49 PM   #1 (permalink)
Whompy Whomperson
 
Nipun's Avatar
 
Join Date: Mar 2011
Location: New Delhi
Posts: 1,029
Unhappy What are Private, Classes, Sub and such commands in C++?


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 )
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
Nipun is online now   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 25-05-2011, 07:06 PM   #2 (permalink)
BIOS Terminator
 
nims11's Avatar
 
Join Date: Apr 2008
Location: Ranchi
Posts: 816
Default Re: What are Private, Classes, Sub and such commands in C++?

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 is online now   Reply With Quote
Old 25-05-2011, 08:51 PM   #3 (permalink)
Simply a DIGITian
 
krishnandu.sarkar's Avatar
 
Join Date: Nov 2007
Location: Kolkata
Posts: 2,942
Default Re: What are Private, Classes, Sub and such commands in C++?

Yup, if you really want to continue your learning, get a C++ book.
__________________
  • Read The Forum RULES First.
  • Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
  • Before Starting A New Thread Read The STICKY THREADS First
  • Before Participating In Bazaar Section Read The BAZAAR RULES
krishnandu.sarkar is online now   Reply With Quote
Old 27-05-2011, 04:59 PM   #4 (permalink)
Alpha Geek
 
Join Date: Jul 2010
Location: Mumbai
Posts: 898
Default Re: What are Private, Classes, Sub and such commands in C++?

Yashwant Kanitkars Lets C is nice book.
__________________
Core-i5 2400 | Intel DH67BL | G.Skill 8GB DDR3 1333Mhz | 500GB Segate | CM 430 | Corsair VX550 PSU| BENQ V2410 eco LED Monitor | Genuine windows 7 64-bit Ultimate | Samsung Galaxy S & boring Nokia Lumia 800 :(
noob is online now   Reply With Quote
Old 27-05-2011, 05:11 PM   #5 (permalink)
BIOS Terminator
 
nims11's Avatar
 
Join Date: Apr 2008
Location: Ranchi
Posts: 816
Default Re: What are Private, Classes, Sub and such commands in C++?

Quote:
Originally Posted by talktoanil View Post
Yashwant Kanitkars Lets C is nice book.
don't take the name of Yashwant Kanitkar's books in this forum.
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
nims11 is online now   Reply With Quote
Old 27-05-2011, 07:05 PM   #6 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Нью-Дели
Posts: 2,138
Default Re: What are Private, Classes, Sub and such commands in C++?

No one hates any book.
A crap book is a crap book. And it will be called as such.
__________________
Experience true education in Computer Science - http://www.udacity.com | http://www.coursera.org

Spoiler:
Read before asking / messaging any moderator for any query: FAQ + answers for new members

Read all the sticky threads before asking any type of query. Most basic questions are answered in those.
Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect.
Liverpool_fan is offline   Reply With Quote
Old 28-05-2011, 08:46 PM   #7 (permalink)
In The Zone
 
Chetan1991's Avatar
 
Join Date: Jan 2007
Location: Shimla
Posts: 285
Default Re: What are Private, Classes, Sub and such commands in C++?

yup. Let us c looks like crap in front of K&R. k&r is the best book on c, made by the co-creator himself.
__________________
Dell Inspiron 1564
i3 330M 2.13GHz
4GB DDR3 1066MHz
ATI M.R. HD 5450 1GB
298 GiB 7200rpm WD hdd

LG Optimus One P500

where-go-for-6-week-industrial-training?
Chetan1991 is offline   Reply With Quote
Old 28-05-2011, 10:33 PM   #8 (permalink)
XLr8
 
arpanmukherjee1's Avatar
 
Join Date: Sep 2008
Posts: 637
Default Re: What are Private, Classes, Sub and such commands in C++?

Quote:
Originally Posted by talktoanil View Post
Yashwant Kanitkars Lets C is nice book.
oh yeah !!! tell me whats so nice about it !!!!!!!!!

Quote:
Originally Posted by nims11 View Post
don't take the name of Yashwant Kanitkar's books in this forum.
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
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.

Last edited by arpanmukherjee1; 28-05-2011 at 10:45 PM.
arpanmukherjee1 is offline   Reply With Quote
Old 29-05-2011, 11:29 AM   #9 (permalink)
Whompy Whomperson
 
Nipun's Avatar
 
Join Date: Mar 2011
Location: New Delhi
Posts: 1,029
Talking Re: What are Private, Classes, Sub and such commands in C++?

Quote:
Originally Posted by arpanmukherjee1 View Post
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
Nipun is online now   Reply With Quote
Old 30-05-2011, 06:50 PM   #10 (permalink)
Right Off the Assembly Line
 
Join Date: May 2011
Location: Midnapore, West Bengal
Posts: 3
Default Re: What are Private, Classes, Sub and such commands in C++?

If you have little time over the net I can refer online tuts

Follow this site and I think it'll help lot:
Prasid is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Sarath
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 12:28 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2