SlideShare a Scribd company logo
1 of 202
Download to read offline
4)UICK START SERIES ..
~UICK START SERlE~.
1).'-'L
J'l'f-!J~r-&R~LJ1;£~J...fJ,tt.:J.~Jib~t-SC++IJ!~~
-v.!J~~L)P(Ii~~
2)......,L
&R;;v.:zui~-v.rJ~AJ,~i~.wJJ?c++J
v.rjJ1l:)~J
3)......,L
-Lv!'~~~~'-ALJ'}'~J':t.~'"::'rJ
. 4;?.....,L
~IC++Jf'~~J~..JJJ;I.)!c;T'{-'f-~~;,~
-v.!£~J~;jl.)!v~i..v''f-(~~derived~Cl.)!
s).~~
.~JI};}'~if!.-Lu:.f~J}L~(v!-.£.t/,{~"-''~J'-r-11.f­
_('-)ft)~L)Pf"::'l~~y!f. .
6/.'-'L
J!.{rrJ"/~'~'".;1fi-r-IIJ!if.'f-I.I-'-ALj.JL#I~
-ct~~~/~.,. ----,
7_~,_,ft.·•. •
-L~?v!'-~~L-.£.,J{~-5-r-'l.l-v'fs~trc++
•
[lUlCK START SERIES
•
C++
•
~' ,,.;·,,•
rcL~JI..I<J.~.-r~
c....J!,;r.;.;JI.,:;~IJdo
•; ' f"'£ • • • ("" "' :. • ~ f.":I -" . f H" . f"'£ ( ""
~.mlq·,l{ J_,bt.f~ "':"'CJ:' -I.).!'?=-~--" I l..f?v! c;;rc'..£.1..1,{ ~JJJiq·JIJ5-' ';"'I('
!,JJr.J;~J~.;:..(. V:.f-,;.~~~ uJv~~./.'r!J)~;2._£_~..:.-L}vJ)Y.J~,;;{
7-~)v......;)J'~,;.~yl;)'f.~(i!{(t..JH_~Jt.~r.uiJ;ot})r.;u=~,vv.;tr.S..:.-~.?.'t/~a(vR7-
J~ J'('t) ~..:.-L}vJ)Y.V:'-.~~L~,;;{/(;)t(fi..;.~,tvi'o;t.ttu:f;(~)~,J'~,vvf.r.(
';"'TV:v'-7-J)~;~cr~v:'-.~~L&R~.~,t~,,LV:Lr.2£.~~JJI..:.-~v'-u.!
vr.t-f~,V:-7-!J,J"IJLf('t)~..::.-L}vJ)Y.J'vt.~,,~)~,J...t,;;{ ;f..~,t~,,f
_,JLT-v..I.__Lf
v:C++v:(;)t:-f~~~vR7-;j..~,,J~,,[ P-JI, Lr.J~lOJ~)~~v:~J ~'~~-
v.cf;/v•-v.r~;fvY(v."-A L i Rv,L.Yo=..r-r-"'.;>! J'v•+ k"vir(.,v..;'
l.1{d:..~,t.:;:- J',f"fJ'L~V:l;}p(;)vi.J,IoJv~(J,y.LC++V:"':"'Cl,JILV: Lr.;:{J
V--tY,_;t_LJ.~~);&P-c++~J--"J'-tYvtLJY..~i'!P!L.::.:>uJJ~-Tf~d!.. . -: "
!J)cf"{}I£~Jio,~Lv'-f-v~~~J--"JJC:..~(;t(fCt,_;,,.li.~,II.).!"':"'IJ.I..:.-vJ
U: (if...::.-~('1~-V,! Z:.ILtjtf-..::.-~1.?.L (;)lv!P!JJI.,:.,l}ly~~ J.;;;0
/ )JJIJ!if--.:;=-
vV"(L~r.;:"--'L L 1.11L1.1)~(/-,f.,u,f.J'[ Rv•~Uu..rif.J"?J::ul..--: . .. -: .. -: ...
fvr. t-f~~V: "Practice makes a man perfect" f 7-tf-..:.-,t,f:.?.~,IL t,)Yi (t, IJt Z....t
u!_('¢)[;l}J?I.~,?d:.J~fi"ol/.i7-Jt(J'J:.,JJiV:vlv!JJ?L';"' r_,JL tk:;"':"'CJ::f';"'i
dJt,j..f(.).J{~
M C.S, B.C.S, E-Commerce
zaki352@ hotmail.com
-fV-"'.1(;)y-.AP4-(';"' r
L vHr.)'!c.- V: d'-7- lS'.1.1(;) ~ ..,::;J(p S~..::1,-1 ~.fo.1JI uJ?J,_;! i:;;-J ~;1..-:..,IY,_;-1
.JJIJJ,-L '":"CJ!J'I.;JJ V~Uv (~~1,_;-1 L U.yJ)_JJlh.~J.fou! ~.1S~Ji:;;-IJYc.- ....t~~~
!JI'.)!_JJI}c.-:c,!f~~~v!~ALLJ(;)b:c.-4-)/,-/(Concepts) uY(Ltk'...£.1),'~
-v.n(.;)?'v!;r......>~;~;J~.~,I.._..;>~~,~..tu~.eJlP!~x'=--'/.~_,bLf~V:~. .. .. . ' . ':' ~
(.;)ltJ! v,..;:t~_7.~L;1;~c.....::,;.;,~~~~7~7'6r.u.n.~P..,.fr'":"~'d'V-~,~L(.;)1
(Director C.B.A)->~J:}..i'~ •
(M.I.S)~L.>JGI~~,{' •
y,(,.JI •
~;....{;,!.r~ •
~....JUVI.i •
(M.C.S, OCP, M.C S.D)ot;.('~ •
(Computer Operator)J~r.th.J •
dJIJj..frJ.;Jr?.:
M.C.S, B.C.S, E-Commerce
-lJ.n(.;)?'~4- ('":"~1
(Director CIMIT)~L.>....J/1../LJy •
(,.7./~~r...f-)~L.>t;Jt,;/1.J •
LS'.~)t;J'/(~~J{' •
(;)l;..i''c"r •
(fit;Jt?) •
J/v:,J .
.. .t 111~
13 ................................................................... ~ 411111tfo. ~ ~"' •
15 ............................................................J&&i" ~~~J~ C++ m16........................................................................................................ ~71/'Jd ...
17 ................................................................................................................ /P- ..
17....................................................................................................... b~rJC++ .,.J
• 18...........................................................................................u;(/.!JJ~k--JC++ .-
18................................................................................................J~t,;i(71h..(C-t+ .-J
18....................................................................................................~(lh{C++ .-
21 ............................................................................................................ .f.'-11..5;(' ..
21 .............................................................................................. ;/~-~l.l,l;ji,,.f ..
21 .........................................................................................................?-fJur- -,
22............................................................................................................ ~l:(Cj ..
23......................................................................................................... ~~lCJint .-
24..................................................................................................... ~i(C,;,.}-f') ..
, . ~.
25 ............................................................................................ ~~lC)~I{.....t=P .-
25 ..............................................................................................;):./IArithmJt..> .-
27...................................................................................................~... ..::,.;!j,.fj..<' .,.J
27......................................................................................................... ;f..<TLf~-! .-
. • ,., ../ "" r 4f;
28......................................................................................... ~r< t~lr- I~~ I .-i
29....................................................................................................... ;;..<rJ*~ ..
30......................................................................................................... t.:)5')?..;~ -
32 ........................................................................................................~t.:JIJ)' .-
33 .................................................................................................................. ,y-- -
37 .• :. ~•• •• ' .--~ • J ."':".~ ~2• • • •••••••••••• • •••••••••••• • •••••••••••••••••••••••••••••••• • •••.J;'C#'-~ .,..-~ J.,r- ~
j,J ··f'38................................................................................................. ~~ '/ -
38........................................................................................................ ~~if ..
39 ................................................................................................ ~~else-if .-
C++
101
. .
41 ...........................................................................................~~Nested-lf ....
. .
42................................................................................................ ~~SWitCh .-J
. • "" (.>
45........................................................................................................~;-..; 1~.,.~::· -
46 .....................................................................................................":(fif.-1tJt~ -
48 ..................................................................................................................v:;,. .,_J
48 ..............................................................................................................";"}for .-J
50................................................................................................ ";"}Nested-for .-J
52...............................................................................................................,}while -?
53.........................:..........................................................................";"}do-while .-J
54...................................................................................................,~~...[/. .,_J
•
54................................,........................................................... ~~continue .-
•
55.......................................................................................,........... ~~goto •
.g. • ~.
55............................................................................................... v---:,1.;.1::1...!...9( -
57
:.G .z. •.•
.................................................................................................v--v i.~~ .-
59 .....................................................................................................,?J~;.~Jt .,_J
60................................................................................................... ?..;~c)}-.1 -
62.......................................................................................................... ...:.-)XI;.:; .,_J
68...................................................................................................JJ-.~J~Xl;.:; .-
70 ............................................................................................................l.:)~.f-.1 -
72....................................................................................................J"j}.JJJI? .-
73....................................................................................................~hl...!)~; -
75................................................................................................................. ~ -
85 ................................................................................... ~~~~,jo!j, m86...................................................................................................................~.11 -
89........................................................................................................0/Linear .-
90........................................................................................................... o/Jf~ -
91 ..................................................................................................... ~)~;1~.~1 -
111
9 4 ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo '-....;/~}-~Jr}- ....,
98oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooof;.- ....
9 8 o . . . . oo . . . . . . OOOoooooooooooooooooooooooooooo . . . . . . . . o . . . . o . . . . . . oooo . . . . . . ooooooo . . . o . . . . o . . . . o .. o
000
u:r/.v...I';- ....
1010000ooooooooooooooooooooooooooooooooooooooooooooooooooooooooOoooooooooooooooOoooooooooooooooo oo oooooo tf(J-...{_;- ....
1 0 2 . . 0000ooooooooooooooooo.ooooooooOoooooo.ooOooooooo.oooooooooooooooooooooooooooooooooooooooooooooooooo t/~1(...{_;- ....
106o••••••oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo oo oooooooooo ..oooo if'" ....
113..............................:................................................................ j~~~ m1 1 4 .. ooooooooooooooooooooooooooooooooooooooooooooooooOOOoooooooooooooooooooooooooo.oooooooooooooooooooooooooo.ooo..J.;(.,i ....
1 1 5 . . . . . . . oooooooooooooooooooooooooooooOooooooooooooooOOoOooooooooooooooooooooo.ooooooooooooooooooooooooooooooooo;J).J ....
1 1 6 . . o . . . . . . o.oooooooo . . . . . . . ooo . . . . . o . . . . . . ooooooooooooooooooooooo . . . . o . . . . . . . . Oooooooooooooo . . . . ooo . . . . . oooooooo Y'? ....
1 1 8 . . . . . . . . . . . . . . . . . . . . . . . . . . o .. ~. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0000000 00000oOOo :CJI~/Y'i ....
119OoOoooooooooooOooooooOOoOooooooooooooooOoOoooOOooOOooooooooooooooooooooooooooooooooooooOOOOooOoooo tf(.;).}:.;J)~ ....
:.(.1
1 2 1 . . . . . . . . . . . . . . . . . . o . . . . . . . . . . . . o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . o . . . . . . . . . . . . . . . . o . . . . . . . Y'to- ....
.:.f1 ~ ·, ~c r-1 2 3 . . . . . . o.o . . . . oooo . . . . o . . . ooo . . . . . . . O .. oooooooooo .. oo . . . . . . . o . . . . : . . OOOoOOOooooooo . . . ooo . . . . . :,;----....tj-.JJv-:/ -
1 2 5 . . . oooooooooooooooooooooooOOooooooooooooooooooooooOooooooooooOooOooOOOoooooooo.oooooooooooooooo0oOooooooooOo.}:-{.1~ ....
1 2 6 . . . . . . . . . 0oooOOoooooooooooooooooOOOOOooOoOoOOoooooo00000oOooo00oooOoooooOoooooooooooooooooooooooooooooo.}:-{.1~; ....
1 2 6 . . o .. oo . . . . o •• oooo . . . . ooooooo . . . . oooooooooooooooo . . . . . . . . . . . . . . oooooooo . . . . . Ooo . . . o . . . oo . . . . . . . oo •• o Y'?i;Y'? ....
1 2 7 •• o.oo•••o······•oo········o··•ooooo····•oooooo•o•oooooooooooooo•••ooooo•o··•ooo••oooo····•oooo•o••oo••···•ooooo• :C.JI ....,
129.o•oooooOOOOOoooooooooOooooooooooooooooooooooooooooooooooooooooooooooooOOoooooooooooooooooooOooooooooooooooooooo , ; : - - ....
134.............................................................................~- ~~ ~~ m
135.oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo;oooo?oooooo;,;(',;- ....
1350ooooOooooooooooooOOOo000oOo0oOOOoOooOoooooooooooooooooooooooooooooooOoOoOOOOooOoooooooooo tfv-"'lh17.~/ ....
1 3 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0 0 . . . . . . . . . . . . . . . . . . . . . . . . . . 0 0 . . . . . . . . . . . . . . . . . . 0 0 0 . . . . . . . . . . . . . . 0 .. 0 0 .. YltAJ- ....
1 4 0 0 0 0 0 0 •• 0. 0. 0 0 •• 0. 0 .. 0 0. 0. 0 0 0. 0 0 0 0 0 0 0 0 •• 0 0 0 0 0 . . . 0 •• 0 0 0 . . . . . . . . 0 0 0 0 •• 0 0 0 0 0. 0 •• 0 0 0 0. 0 0 0 0 0 0 . . . . 0 0 0 0 •• 0 ; / " ; - N~sted ....,
~ "'1 4 1 . . . . . . . . . . . . o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . o . . . . . . . . . . . . . . o . . . . . . . . . . . . . . . . . . o . . . . . . . . . . . . . . . . (.1¢'~~;~~;./;i ....
144.00000ooOo0oOOOoooooOoOOooooooooooooOOOooooooOooooooooOooo000oOOOoooooooooooooooooooooooOOoooooooooooooooooooo /-t( ....
1440000ooooooooo . . . . . . ooo . . . . . . oooo . . . . . o . . . . . . 000000oooooooooooooooooo . . . . . . . . . OOooo . . . . . . . . . o . . . . . oo J!.~";vtt ....
146.....oo . . . . . . . . . o . . . . . . . oooo . . . . . . . oooooo •• ooooooooooo.o . . . . . o . . . . . . ooooooooo . . . . . . o.ooo,; J.;J J'.....£l;:.JJI..:..CiI/ -.~
1 4 9 . . . oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo:.-. . . . . o y ; r l ....
151 ......o .. oo . . . . . . o . . . . . . . . . . . . o.o . . . . . . . . . . . . . . . . . O .. OooOooo . . . . . . . . . . . . . . . . . . . ooo . . . o .. o . . . . . . 0 JJ}.;,!J/ ....,
1 5 3 . . . . . . . . . . . . . . . . 0 . . . o . . . . o.oooo . . . . . . . . . oooooooooooooo .. o . . . . . . . . ooo . . . . . . . ooooooooo . . . . . . . . . ~h/,~}!~,l -.~
163
C++
15 * 7 * 9 = 945
~~t:stdiam( )~...fl."'v.!£.fiJL-;f~Jiwidth, height, depth :Jr·IIJt,JIJL(ivC('/,{J'
-v.r2CJJc-.~,,...fl~'-v.rz:.v-~;r-~JL-i~J;J-~
..YY-!6.nrJecJ}-.~ 2.2o/.J~
//header files
int volume (.);
void values (int, int);
main(
clrscr( ) i
int numberl;
int number2;
int answer;
char ch;
do
cout <<"Main method" <<endl;
cout <<"Function calling" <<end;
values (10, 31);
answer=volume( ) ;
cout <<"Result is:" <<answer;
cout <<endl; <<"Do you want to countinue?";
cin >>ch;
while(ch=='y': :ch=='y' );
cout <<"End of Program";
getch( ) ;
void values(int r, int h)
number1 = r;
number2 h;
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com
C++ urdu tutorial book | blogspot.com

More Related Content

What's hot

Lei municipal 0042-1992_de_14_de_abril_de_1992
Lei municipal 0042-1992_de_14_de_abril_de_1992Lei municipal 0042-1992_de_14_de_abril_de_1992
Lei municipal 0042-1992_de_14_de_abril_de_1992
watsonlopes
 

What's hot (20)

Benamor.belgacemقضية الأغلبية من الوجهة الشرعية د.أحمد الريسوني
 Benamor.belgacemقضية الأغلبية من الوجهة الشرعية   د.أحمد الريسوني Benamor.belgacemقضية الأغلبية من الوجهة الشرعية   د.أحمد الريسوني
Benamor.belgacemقضية الأغلبية من الوجهة الشرعية د.أحمد الريسوني
 
IIT JEE PHYSICS Class Notes by Ambarish Srivastava (Part 3)
IIT JEE PHYSICS Class Notes by Ambarish Srivastava (Part 3)IIT JEE PHYSICS Class Notes by Ambarish Srivastava (Part 3)
IIT JEE PHYSICS Class Notes by Ambarish Srivastava (Part 3)
 
Lei municipal 0042-1992_de_14_de_abril_de_1992
Lei municipal 0042-1992_de_14_de_abril_de_1992Lei municipal 0042-1992_de_14_de_abril_de_1992
Lei municipal 0042-1992_de_14_de_abril_de_1992
 
IIT JEE Physics Class Notes by Er. Ambarish Srivastava (AIR 538) part 5
IIT JEE Physics Class Notes by Er. Ambarish Srivastava (AIR 538)  part 5IIT JEE Physics Class Notes by Er. Ambarish Srivastava (AIR 538)  part 5
IIT JEE Physics Class Notes by Er. Ambarish Srivastava (AIR 538) part 5
 
IIT JEE PHYSICS Class Notes by Ambarish Srivastava (Part 2)
IIT JEE PHYSICS Class Notes by Ambarish Srivastava (Part 2)IIT JEE PHYSICS Class Notes by Ambarish Srivastava (Part 2)
IIT JEE PHYSICS Class Notes by Ambarish Srivastava (Part 2)
 
Benamor.belgacemآفاق الاستثمارفي الجهات الخيرية
 Benamor.belgacemآفاق الاستثمارفي الجهات الخيرية Benamor.belgacemآفاق الاستثمارفي الجهات الخيرية
Benamor.belgacemآفاق الاستثمارفي الجهات الخيرية
 
جمال الجزيري بدايات قلقة مجموعة قصصية
جمال الجزيري بدايات قلقة مجموعة قصصيةجمال الجزيري بدايات قلقة مجموعة قصصية
جمال الجزيري بدايات قلقة مجموعة قصصية
 
Canada foia part 01 - pages 1-300
Canada   foia part 01 - pages 1-300Canada   foia part 01 - pages 1-300
Canada foia part 01 - pages 1-300
 
Benamor.belgacemالاقتصاد الإسلامي أسس ومبادئ وأهداف
 Benamor.belgacemالاقتصاد الإسلامي أسس ومبادئ وأهداف Benamor.belgacemالاقتصاد الإسلامي أسس ومبادئ وأهداف
Benamor.belgacemالاقتصاد الإسلامي أسس ومبادئ وأهداف
 
Benamor.belgacemالحرية والمواطنة لؤي صافي
 Benamor.belgacemالحرية والمواطنة   لؤي صافي Benamor.belgacemالحرية والمواطنة   لؤي صافي
Benamor.belgacemالحرية والمواطنة لؤي صافي
 
Tal5es fwaed
Tal5es fwaedTal5es fwaed
Tal5es fwaed
 
Benamor.belgacemتكوين ملكة المقاصد دراسة نظرية لتكوين العقل المقاصدي
 Benamor.belgacemتكوين ملكة المقاصد   دراسة نظرية لتكوين العقل المقاصدي Benamor.belgacemتكوين ملكة المقاصد   دراسة نظرية لتكوين العقل المقاصدي
Benamor.belgacemتكوين ملكة المقاصد دراسة نظرية لتكوين العقل المقاصدي
 
Benamor.belgacemالمصاحف المنسوبة للصحابة والشبهات المثارة حولها
 Benamor.belgacemالمصاحف المنسوبة للصحابة والشبهات المثارة حولها Benamor.belgacemالمصاحف المنسوبة للصحابة والشبهات المثارة حولها
Benamor.belgacemالمصاحف المنسوبة للصحابة والشبهات المثارة حولها
 
جمال الجزيري أصوات نهر قديم ديوان شعر قصائد
جمال الجزيري أصوات نهر قديم ديوان شعر قصائدجمال الجزيري أصوات نهر قديم ديوان شعر قصائد
جمال الجزيري أصوات نهر قديم ديوان شعر قصائد
 
جمال الجزيري ونظل على الإشراق ديوان شعر قصائد
جمال الجزيري ونظل على الإشراق ديوان شعر قصائدجمال الجزيري ونظل على الإشراق ديوان شعر قصائد
جمال الجزيري ونظل على الإشراق ديوان شعر قصائد
 
رزنامة حصص النفايات البلاستيكية لشهر نوفمبر 2017
رزنامة حصص النفايات البلاستيكية لشهر نوفمبر 2017رزنامة حصص النفايات البلاستيكية لشهر نوفمبر 2017
رزنامة حصص النفايات البلاستيكية لشهر نوفمبر 2017
 
Benamor.belgacemالتعبير عن الرأي ضوابطه ومجالاته في الشريعة الإسلامية
 Benamor.belgacemالتعبير عن الرأي   ضوابطه ومجالاته في الشريعة الإسلامية Benamor.belgacemالتعبير عن الرأي   ضوابطه ومجالاته في الشريعة الإسلامية
Benamor.belgacemالتعبير عن الرأي ضوابطه ومجالاته في الشريعة الإسلامية
 
Chemistry practical [www.itmona.com]
Chemistry practical [www.itmona.com]Chemistry practical [www.itmona.com]
Chemistry practical [www.itmona.com]
 
Benamor.belgacemكتاب الإسلاميون والربيع العربي ( الصعود ، التحديات ، تدبير ا...
 Benamor.belgacemكتاب الإسلاميون والربيع العربي ( الصعود ، التحديات ، تدبير ا... Benamor.belgacemكتاب الإسلاميون والربيع العربي ( الصعود ، التحديات ، تدبير ا...
Benamor.belgacemكتاب الإسلاميون والربيع العربي ( الصعود ، التحديات ، تدبير ا...
 
المختصر الجامع لأصول رواية قالون عن نافع
المختصر الجامع لأصول رواية قالون عن نافعالمختصر الجامع لأصول رواية قالون عن نافع
المختصر الجامع لأصول رواية قالون عن نافع
 

More from Right

More from Right (6)

Hibernate notesforprofessionals
Hibernate notesforprofessionalsHibernate notesforprofessionals
Hibernate notesforprofessionals
 
Git notesforprofessionals
Git notesforprofessionalsGit notesforprofessionals
Git notesforprofessionals
 
Bash notesforprofessionals
Bash notesforprofessionalsBash notesforprofessionals
Bash notesforprofessionals
 
Angular2 notesforprofessionals
Angular2 notesforprofessionalsAngular2 notesforprofessionals
Angular2 notesforprofessionals
 
Excel vba notesforprofessionals
Excel vba notesforprofessionalsExcel vba notesforprofessionals
Excel vba notesforprofessionals
 
Autocad in urdu | RIghttech Youtube Channel | Autocad Full Book In Urdu
Autocad in urdu | RIghttech Youtube Channel | Autocad Full Book In UrduAutocad in urdu | RIghttech Youtube Channel | Autocad Full Book In Urdu
Autocad in urdu | RIghttech Youtube Channel | Autocad Full Book In Urdu
 

C++ urdu tutorial book | blogspot.com

  • 2. ~UICK START SERlE~. 1).'-'L J'l'f-!J~r-&R~LJ1;£~J...fJ,tt.:J.~Jib~t-SC++IJ!~~ -v.!J~~L)P(Ii~~ 2)......,L &R;;v.:zui~-v.rJ~AJ,~i~.wJJ?c++J v.rjJ1l:)~J 3)......,L -Lv!'~~~~'-ALJ'}'~J':t.~'"::'rJ . 4;?.....,L ~IC++Jf'~~J~..JJJ;I.)!c;T'{-'f-~~;,~ -v.!£~J~;jl.)!v~i..v''f-(~~derived~Cl.)! s).~~ .~JI};}'~if!.-Lu:.f~J}L~(v!-.£.t/,{~"-''~J'-r-11.f­ _('-)ft)~L)Pf"::'l~~y!f. . 6/.'-'L J!.{rrJ"/~'~'".;1fi-r-IIJ!if.'f-I.I-'-ALj.JL#I~ -ct~~~/~.,. ----, 7_~,_,ft.·•. • -L~?v!'-~~L-.£.,J{~-5-r-'l.l-v'fs~trc++
  • 5. •; ' f"'£ • • • ("" "' :. • ~ f.":I -" . f H" . f"'£ ( "" ~.mlq·,l{ J_,bt.f~ "':"'CJ:' -I.).!'?=-~--" I l..f?v! c;;rc'..£.1..1,{ ~JJJiq·JIJ5-' ';"'I(' !,JJr.J;~J~.;:..(. V:.f-,;.~~~ uJv~~./.'r!J)~;2._£_~..:.-L}vJ)Y.J~,;;{ 7-~)v......;)J'~,;.~yl;)'f.~(i!{(t..JH_~Jt.~r.uiJ;ot})r.;u=~,vv.;tr.S..:.-~.?.'t/~a(vR7- J~ J'('t) ~..:.-L}vJ)Y.V:'-.~~L~,;;{/(;)t(fi..;.~,tvi'o;t.ttu:f;(~)~,J'~,vvf.r.( ';"'TV:v'-7-J)~;~cr~v:'-.~~L&R~.~,t~,,LV:Lr.2£.~~JJI..:.-~v'-u.! vr.t-f~,V:-7-!J,J"IJLf('t)~..::.-L}vJ)Y.J'vt.~,,~)~,J...t,;;{ ;f..~,t~,,f _,JLT-v..I.__Lf v:C++v:(;)t:-f~~~vR7-;j..~,,J~,,[ P-JI, Lr.J~lOJ~)~~v:~J ~'~~- v.cf;/v•-v.r~;fvY(v."-A L i Rv,L.Yo=..r-r-"'.;>! J'v•+ k"vir(.,v..;' l.1{d:..~,t.:;:- J',f"fJ'L~V:l;}p(;)vi.J,IoJv~(J,y.LC++V:"':"'Cl,JILV: Lr.;:{J V--tY,_;t_LJ.~~);&P-c++~J--"J'-tYvtLJY..~i'!P!L.::.:>uJJ~-Tf~d!.. . -: " !J)cf"{}I£~Jio,~Lv'-f-v~~~J--"JJC:..~(;t(fCt,_;,,.li.~,II.).!"':"'IJ.I..:.-vJ U: (if...::.-~('1~-V,! Z:.ILtjtf-..::.-~1.?.L (;)lv!P!JJI.,:.,l}ly~~ J.;;;0 / )JJIJ!if--.:;=- vV"(L~r.;:"--'L L 1.11L1.1)~(/-,f.,u,f.J'[ Rv•~Uu..rif.J"?J::ul..--: . .. -: .. -: ... fvr. t-f~~V: "Practice makes a man perfect" f 7-tf-..:.-,t,f:.?.~,IL t,)Yi (t, IJt Z....t u!_('¢)[;l}J?I.~,?d:.J~fi"ol/.i7-Jt(J'J:.,JJiV:vlv!JJ?L';"' r_,JL tk:;"':"'CJ::f';"'i dJt,j..f(.).J{~ M C.S, B.C.S, E-Commerce zaki352@ hotmail.com -fV-"'.1(;)y-.AP4-(';"' r
  • 6. L vHr.)'!c.- V: d'-7- lS'.1.1(;) ~ ..,::;J(p S~..::1,-1 ~.fo.1JI uJ?J,_;! i:;;-J ~;1..-:..,IY,_;-1 .JJIJJ,-L '":"CJ!J'I.;JJ V~Uv (~~1,_;-1 L U.yJ)_JJlh.~J.fou! ~.1S~Ji:;;-IJYc.- ....t~~~ !JI'.)!_JJI}c.-:c,!f~~~v!~ALLJ(;)b:c.-4-)/,-/(Concepts) uY(Ltk'...£.1),'~ -v.n(.;)?'v!;r......>~;~;J~.~,I.._..;>~~,~..tu~.eJlP!~x'=--'/.~_,bLf~V:~. .. .. . ' . ':' ~ (.;)ltJ! v,..;:t~_7.~L;1;~c.....::,;.;,~~~~7~7'6r.u.n.~P..,.fr'":"~'d'V-~,~L(.;)1 (Director C.B.A)->~J:}..i'~ • (M.I.S)~L.>JGI~~,{' • y,(,.JI • ~;....{;,!.r~ • ~....JUVI.i • (M.C.S, OCP, M.C S.D)ot;.('~ • (Computer Operator)J~r.th.J • dJIJj..frJ.;Jr?.: M.C.S, B.C.S, E-Commerce -lJ.n(.;)?'~4- ('":"~1 (Director CIMIT)~L.>....J/1../LJy • (,.7./~~r...f-)~L.>t;Jt,;/1.J • LS'.~)t;J'/(~~J{' • (;)l;..i''c"r • (fit;Jt?) • J/v:,J .
  • 7. .. .t 111~ 13 ................................................................... ~ 411111tfo. ~ ~"' • 15 ............................................................J&&i" ~~~J~ C++ m16........................................................................................................ ~71/'Jd ... 17 ................................................................................................................ /P- .. 17....................................................................................................... b~rJC++ .,.J • 18...........................................................................................u;(/.!JJ~k--JC++ .- 18................................................................................................J~t,;i(71h..(C-t+ .-J 18....................................................................................................~(lh{C++ .- 21 ............................................................................................................ .f.'-11..5;(' .. 21 .............................................................................................. ;/~-~l.l,l;ji,,.f .. 21 .........................................................................................................?-fJur- -, 22............................................................................................................ ~l:(Cj .. 23......................................................................................................... ~~lCJint .- 24..................................................................................................... ~i(C,;,.}-f') .. , . ~. 25 ............................................................................................ ~~lC)~I{.....t=P .- 25 ..............................................................................................;):./IArithmJt..> .- 27...................................................................................................~... ..::,.;!j,.fj..<' .,.J 27......................................................................................................... ;f..<TLf~-! .- . • ,., ../ "" r 4f; 28......................................................................................... ~r< t~lr- I~~ I .-i 29....................................................................................................... ;;..<rJ*~ .. 30......................................................................................................... t.:)5')?..;~ - 32 ........................................................................................................~t.:JIJ)' .- 33 .................................................................................................................. ,y-- - 37 .• :. ~•• •• ' .--~ • J ."':".~ ~2• • • •••••••••••• • •••••••••••• • •••••••••••••••••••••••••••••••• • •••.J;'C#'-~ .,..-~ J.,r- ~ j,J ··f'38................................................................................................. ~~ '/ - 38........................................................................................................ ~~if .. 39 ................................................................................................ ~~else-if .-
  • 8. C++ 101 . . 41 ...........................................................................................~~Nested-lf .... . . 42................................................................................................ ~~SWitCh .-J . • "" (.> 45........................................................................................................~;-..; 1~.,.~::· - 46 .....................................................................................................":(fif.-1tJt~ - 48 ..................................................................................................................v:;,. .,_J 48 ..............................................................................................................";"}for .-J 50................................................................................................ ";"}Nested-for .-J 52...............................................................................................................,}while -? 53.........................:..........................................................................";"}do-while .-J 54...................................................................................................,~~...[/. .,_J • 54................................,........................................................... ~~continue .- • 55.......................................................................................,........... ~~goto • .g. • ~. 55............................................................................................... v---:,1.;.1::1...!...9( - 57 :.G .z. •.• .................................................................................................v--v i.~~ .- 59 .....................................................................................................,?J~;.~Jt .,_J 60................................................................................................... ?..;~c)}-.1 - 62.......................................................................................................... ...:.-)XI;.:; .,_J 68...................................................................................................JJ-.~J~Xl;.:; .- 70 ............................................................................................................l.:)~.f-.1 - 72....................................................................................................J"j}.JJJI? .- 73....................................................................................................~hl...!)~; - 75................................................................................................................. ~ - 85 ................................................................................... ~~~~,jo!j, m86...................................................................................................................~.11 - 89........................................................................................................0/Linear .- 90........................................................................................................... o/Jf~ - 91 ..................................................................................................... ~)~;1~.~1 -
  • 9. 111 9 4 ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo '-....;/~}-~Jr}- ...., 98oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooof;.- .... 9 8 o . . . . oo . . . . . . OOOoooooooooooooooooooooooooooo . . . . . . . . o . . . . o . . . . . . oooo . . . . . . ooooooo . . . o . . . . o . . . . o .. o 000 u:r/.v...I';- .... 1010000ooooooooooooooooooooooooooooooooooooooooooooooooooooooooOoooooooooooooooOoooooooooooooooo oo oooooo tf(J-...{_;- .... 1 0 2 . . 0000ooooooooooooooooo.ooooooooOoooooo.ooOooooooo.oooooooooooooooooooooooooooooooooooooooooooooooooo t/~1(...{_;- .... 106o••••••oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo oo oooooooooo ..oooo if'" .... 113..............................:................................................................ j~~~ m1 1 4 .. ooooooooooooooooooooooooooooooooooooooooooooooooOOOoooooooooooooooooooooooooo.oooooooooooooooooooooooooo.ooo..J.;(.,i .... 1 1 5 . . . . . . . oooooooooooooooooooooooooooooOooooooooooooooOOoOooooooooooooooooooooo.ooooooooooooooooooooooooooooooooo;J).J .... 1 1 6 . . o . . . . . . o.oooooooo . . . . . . . ooo . . . . . o . . . . . . ooooooooooooooooooooooo . . . . o . . . . . . . . Oooooooooooooo . . . . ooo . . . . . oooooooo Y'? .... 1 1 8 . . . . . . . . . . . . . . . . . . . . . . . . . . o .. ~. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0000000 00000oOOo :CJI~/Y'i .... 119OoOoooooooooooOooooooOOoOooooooooooooooOoOoooOOooOOooooooooooooooooooooooooooooooooooooOOOOooOoooo tf(.;).}:.;J)~ .... :.(.1 1 2 1 . . . . . . . . . . . . . . . . . . o . . . . . . . . . . . . o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . o . . . . . . . . . . . . . . . . o . . . . . . . Y'to- .... .:.f1 ~ ·, ~c r-1 2 3 . . . . . . o.o . . . . oooo . . . . o . . . ooo . . . . . . . O .. oooooooooo .. oo . . . . . . . o . . . . : . . OOOoOOOooooooo . . . ooo . . . . . :,;----....tj-.JJv-:/ - 1 2 5 . . . oooooooooooooooooooooooOOooooooooooooooooooooooOooooooooooOooOooOOOoooooooo.oooooooooooooooo0oOooooooooOo.}:-{.1~ .... 1 2 6 . . . . . . . . . 0oooOOoooooooooooooooooOOOOOooOoOoOOoooooo00000oOooo00oooOoooooOoooooooooooooooooooooooooooooo.}:-{.1~; .... 1 2 6 . . o .. oo . . . . o •• oooo . . . . ooooooo . . . . oooooooooooooooo . . . . . . . . . . . . . . oooooooo . . . . . Ooo . . . o . . . oo . . . . . . . oo •• o Y'?i;Y'? .... 1 2 7 •• o.oo•••o······•oo········o··•ooooo····•oooooo•o•oooooooooooooo•••ooooo•o··•ooo••oooo····•oooo•o••oo••···•ooooo• :C.JI ...., 129.o•oooooOOOOOoooooooooOooooooooooooooooooooooooooooooooooooooooooooooooOOoooooooooooooooooooOooooooooooooooooooo , ; : - - .... 134.............................................................................~- ~~ ~~ m 135.oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo;oooo?oooooo;,;(',;- .... 1350ooooOooooooooooooOOOo000oOo0oOOOoOooOoooooooooooooooooooooooooooooooOoOoOOOOooOoooooooooo tfv-"'lh17.~/ .... 1 3 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0 0 . . . . . . . . . . . . . . . . . . . . . . . . . . 0 0 . . . . . . . . . . . . . . . . . . 0 0 0 . . . . . . . . . . . . . . 0 .. 0 0 .. YltAJ- .... 1 4 0 0 0 0 0 0 •• 0. 0. 0 0 •• 0. 0 .. 0 0. 0. 0 0 0. 0 0 0 0 0 0 0 0 •• 0 0 0 0 0 . . . 0 •• 0 0 0 . . . . . . . . 0 0 0 0 •• 0 0 0 0 0. 0 •• 0 0 0 0. 0 0 0 0 0 0 . . . . 0 0 0 0 •• 0 ; / " ; - N~sted ...., ~ "'1 4 1 . . . . . . . . . . . . o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . o . . . . . . . . . . . . . . o . . . . . . . . . . . . . . . . . . o . . . . . . . . . . . . . . . . (.1¢'~~;~~;./;i .... 144.00000ooOo0oOOOoooooOoOOooooooooooooOOOooooooOooooooooOooo000oOOOoooooooooooooooooooooooOOoooooooooooooooooooo /-t( .... 1440000ooooooooo . . . . . . ooo . . . . . . oooo . . . . . o . . . . . . 000000oooooooooooooooooo . . . . . . . . . OOooo . . . . . . . . . o . . . . . oo J!.~";vtt .... 146.....oo . . . . . . . . . o . . . . . . . oooo . . . . . . . oooooo •• ooooooooooo.o . . . . . o . . . . . . ooooooooo . . . . . . o.ooo,; J.;J J'.....£l;:.JJI..:..CiI/ -.~ 1 4 9 . . . oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo:.-. . . . . o y ; r l .... 151 ......o .. oo . . . . . . o . . . . . . . . . . . . o.o . . . . . . . . . . . . . . . . . O .. OooOooo . . . . . . . . . . . . . . . . . . . ooo . . . o .. o . . . . . . 0 JJ}.;,!J/ ...., 1 5 3 . . . . . . . . . . . . . . . . 0 . . . o . . . . o.oooo . . . . . . . . . oooooooooooooo .. o . . . . . . . . ooo . . . . . . . ooooooooo . . . . . . . . . ~h/,~}!~,l -.~
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61. 163 C++ 15 * 7 * 9 = 945 ~~t:stdiam( )~...fl."'v.!£.fiJL-;f~Jiwidth, height, depth :Jr·IIJt,JIJL(ivC('/,{J' -v.r2CJJc-.~,,...fl~'-v.rz:.v-~;r-~JL-i~J;J-~ ..YY-!6.nrJecJ}-.~ 2.2o/.J~ //header files int volume (.); void values (int, int); main( clrscr( ) i int numberl; int number2; int answer; char ch; do cout <<"Main method" <<endl; cout <<"Function calling" <<end; values (10, 31); answer=volume( ) ; cout <<"Result is:" <<answer; cout <<endl; <<"Do you want to countinue?"; cin >>ch; while(ch=='y': :ch=='y' ); cout <<"End of Program"; getch( ) ; void values(int r, int h) number1 = r; number2 h;