TechTalkz.com Logo Ask the Experts!

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > TechTalkz Member Reviews & Guides > Guides

C++ LEARNING GUIDE

Guides


Comment
 
LinkBack Article Tools Display Modes
<!-- google_ad_section_start -->C++ LEARNING GUIDE<!-- google_ad_section_end -->
C++ LEARNING GUIDE
Published by Dark Star
18-09-2006
Smile Introduction

C++ LEARNING GUIDE

This is a basic guide which I have come up with for the people who are looking to go for C++. I have tried to keep it simple so that everyone can understand it.
I had been working on this for last couple of weeks. Any comments/suggestions are welcome.
NOTE: This is a beginners guide so don’t expect too much, I made this guide Keeping Mind that learner is a newbie in C++. Hey now don’t think I am an expert. Sorry for the mistakes I have tried to cover every aspect.
INTRODUCTION


C++ is an object oriented programming language. It was developed by Dr.Bjarne Stroustrup in the year 1983 at AT&T Bell laboratories, New Jersey {U.S.A}. It was originally named as C with classes. The name is derived with the increment operation in C which is ‘++’. So it is the incremented version of C.
An object oriented programming language means collection of objects which are self contain collection of both data structure and functions that interact with other objects. It adds classes, inheritance, functions overloading and operator overloading.
“With the help of C++ we can develop editors, compilers, communication systems, database and other real life time applications.
Note: - C++ codes are case sensitive so every command/codes written should be in Small Letters
Published by
Dark Star's Avatar
Elite Member (1000+)
Join Date: May 2006
Location: /dev/had0
Age: 22
Posts: 1,627
Rep Power: 2758
Dark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just Great

Contents

Article Tools

Latest 5 articles

Featured Articles
Attached Images
File Type: bmp Chart.bmp (237.7 KB, 355 views)
Attached Files
File Type: doc Program.doc (33.0 KB, 300 views)
File Type: doc IF-ELSE Pro.doc (37.0 KB, 209 views)
<< <    Next Page: C++ Charactor Set (Page 1 of 8)    >  >>
Old 18-09-2006, 06:28 PM   #1
ƒ(ψ)=ΘΊΧφ
 
bakuryu's Avatar
 
Join Date: May 2006
Location: India
Age: 26
Posts: 6,622
Thanks: 19
Thanked 656 Times in 610 Posts
Rep Power: 2108 bakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant future


Windows XP Windows Vista Windows 7


Send a message via Yahoo to bakuryu
Good guide. Needs a bit of editing, I don't have time today .. let's hope someone else does it and publishes your guide.

Just a few points :

1. Include the precedence of operators and their associativity in C++
2. For DATA TYPES :
I think the heading should rather be Primary Data Types
You missed short int.
Also the size of int is machine dependent.
Int is not shorter than short and not longer than long

Quote:
“<<” – Output of data.
The output of data is known as insertion output to operator.
“>>” – Input of data.
Input of data is known as extraction or to get data from the operator.
Those statements are neither correct nor wrong .. LOL

<< and >> are the left shift and the right shift operators respectively!
Also cin and cout are predefined objects and not cin>> and cout<<.

<< and >> operators are overloaded with respect to the cout and cin objects respectively.

And lastly misconception about the getch() (you missed it which IMO is very important) :::

giving getch() is not an essential part of the program. It is only given to pause(rather waits for a keystroke ... more precisely your program is waiting for an input) after the completion of the program, since most people run the program pressing Ctrl+F9 and without it, it may seem to you that there was no output given.
__________________
Please don't click here
bakuryu is offline   Reply With Quote
Old 19-09-2006, 09:41 AM   #2
Webmaster
 
Strider's Avatar
 
Join Date: Nov 2005
Location: The Last City!
Posts: 4,782
Thanks: 588
Thanked 618 Times in 529 Posts
Mood: Doubtful
Blog Entries: 6
Rep Power: 8812 Strider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly Eminent

Intel Nvidia

Windows 7 Linux


Hi shash. I'm approving it. The pages are splitted as you asked in the PM.

btw. A good intro. Welldone
Strider is offline   Reply With Quote
Old 21-09-2006, 05:39 AM   #3
Elite Member (1000+)
Thread Starter
 
Dark Star's Avatar
 
Join Date: May 2006
Location: /dev/had0
Age: 22
Posts: 1,627
Thanks: 98
Thanked 172 Times in 146 Posts
Rep Power: 2758 Dark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just Great


Linux


So less reply bro next part be upgraded soon.

Last edited by Dark Star; 21-09-2006 at 06:10 AM..
Dark Star is offline   Reply With Quote
Old 23-09-2006, 04:48 PM   #4
Ex-Moderator
 
X-Caliber's Avatar
 
Join Date: May 2006
Location: Latitude -
Age: 23
Posts: 1,244
Thanks: 48
Thanked 92 Times in 72 Posts
Rep Power: 1815 X-Caliber has a brilliant futureX-Caliber has a brilliant futureX-Caliber has a brilliant futureX-Caliber has a brilliant futureX-Caliber has a brilliant futureX-Caliber has a brilliant futureX-Caliber has a brilliant futureX-Caliber has a brilliant futureX-Caliber has a brilliant futureX-Caliber has a brilliant futureX-Caliber has a brilliant future


Windows XP Windows Vista


Send a message via MSN to X-Caliber Send a message via Yahoo to X-Caliber
sorry for the delay...but really a smashing guide....n thnx for Strider to take the pains....
__________________
Also Catch me on my Blog



igoY - The journey of Yogi
X-Caliber is offline   Reply With Quote
Old 24-09-2006, 07:02 AM   #5
Elite Member (1000+)
 
Night_virus's Avatar
 
Join Date: Jul 2006
Location: Kolhapur, India
Age: 20
Posts: 1,125
Thanks: 70
Thanked 53 Times in 49 Posts
Rep Power: 588 Night_virus is a glorious beacon of lightNight_virus is a glorious beacon of lightNight_virus is a glorious beacon of lightNight_virus is a glorious beacon of lightNight_virus is a glorious beacon of light


Windows 98 / Windows ME Windows NT / Windows 2000 Windows XP Windows Server 2003 / Windows Server 2008 Windows Vista Windows 7 Linux Mac OS


Send a message via MSN to Night_virus Send a message via Yahoo to Night_virus
Thnx for Rocking information brother.....
Repped Borther.....
__________________
Reloaded, Reformed, Purely changed.. I'm no more Rocky_cool
Night_virus is offline   Reply With Quote
Old 24-09-2006, 08:11 AM   #6
Newbie
 
Join Date: Sep 2006
Age: 21
Posts: 5
Thanks: 9
Thanked 0 Times in 0 Posts
Rep Power: 370 Mohit Joshi is a jewel in the roughMohit Joshi is a jewel in the roughMohit Joshi is a jewel in the roughMohit Joshi is a jewel in the rough
Nice work he is the best in C++. Reped
Mohit Joshi is offline   Reply With Quote
Old 09-10-2006, 06:21 PM   #7
Junior Member (25+)
 
Join Date: Sep 2006
Age: 26
Posts: 64
Thanks: 7
Thanked 5 Times in 5 Posts
Rep Power: 122 luvrohit85 will become famous soon enough
nice work thanks a lot..this is simple and really easy to understand..
__________________
.RoHiTkUmAr.
luvrohit85 is offline   Reply With Quote
Old 26-12-2006, 07:17 AM   #8
Regular Member (100+)
 
Join Date: Jul 2006
Age: 26
Posts: 151
Thanks: 46
Thanked 2 Times in 2 Posts
Rep Power: 0 appoos is an unknown quantity at this point
Re: C++ LEARNING GUIDE

nice work done..expecting more
appoos is offline   Reply With Quote
Old 27-12-2006, 02:53 AM   #9
Elite Member (1000+)
Thread Starter
 
Dark Star's Avatar
 
Join Date: May 2006
Location: /dev/had0
Age: 22
Posts: 1,627
Thanks: 98
Thanked 172 Times in 146 Posts
Rep Power: 2758 Dark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just Great


Linux


Re: C++ LEARNING GUIDE

Check out the second part here : C++ Guide: Part 2
Dark Star is offline   Reply With Quote
Comment

Article Tools
Display Modes


Similar Threads
Article Article Starter Category Comments Last Post
Just Learning PHP Blue_Hatter PHP 10 09-09-2007 04:02 PM
Unable to Install Learning Essentials 2.0 AnnClare Microsoft Office 0 28-08-2007 11:58 AM
Learning Essentials - New Project Wizard islandbrian Microsoft Office 0 28-08-2007 11:10 AM
Learning Resources abnewallo Windows Vista All 0 17-08-2007 08:29 PM
Req; Good manual for learning XP. Jackson Windows XP 12 16-08-2007 06:04 AM


< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +1. The time now is 03:13 AM.


vBulletin, Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2011, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional