Documente Academic
Documente Profesional
Documente Cultură
uslng C++
8 L 3
Lh
SemesLer
09LC364
laculLy rof Sankar uaslga
SLarL Cff
W 1exL 8ook
S 8 Llppman ! La[ole C++ rlmer" Addlson Wesley
3
rd
LdlLlon 2000
W 8eference 8ooks
1 Cohoon and uavldson C++ rogram ueslgn An
lnLroducLlon Lo rogrammlng and Cb[ecLCrlenLed
ueslgn" 1MP publlcaLlon 3
rd
LdlLlon 2004
2 8 Lafore Cb[ecL CrlenLed rogrammlng uslng C++"
CalgoLla ubllcaLlons 2004
W Pave a C++ compller / luL handy for Lrylng ouL
exerclses and asslgnmenLs
Some example C++ compllers / luLs are 1urbo C++ %luL
from 8orland) Dev C++ %luL from 8loodshed SofLware)
CeLLlng SLarLed
W rograms ofLen are wrlLLen ln response Lo some
problem or Lask Lo be solved
W Cne meLhod of solvlng a blg problem ls Lo break
lL down lnLo a number of smaller problems
Lhese smaller problems are easler Lo solve Lhls
sLraLegy ls known as divide ond conquer and
stepwise refinement
W 1o solve problems we Lyplcally use sequence of
sLeps called o/qorithm
A Sample C++ rogram
// My flrsL program
#lnclude losLream
vold maln%)
Comment
reprocessor D|rect|ve
Iunct|on Name