1 Jun 2013

C++ Programming(Lesson 1)







အားလံုးပဲ..မဂၤလာပါရွင္..။ ညီမ..ဟုိတေန႔က Programming အေၾကာင္းတေစ့တေစာင္းဆိုၿပီး.. Programming ေတြကုိ.. ဘယ္ကေနဘယ္လိုေလ့လာရမယ္ဆိုတာ.. ရွင္းၿပခဲ့ပါတယ္။ ဒီေန႔ကေနစၿပီး.. အေၿခခံၿဖစ္တဲ့.. C++ programming ကို.. သင္ၾကာေပးသြားမွာၿဖစ္ပါတယ္..။ အရင္ဆံုး..လိုအပ္တဲ့ software ေတြကုိ.. download ခ်လိုက္ပါေနာ္..။
Download Turbo C
Download Turbo C for windows7

- Download ဆြဲလို႔ရလာတဲ့.. zip file ကုိၿဖည္လိုက္ပါ..။
- Turbo C ဆိုၿပီး.. file တစ္ခုေပၚလာပါလိမ့္မယ္..။ အဲ့ထဲမွ.. INSTALL.EXE ကို.. ဖြင့္လိုက္ပါ..။ Install လုပ္သြားပါလိမ့္မယ္.။
- ဘယ္မွာထားမလဲဆိုၿပီး..ေမးရင္.. C: or D: ၾကိဳက္တာထားလို႔ရပါတယ္..။ box ေလးေတြ..အဆင့္အဆင့္တတ္လာပါလိမ့္မယ္..။ Enter ကုိသာ.ႏွိပ္သြားပါ..။
- Installation ၿပီးသြားရင္.. တကယ္လို႔.. C ေအာက္မွာထားခဲ့ရင္.. C:\TC\BIN\TC.EXE ကုိသြားဖြင့္လိုက္ပါ..။ D ေအာက္မွာဆုိရင္ေတာ့...  D:\TC\BIN\TC.EXE မွာရိွပါတယ္.။
- Screen အၿပာေရာင္နဲ႔..တတ္လာပါလိမ့္မယ္..။ တကယ္လို႔...သင့္ကြန္ပ်ဴတာက.. မႏိုင္ခဲ့ရင္.. "This system does not support fullscreen mode. Choose 'Close' to terminate the application" ဆိုၿပီးတတ္လာပါလိမ့္မယ္..။ Fullscreen မၿပႏိုင္လို႔..တတ္လာတာပါ..။ ဘာမွမၿဖစ္ပါဘူး..။ Ignore ကိုသြားေရြးလိုက္ပါ.. ^_^
- software design ကေတာ့.. မလွပါဘူး..။ cmd လိုပါပဲ..။ အၿပာေရာင္ screen မွာ.. code ေတြေရးရတာပါ..။ ေလာေလာဆယ္ေတာ့.. program ေရးနည္းအေၾကာင္း.. အရင္ေၿပာလိုက္ၾကရေအာင္ေနာ္..  :)

Structure of C++ program
 1. header file
 2. main program

Format
#include< header file >
void main( )
{
   program statement;
}

header file ေနရာမွာ.. ဘာေရးရလဲဆိုရင္.. iostream.h ပါ..။
iostream.h ဆိုတာ.. ဘာကိုဆိုလိုတာလဲဆုိရင္.. Input Output Stream.Header ကိုေၿပာတာပါ..။

output ကုိ.. C++ မွာ..ဘယ္လိုထုတ္လဲဆိုရင္..
~ user ရိုက္ထည့္ခ်င္တာေတြကို.. cin>> နဲ႔လက္ခံပါတယ္.။
~ user က..ကြန္ပ်ဴတာ screen ေပၚမွာ.. ၿပခ်င္တာေတြကုိ cout<< နဲ႔ထုတ္ပါတယ္.။

what are cin and cout?
~ cin ဆိုတာ.. Console Input ပါ။
~ cout ဆိုတာ.. Console Oupt to the monitor screen ကုိ..ေၿပာတာပါ..။
>> means  "Right Shift Assignment"
<< means  "Left Shift Assignment" လုိ႔ေခၚပါတယ္..။
ဒါေတြက.. အေခၚအေ၀ၚအသံုးအႏွဳန္းေတြပါ..။ သိထားရင္ေတာ့..အေကာင္းဆံုးပါပဲ.. ^_^

ေနာက္ဆက္လက္ေရးသားမယ့္.. lesson ေတြကုိ.. အားေပးၾကပါဦးလို႔ေၿပာၾကားရင္း.. ဒီေန႔ေတာ့.. ဒီေလာက္နဲ႔ပဲေတာ္လိုက္ၾကရေအာင္ေနာ္... ^_^

$U Y4T4N4R ~ www.technologicalvilla.blogspot.com


ေအာင္ေအာင္(မကစ) ရဲ႕ ဘေလာ့ခရီးသည္ေလးအား အားေပးေနၾကတဲ့အတြက္ ေက်းဇဴးအထူးတင္ပါတယ္.. တုန္႕ျပန္မွဳအေနနဲ႕ fb like ေလးေတာ့ လုပ္ေပးခဲ့ၾကပါေနာ္.. တတ္စြမ္းသမွ် ေတြ႕ ရွိသမွ်ေလးေတြကို ျပန္လည္ မွ်ေ၀ေနပါ့မယ္...။ အဆင္မေျပတာမ်ားရွိခဲ့ပါက...cbox မွာ ေျပာခဲ့ၾကပါေနာ္..
<<<မန္ဘာ၀င္ျပီး...Fb Like ျခင္းျဖင့္ အားေပးၾကပါေနာ္>>>
ေအာင္ေအာင္(မကစ) ပိုင္ဆိုင္ေသာ ေနရာေလးမ်ားကိုလာလည္ၾကပါ။ www.aungsanmks.blogspot.com 
www.ledimyethar.com 
www.ninilayy.com

0 comments:

တင္ထားသမွ် ေခါင္းစဥ္မ်ား

2Step Verification (5) A+အေၾကာင္း (1) Activator (9) Adobe CS3 Master Collection (1) Adobe Premiere Pro CS6 အသံုးျပဳနည္ (1) Adobe Software (12) Android application (1987) Android Game (710) AndroidPhoneဆိုင္ရာ (4) Antivirus (1) Apowersoft ApowerEdit v1.4.7.22 Build 04042019 (1) AVAST! Cleanup Premium 2019 version 19.1 Build 7085 (1) Blog Slider (8) Blogger Button (5) Blogger Comment (17) Blogger Ebooks (1) Blogger Hack (54) Blogger Loading Style (6) Blogger Mouse (1) Blogger Template (44) Blogger Tips (77) Blogger Widget (152) Blogs Html (63) Blogs Post (86) Blogs Tab Menu (53) Blogဆိုင္ရာ (1) Bowser ဆိုင္ရာ (21) Brothers in Arms® 3 v1.4.7c Mod Data [Unlimited Money] (1) Buddha ျမန္မာစာတန္းထုိး (53) Burning Software (34) Burning Tools (47) C-Box (10) Canon LBP 6000 Original Driver (1) Canon LBP 6030 Original Driver & Installation Guide (1) CCleaner 5.56.7144 (Business / Professional / Technician) Multilingual Portable (1) CD/DVD ဆိုင္ရာမ်ား (30) Cleanner-Speed (68) Computer Autoplay ပိတ္ထားနည္း (1) Computer Partationခြဲနည္း (1) Computer ဆိုင္ရာ (189) Computerဆိုင္ရာ (33) Converter (73) Desing Card (10) Display အလုပ္မလုပ္ေသာ ျပႆနာေျဖရွင္းနညး္မ်ား (1) Domain (3) Download Manager (42) Drive SnapShot v1.46.0.18213 (1) Driver Software (46) DVD-Cloner Platinum 2019 v16.30 Build 1446 [x86/x64] (1) DVDFab v11.0.2.4 [x86/x64] (1) Easy Translator version 14.0.0 (1) Ebooks (405) Errorေျဖ႐ွင္းနည္း (1) Eset Smart Security 12.1.34.0 (x86/x64) (1) Facebook (152) Folder Lock (17) Fonts မ်ားစုစည္းမႈ (6) Foxit PhantomPDF (1) Game (47) Game PC (32) Glary Utilities PRO version 5.117.0.142 (1) Gmail-Gtalk (70) GoogleChome &InternetDownloadmananger (1) Hacking (81) How To Download (6) Html (51) Internet Download Manager (18) InternetDownloadmananger(IDM) (1) IP Hider Software (6) Java Script (11) KhineMaster (1) KMS/2038 & Digital & Online Activation Suite v6.9 (1) MAGIX SOUND FORGE Pro 13 v.13.0.0 Build 46 (1) Marquee Technique (14) Media Player (31) MI Play store Apk (1) Microsoft Office (21) Mobile Legends Bang Bang Installer .exe Pc Version (1) Motors ( ေမာ္တာမ်ား )အေၾကာင္း (1) Movie (95) My Pdf (35) Myanmar Font (9) Myanmar Typing Software (1) MZW Solftware (1) NetGuide Journal (63) Network Software (7) New Blogs (15) Notကာကြယ္ျခင္းနည္း (1) ONEKEY PDF Convert to Word 4.0 REPACK (1) Partition Software (7) Password Recovery Software (1) paypal နွင္ ့ဆိုင္ေသာ (5) PC GAMES (17) PC recovery (13) PC Software (203) PC Speed Up (32) PC-Clean Software (73) PDF (4) PDF Editor (10) Photo Editor Software (65) PHOTO SHOP (သင္တန္း)သီးသန္႔ (44) Photo Slideshow (12) photoshop background အလန္းမ်ား (6) photoshop PNG ဖိုင္မ်ားရွာရန္ (14) Photoshop Software (36) Photoshop ဆိ္ုင္ရာ (51) Player (8) PrinterDriver (2) Programming (16) Pyidaungsu font (1) Read More (9) Recent Posts Widget (23) Recover Software (46) Recovery (33) Refresh and Restoreအေၾကာင္း (1) Reset (1) SAMSUNG One UI ဖုန္းေတြအတြက္ ျမန္မာေဖာင့္ (1) Screen Video Recorder (37) Search Box (6) Security Software (36) Sidebar Widget (71) SkyNet လိုင္းအသစ္ထည့္နည္း (1) SkynetBinfile (1) Slideshow Movie Maker (7) Social Widget (19) SOFTWARE (588) Software For Blogs (17) Software မ်ားအသံုးျပဳနည္း (2) Softwares ေတြအတြက္ Serial no (or) Key ေတာင္းလၽွင္ ေျဖ႐ွင္းနည္း (1) Speed Up Internet (13) TeamViewer version 14.2.2558.0 (Repack & Portable) (1) TTA Pie Myanmar (1) Unicode ေ​ြေပာင်းနည်း (1) Uninstaller Software (25) Upload (6) USB ျဖင့္၀င္းဒိုးတင္နည္း (4) USB ႀကိဳးကေန Virus မဝင္ေအာင္ ႀကိဳတင္ ကာကြယ္နည္း (1) Usb-Memory (19) Video Converter (29) Video Editing (76) Video Editor (1) Video Recorder (12) Virus ဆိုင္ရာ (86) WannaCry Ransomware ၏ အႏၱရာယ္ အေၾကာင္းႏွင့္ ကာကြယ္နည္း (1) Web Design ေရးဆြဲနည္း (5) Webcam Camera Software (11) Website ေရးနည္း (3) Wifi ဆိုင္ရာ (32) Win Update v1.4 (1) Window-10 ဆိုင္ရာ (2) Window-7 ဆိုင္ရာ (32) Window-xp ဆုိင္ရာ (2) window8ဆိုင္ရာ (19) Windows 10 Factory Reset ခ်နည္း (1) Windows 10 Backup & Restore လုုပ္နည္း (1) Windows 10 ကြန္ပ်ဴတာမွာျမန္မာစာတိက်မွန္စြာထည့္နည္း (1) Windows Activator (18) windows loader မ်ား (10) Windows Manager Software (23) Windows Themes (24) Windows တင္နည္းမ်ား (6) WinRAR 5.70 (Fully) (1) WinRar Full Version (12) WinRAR V3.80 Beta Version (1) WinToBootic ႏွင့္ USB ထဲ Install လုပ္နည္း (7) WinUtilities Professional Edition Tool (1) Wordpress Tips (3) Write-Protected ကို ျဖဳတ္ႏိုင္မယ့္နည္းႏွစ္သြယ္ (1) Zawgyi နဲ႔ Unocode ဘာကြာလဲ (1) ကြန္ပ်ဴတာ User Account Picture အေၾကာင္းမ်ား (1) ကြန္ပ်ဴတာဆိုင္ရာ (1) ကြန္ပ်ဴတာပတ္၀ပ္ေျပာင္းမရေအာင္လုပ္နည္း (1) ကြန္ပ်ဴတာရဲ ့Storage က HDD လား? SSD လား? စစ္ေဆးနည္းမ်ား (1) ကြန္ပ်ဴတာဟန္းေနရင္ေျဖ႐ွင္းနည္း (1) ကြ်နုပ္ႏွင့္ ပရဟိတအလွဴ (9) ကာမသိဒၶိက်မ္း (1) ခ်က္နည္းျပဳတ္နည္း (1) နည္းပညာဆိုင္ရာ (2) နည္းလမ္းမ်ား (6) ပန္ကာျပဳျပင္နည္း (1) ဖိုင္ေျဖနည္းမ်ား (8) ဗဟုသုတ (6) ဗားရွင္းအသစ္ထြက္ရွိလာတဲ႔ Facebook (ႏွင္႔) Messenger (1) ဘာသာစကား ၉၁ မ်ိုးထိ ပါ၀င္တဲ့ Easy Translator (1) ဘာသာေရးစာအုပ္မ်ား (9) မိမိဆိုက္ကိုေကာ္ပီကူးမရေအာင္ ပိတ္ထားနည္း (1) ျပည္ေထာင္စု ေဖာင့္ လက္ကြက္ ႏွင့္ စာ႐ိုက္နည္း (1) ျမန္မာစာမွန္ေအာင္လုပ္နည္း (1) ျမန္မာဆိုတာ (1) ဝင္းဒုိးကုိ AOMEISoftware ျဖင္႔ Backup & Restore လုပ္နည္း (1) သင့္ Laptop ကို ျမန္ဆန္ေအာင္လုပ္ေပးမယ့္ အခ်က္ ၇ ခ်က (1) အင္တာဗ်ဴးအစီစဥ္ (2) အပ်ိဳလမ္းၫႊန္ (1) အသံဇာတ္လမ္း (19) အေျခခံကြန္ပ်ဴတာ Pdf (1) ဦးဇာနည္နည္းလမ္းမ်ား (7) ေဆာ့ဝဲ ျပႆနာေျဖ႐ွင္းနည္း (1) ေၾကာ္ျငာ (13) ေဟာေျပာပြဲ (15)

မန္ဘာ၀င္လို႕အားေပးၾကပါ