Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword or section
Like this
1Activity
×

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
tamil_c__

tamil_c__

Ratings: (0)|Views: 640|Likes:
Published by iniyaraj

More info:

Published by: iniyaraj on Apr 28, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

04/28/2012

pdf

text

original

 
1
ð£ì‹ 1
C++ ªñ£NJ¡õN ªð£¼œ«ï£‚° Góô£‚è‚輈¶¼‚èœ
(Object Oriented Concepts using C++)
1.1 ªð£¼œ«ï£‚° Góô£‚è ªñ£N
(Object Oriented Programming Language)
ðôîóŠð†ì C‚è™èÀ‚°ˆ b˜¾è£μ‹ å¼ è¼Mò£è‚èEŠªð£P M÷ƒ°Aø¶. C‚è™èÀ‚è£ù b˜¾èœ èEŠªð£P Gó™è÷£è¾‹
(Programs)
ðò¡ð£†´ ªñ¡ªð£¼œè÷£è¾‹
(ApplicationSoftware)
ïñ‚°‚ A¬ì‚A¡øù. Þˆî¬èò Gó™èÀ‹ ªñ¡ªð£¼†èÀ‹ ã«î‹ å¼ Góô£‚è ªñ£NJ™ â¿îŠð´A¡øù.å¼ èEŠªð£P Góô£ù¶, àœkì£èˆ îóŠð´‹ îó¾‚ ÃÁèO¡e¶ ªêò™ð´A¡ø¶. Þ‰î àœk†´ˆ îó¾èœ ïñ‚°ˆ «î¬õò£ùîèõ™ ÃÁè÷£è ñ£ŸøŠð†´, èEŠªð£P GóL¡ ªõOfì£èŠ ªðøŠð´A¡øù.ªî£ì‚è è£ô Góô£‚è ªñ£NèO™ àœk†´ ªõOf†´ˆ îó¾‚ÃÁèœ
ñ£Pè÷£è‚ 
 
(Variables)
¬èò£÷Šð†ìù. àœk†´ˆ îó¾‚ÃÁèœ
 îó¾ Þùƒè÷£è 
 
(Data Types)
õ¬èŠð´ˆîŠð†ìù. îó¾‚ ÃÁèO¡ e¶ G蛈îŠðì«õ‡®ò ªêò™ð£´è¬÷ èEŠªð£P‚°ÜP¾Áˆî
膴Šð£†´‚ ßÁ蜠
 
(Control Statements)
ðò¡ð†ìù.Góô£‚è ªñ£Nèœ «õªø£¼ õ¬èJ½‹ ðò¡ð´A¡øù. å¼C‚èL¡ b˜¾ðŸPò ïñ¶ 輈¶è¬÷ 弃è¬ñ‚è ܬõ àî¾A¡øù.b˜‚èŠðì «õ‡®ò C‚è™èÀ‹ à¼õ£‚èŠðì «õ‡®ò ðò¡ð£†´ªñ¡ªð£¼œèÀ‹ I辋 C‚èô£AŠ «ð£°‹«ð£¶, Góô£‚è ªñ£NèO¡ Þ‰îŠ ð‡¹‚ÃÁ ÜFè º‚Aòˆ¶õ‹ ªðÁA¡ø¶. Þˆî¬èòªêò™Fø¡ ªè£‡ì Góô£‚è ªñ£Nèœ ðô à¼õ£‚èŠð†´œ÷ù.Þ¬õ èEŠªð£P‚° ÜP¾Áˆ¶õîŸè£ù âOò õNº¬øè¬÷‚ªè£‡´œ÷ù.Þ¼ŠH‹, å¼ C‚轂è£ù b˜M¬ù, îó¾
(data),
ªêò™ð£´èœ
(operations)
âù Þ¼Ãø£èŠ HKˆ¶ «ï£‚°õ¶, ñQî˜èœ ï¬ìº¬øõ£›‚¬èJ¡ C‚è™èÀ‚° b˜¾è£μ‹ º¬ø«ò£´ åˆF¼‚èM™¬ôâ¡ð¶ àíóŠð†ì¶.C++ «ð£¡ø ªð£¼œ«ï£‚° Góô£‚è ªñ£Nèœ, ï¬ìº¬øõ£›‚¬èJ¡ C‚èô£ù Hó„C¬ùè¬÷ˆ b˜‚è, ªð£¶õ£è ñQî˜èœ
Ramanathan
Digitally signed by RamanathanDN: cn=Ramanathan, c=IN, o=Commercial Taxed DeptStaff Training Institute,, ou=Computer Lecturer,,email=ctdsti@gmail.comLocation: Commercial Taxes Staff Training Institute,Computer Lecturer,Ph:9442282076Date: 2008.03.13 11:55:56 +05'30'
 
2
¬èò£À‹ º¬øè¬÷ Ü®Šð¬ìò£è‚ ªè£‡´ õ®õ¬ñ‚èŠð†´œ÷ù. ªð£¶õ£è, ñQî˜èœ ï¬ìº¬øŠ Hó„C¬ùè¬÷ˆb˜Šð º¡, b˜¾‚° «î¬õŠð´‹ ð™«õÁ îQˆî ªð£¼œè¬÷ܬìò£÷‹ 裇A¡øù˜. Üî¡H¡ ÜŠªð£¼œèÀ‚° Þ¬ì«òò£ùàø¾º¬øè¬÷ à혉¶ ªè£œA¡øù˜. àø¾º¬ø â¡ð¶ ‘Þ¶Þî¡ å¼ ð°F’ Ü™ô¶ ‘Þ¶ Þ‰î Þùˆ¬î„ ꣘‰î¶’ â¡ð¬î‚°PŠð‹. ‘å¼ ªð£¼÷£ù¶ «õªø£¼ ªðKò ªð£¼O¡ å¼ ð°F’â¡ð¬î»‹ ‘å¼ ªð£¼÷£ù¶ Þ¡ªù£¼ ªð£¼O¡ Þùˆ¬î„ ꣘‰î¶’â¡ð¬î»‹ ¹K‰¶ ªè£œA¡ø ê£î£óíˆ Fø‹ð£´è«÷ ï¬ìº¬øõ£›‚¬èJ¡ C‚è™èÀ‚°ˆ b˜¾ 裇ðF™ Iè Þ¡Pò¬ñò£îÞì‹ õA‚A¡øù. îó¾è¬÷»‹ ܈îó¾èO¡e¶ G蛈îŠð´‹ ªêò™ð£´è¬÷»‹ 弃° «ê˜ˆ¶, C‚è™èÀ‚°ˆ b˜¾è£μ‹ Þ‰î õNº¬ø¬òŠ
ªð£¼œ«ï£‚° Góô£‚è‹ 
õöƒA»œ÷¶.«õÁ ªê£ŸèO™ ÃÁõªîQ™, îó¾‚ ÃÁèO¡ ªî£°F, «õÁHø ªêòŸÃÁè¬÷ ܬö‚è£ñ«ô, ªêò™ð£´è¬÷ G蛈¶õèŸøCÁ °¿‚è÷£èŠ HK‚èŠð´Aø¶. Þˆî¬èò î󾂰¿ ÜîŸè£ùªêò™ð£´èÀì¡ «ê˜ˆ¶
ÞùŠªð£¼œ 
- ²¼‚èñ£è -
ªð£¼œ 
 
(object)
âùŠð´Aø¶. ªêò™ð£´èœ, ªð£¼O¡ ð‡Hò™¬ð à혈¶A¡øù.ï승ôèŠ ªð£¼¬÷‚ èEŠªð£P GóL™ ⴈõ Þ‰îŠ
ªð£¼œ 
輈¶¼ àî¾Aø¶.â´ˆ¶‚裆ì£è, å¼ èEŠH¬ò
(Calculator)
«ï£‚°ƒèœ. Ü
 G¬ô 
 
(State),
 
ð‡Hò™¹ 
 
(Behaviour)
ÝAò¬õ àœ÷ù.
 G¬ô 
â¡ð¶,c÷ Üèô‹, ªð£ˆî£¡èœ, 裆CˆF¬ó, ªêòŸ°Pèœ «ð£¡ø Üøˆ«î£Ÿøˆ¬î‚ °P‚A¡ø¶.
ð‡Hò™ 
¹ â¡ð¶, Æì™, èNˆî™,G¬ùõèˆF™ «êIˆî™, G¬ùõ般î ÜNˆî™ «ð£¡ø Üêò™ð£´è¬÷ à혈¶A¡ø¶.
ðì‹ 1.1 Ü®Šð¬ì‚ èEŠH
ªêò™ð£´èœîó¾è¬÷àœO´õîŸè£ùªð£ˆî£¡èœªêò™ð£´èœ, îó¾èœ,M¬ìè¬÷‚ 裆´‹è£†Cˆ F¬ó
 
3
ªð£¼œ«ï£‚° Góô£‚è ªñ£NJ™ å¼
èEŠH 
â¡ð¶ Þšõ£Á«ï£‚èŠð´Aø¶:îó¾è¬÷»‹ ܬõ ªî£ì˜ð£ù ªêòŸÃÁè¬÷»‹
ªð£¼œèœ 
âùŠð´‹ Üô°è÷£è‚ °¿õ£‚°‹ ªêòô£‚è‹
à¬øªð£Fò£‚è‹ 
(Encapsulation )
â¡Â‹ 輈¶¼¾‚° õN õ°‚Aø¶.
ªð£¼œ - èEŠHîó¾èœ:
Number1,result, operator, Number_backup
ªêò™ÃÁèœ:
Additon()Subtraction()Erase_Memory()Display_Result()
ªð£¼œ 
â¡ð¶ ªî£ì˜¹¬ìò ªêòŸÃÁèœ, Ü„ªêòŸÃÁèÀ‚è£ù îó¾èœ ÝAòõŸ¬ø‚ ªè£‡ì å¼ °¿õ£°‹.
ªð£¼œ 
â¡ð¶, °PŠH†ì ªêòŸðóŠ¹ì¡ îò, îŸê£˜¹ªè£‡ì å¼õ¬èˆ ¶¬í Gó™ Ý°‹.îó¾è¬÷»‹ ªêòŸÃÁè¬÷»‹ å¼
ªð£¼œõ¬óò¬ø‚°œ 
å¡ø£èŠ H¬íˆ¶¬õ‚°‹ ªêò™¸†ð‹
à¬øªð£Fò£‚è‹ 
âùŠð´Aø¶.å¼ õƒA‚èí‚°, ñ£íõ˜, ðø¬õ, 裘, è£L «ð£¡ø¬õG¬ô ñŸÁ‹ ð‡Hò™¹ ÝAòõŸ¬ø 弃«è ªðŸÁœ÷ù â¡ð¬îâOî£è‚ è£íº®»‹. ï¬ìº¬ø õ£›M™ è£íŠð´‹ à‡¬ñò£ùªð£¼œè«÷£´ àœ÷ åŸÁ¬ñ«ò èEŠªð£P GóL¡ ªð£¼œèÀ‚°ÜõŸP¡ ê‚F¬ò»‹ ðò¡ð£†¬ì»‹ õöƒ°A¡ø¶. ªñ¡ªð£¼œGó™èO™ à‡¬ñŠ ªð£¼œè¬÷ à¼õA‚°‹ ðE¬ò
ªð£¼œèœ 
(Objects)
âO¬ñŠð´ˆF»œ÷ù.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->