Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

5 Feb 2014

VMWare ThinApp Enterprise v5.0.0.1391583

 က်ေနာ္တုိ႔ အေနနဲ႔ အခုတင္ထားတဲ့ Window 7 ရဲ႕ အေပၚမွာပဲ တစ္ျခား window 8 , 8.1, ubunta (linux) စတဲ့ os ေတြကုိ စမ္းသုံးခ်င္တယ္ တင္ၾကည့္ျပီး သုံးခ်င္တယ္ဆုိခဲ့ရင္ ျဖစ္ေစ wifi hack တဲ့အခါမွာ သုံးတဲ့ blacktrack ကုိ window os ေပၚမွာ တင္ျပီးေတာ့ သုံးခ်င္လုိ႔ပဲ ျဖစ္ျဖစ္ တင္သုံးတဲ့အခ်ိန္မွာ vmware ကုိ သုံးၾကရပါတယ္။ က်ေနာ္ခု vm ware ကုိ license version အတြက္ပါ အထဲမွာ Keygen ကုိတစ္ခါတည္း ထည့္ေပးထားပါတယ္။ အားလုံးပဲ အဆင္ေျပၾက လိမ့္မယ္လုိ႔ ေမွ်ာ္လင့္ပါတယ္။

VMWare ThinApp Enterprise is a software that separates applications from the operating system to help them avoid incompatibility and performance management application that facilitates. You can easily your applications without re-encoding, re-testing and re-confirmed the move to Windows 7, or 8. Can 32-bit or 64-bit applications to be operational format. EXE and. MSI can convert to be used in all windows. These applications are separated and without changing the operating system to support the operation and application incompatibility with applications and applications with the operating system to fix. The old model of IT an application server for specific applications that are technically and in terms of discrete data are not compatible with certain hardware needs. VMWare ThinApp Enterprise overcomes the need for better application of existing equipment easier to use and better performance of their applications to provide. This software can be totally free from websites Ayrnyan download downloaded.

Some features of this software:
  • Work with operating systems
  • usability of mobile applications
  • compatibility with various Windows
  • applications to isolate
  • server consolidation and strengthening of
  • safety on the desktop
  • and images of the environment of the software:



Password = www.nyinaymin.org
{အျခားေသာ နည္းပညာႏွင့္ ပါတ္သက္ေသာ အေၾကာင္းအရာမ်ားကုိ 
http://www.nyinaymin.org မွာ ၀င္ေရာက္ ေလ့လာႏုိင္ပါတယ္}

28 Sept 2013

Programmer မ်ားအတြက္ Microsoft Visual Studio 2008 Professional Edition (Software+Serials) ပါ


ကို HARRIS က Micrsoft Visual Studio 2008 Professional Edition ကိုေတာင္းဆိုလို႕ တင္ေပးလိုက္ပါတယ္။ Installer ကေတာ့ direct လင့္ပါ။ 3.3 GB ရွိလို႕ပါ။ Serial နဲ႕ Installer ကေတာ့ ေအာက္ပါအတုိင္းေဒါင္းလုတ္ဆြဲလိုက္ပါ။ အဆင္ေျပပါေစ။



Visual Studio 2008 Professional Edition is a comprehensive set of tools that accelerates the process of turning the
developer’s vision into reality. Visual Studio 2008 Professional Edition was engineered to support development projects that target the Web (including ASP.NET AJAX), Windows Vista, Windows Server 2008, The 2007 Microsoft Office system, SQL Server 2008, and Windows Mobile devices. The number of platforms that developers must target to meet business needs is increasing rapidly. Visual Studio 2008 Professional Edition provides the integrated toolset for addressing all of these needs by providing a superset of the functionality available in Visual Studio 2008 Standard Edition.

Today’s developers face the challenge of targeting a broad range of platforms and crafting applications that quickly deliver value to the business. Integrated designers and language features in Visual Studio allow developers to build the connected applications demanded by today’s businesses while taking advantage of the .NET Framework 3.5 to reduce development time.


Deliver high-performance applications

Connect to the data you need, regardless of its location, and build data driven applications using Language Integrated Query (LINQ).

Build great client applications

Develop compelling solutions that leverage the user experience and capabilities of the 2007 Microsoft Office system and Windows Vista®.

Build powerful Web applications

Build rich, interactive applications using the ASP.NET AJAX interactive Web interfaces


Requirements


Requirements vary for different combinations of components within Visual Studio 2008 Professional Editions. To install Visual Studio 2008 Professional Edition, you need:

Computer with a 1.6 GHz or faster processor
Visual Studio 2008 can be installed on the following operating systems:
Windows Vista® (x86 & x64) - all editions except Starter Edition
Windows® XP (x86 & x64) with Service Pack 2 or later - all editions except Starter Edition
Windows Server® 2003 (x86 & x64) with Service Pack 1 or later (all editions)
Windows Server 2003 R2 (x86 and x64) or later (all editions)
384 MB of RAM or more (768 MB of RAM or more for Windows Vista)
2.2 GB of available hard-disk space
5400 RPM hard drive
1024 x 768 or higher-resolution display
DVD-ROM Drive





Installer (.iso file)


Download => Link 1

Serial key (ကီး)

Download => Link 1 / Link 2 / Link 3
ခုလိုအားေပးတဲ့အတြက္ အထူးေက်းဇဴးတင္ပါေၾကာင္း ေျပာၾကားပါရေစ..ဘေလာ့ခရီးသည္မွ နည္းပညာမ်ားအား မည္သူမဆို လြတ္လပ္စြာ ကူးယူသုံးစြဲနိဳင္ပါတယ္.. ကြ်န္ေတာ္ ပိုင္ဆိုင္ေသာေနရာေလးမ်ားအား ဆက္လက္ လည္ပါတ္လိုပါက ***************************************


ဘေလာ့ခရီးသည္သို႕ { ဒီမွာ } သြားလိုက္ပါ



လယ္တီေျမသားသို႕{ ဒီမွာ } သြားလိုက္ပါ



စာေပနန္းေတာ္သို႕{ ဒီမွာ } သြားလိုက္ပါ

27 Aug 2013

ေဆာ့၀္လ္အေသးစားေရးမည့္သူမ်ားအတြက္


ကြ်န္ေတာ့္ေက်ာင္းက သူငယ္ခ်င္းတစ္ေယာက္ေတာင္းဆိုထားလို႕ တင္ေပးထားပါတယ္။ သူက Free ေဆာ့၀္လ္တစ္ခုျဖစ္ၿပီးေတာ့ အေျခခံေဆာ့၀္လ္နဲ႕ အလြယ္ေရးလို႕ရတဲ့ Microsoft ကထုတ္ထားတဲ့အထူးရွယ္ ေဆာ့၀္လ္တစ္ခုပါ။ ကြ်န္ေတာ္လည္း မသံုးတတ္ပါဘူး။ Program အေသးစားေလးေတြေရးရင္ သူနဲ႕အဆင္ေျပတယ္ဆိုပဲ။ ပိုသိခ်င္ရင္ ေအာက္ပါအတုိင္းဖတ္ၿပီး ေဒါင္းလုတ္ဆြဲလိုက္ပါ။




Programming is Fun, again!

Mirosoft Small Basic puts the "fun" back into computer programming. With a friendly development environment that is very easy to master, it eases both kids and adults into the world of pogramming.

Simple

Small Basic combines a friendly environment with a very simple language and a rich and engaging set of libraries to make your programs and games pop. In a matter of few lines of code, you will be well on your way to creating your very own game!
With a new and revolutionary IntelliSense®, Small Basic makes writing code a breeze.

Social

Share your programs with your friends; let them import your published programs and run them on their computer. Using the Silverlight player, you can even post your games on your blogs and websites for them to play your creations in the browser.

Gradual

Learn the programming concepts starting with the fundamentals and move your way up. Small Basic is based on .NET and what you learn here could be easily applied to other .NET programming languages like Visual Basic. And when you do graduate to Visual Basic, you can bring your existing programs with you using a built-in conversion utility.

Download => Link 1

ခုလိုအားေပးတဲ့အတြက္ အထူးေက်းဇဴးတင္ပါတယ္... လိုအပ္တာမ်ားရွိပါက.. C-Box မွာေျပာခဲ့ၾကနိဳင္ပါတယ္... အတတ္နိဳင္ဆုံး ၾကိဳးစား ကူညီ မွ်ေ၀သြားပါမည္... ဘေလာ့ခရီးသည္ေနရာေလးမ်ား

www.ledimye.blogspot.com www.aungsanmks.com www.ninilayy.com

16 Jul 2013

Teach Yourself Visual C++ [15.2Mb]

 Aung Myint(M.E.,AUSTRALIA)

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

Visual Basic Programming Guide [11.3Mb]



သန္းထိုက္(ေရႊရိပ္)

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

11 Jul 2013

PHP ေလွခါးထစ္မ်ား [13.8Mb]



ကိုေက်ာ္

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

10 Jul 2013

PHP Guide Book(Part-1) [2.25Mb]


Myo Myint Shein
Download

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

7 Jul 2013

C ++ သမားမ်ားအတြက္ ေလ့လာစရာ Data Structures Using C++ 2nd Edition DS Malik ေနာက္ဆံုးထြက္စာအုပ္

 
C ++ သမားမ်ားအတြက္ ေလ့လာစရာ Data Structures Using C++ 2nd Edition DS Malik ေနာက္ဆံုးထြက္စာအုပ္ ေတြ႕လာလို႔တင္ေပးလိုက္ပါတယ္.. Programming သမားေတြအတြက္ အသံုးတည့္လိမ့္မယ္လို႔ ယံုၾကည္ပါတယ္.. ျမန္မာလိုေတာ့ မဟုတ္ပါဘူး.. ေအာက္မွာ ေဖၚျပထားတဲ့ Chapter ေတြကို ၾကည့္လိုက္တာနဲ႔ Programming သမားေတြအတြက္ ဘယ္လို အသံုးတည့္မယ္ဆိုတာ သိႏိုင္မွာပါ-
This book includes following chapters...
1. Software Engineering Principles and C++ Classes
2. Object-Oriented Design (OOD) and C++
3. Pointers and Array-Based Lists
4. Standard Template Library (STL) I
5. Linked Lists
6. Recursion
7. Stacks
8. Queues
9. Searching and Hashing Algorithms
10. Sorting Algorithms
11. Binary Trees and B-Trees
12. Graphs
13. Standard Template Library (STL) II

အဆင္ေျပပါေစ..

ေမာင္ေပါက္( www.maungpauk.org )



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

6 Jul 2013

PHP Language ျမန္မာလိုစာအုပ္မ်ား စုစည္းမႈ ( ျမန္မာလို )




PHP Language အေၾကာင္းျမန္မာလိုေလ့လာခ်င္သူမ်ားအတြက္ ရွာေဖြေတြ႕ရွိသမွ်စာအုပ္မ်ားကို ျပန္တင္
ေပးထားျခင္းျဖစ္ပါတယ္.. Download ရယူႏိုင္ၾကပါၿပီခင္ဗ်ာ။

Download Part 1 => Link 1 / Link 2

Download Part 2 => Link 1 / Link 2

<< Part 3 >>
PHP ကို အဂၤလိပ္လိုမ်ိဳး စာအုပ္ေတြပဲ ေတာ္ေတ္ာမ်ားမ်ားေတြ႔ဖူးၾကမွာပါ။ ဒီလိုမ်ိဳးပဲ ျမန္မာစာအုပ္ေတြထြက္ရင္လဲ အကုန္ျပည့္ျပည့္စံုစံုမဟုတ္ပဲနဲ႔ အဓိက သူတုိ႔ေပးခ်င္တဲ့ အေၾကာင္းအရာကိုပဲ ေပးသြားတဲ့အတြက္ အကုန္လံုး စံုစံုလင္လင္ မသိရပါဘူး။ ျမန္မာႏုိင္ငံမွာ IT ကေခတ္စားလာတဲ့ အတြက္ေၾကာင့္ PHP အေၾကာင္း ကို စနစ္တက် ေလ့လာလိုသူေတြလဲမ်ားလာမွာပါ။ အခုေျပာျပေပးခ်င္တာကေတာ့ PHP အေၾကာင္းကို စနစ္တက် ေလ့လာခ်င္တဲ့သူတို႔ PHP စနစ္ကို အေျခခံ ကေနစၿပီး နားလည္ခ်င္သူမ်ားအတြက္ PHP ကိုျမန္မာလို ရွင္းျပထားတဲ့ ဆုိက္ကို ေျပာျပေပးခ်င္ပါတယ္။ အဲ့ဒီဆုိက္မွာ PHP အေၾကာင္းကို Ebook အေနနဲ႔ ေဖာ္ျပထားတဲ့စာအုပ္ေတြ ကိုလည္း လမ္းညႊန္ေပးထားၿပီး PHP Tutorial ကိုလည္း အမွာစကားၿပီးတာနဲ႔ ဘယ္လိုမ်ိဳး အသံုးျပဳရမယ္၊ ဘယ္နားမွာ ဘာသြားထည့္ရင္ ဘယ္လိုမ်ိဳး ပံုစံေတြရမယ္၊ PHP ကိုအသံုးျပဳၿပီး Web Server Installation ကိုဘယ္လိုလုပ္ရမယ္ ကအစ တစ္ဆင့္ခ်င္း ရွင္းျပေပးထားပါေသးတယ္။တကယ္လို႔ ေလ့လာခ်င္တယ္ဆိုရင္ေတာ့ http://phpmyanmar.com/ မွာဝင္ေရာက္ၿပီး ေလ့လာႏုိင္ၿပီးေတာ့ English Version နဲ႔ေရာ ျမန္မာ Version နဲ႔ပါေ လ့လာႏုိင္မွာပါ။
 အိုင္တီဟက္ပါ
ေအာင္ေအာင္(မကစ) ရဲ႕ ဘေလာ့ခရီးသည္ေလးအား အားေပးေနၾကတဲ့အတြက္ ေက်းဇဴးအထူးတင္ပါတယ္.. လိ္ုျခင္တာကို ၾကိဳက္ႏွစ္သက္သလို ယူေဆာင္သုံးစြဲနိဳင္ပါတယ္.... အဆင္မေျပတာမ်ားရွိခဲ့ပါက...cbox မွာ ေျပာခဲ့ၾကပါေနာ္..
<<<မန္ဘာ၀င္ျပီး...Fb Like ျခင္းျဖင့္ အားေပးၾကပါေနာ္>>>
ေအာင္ေအာင္(မကစ) ပိုင္ဆိုင္ေသာ ေနရာေလးမ်ားကိုလာလည္ၾကပါ။ www.herostown.blogspot.com 
www.ledimyethar.com 
www.ninilayy.com

22 Jun 2013

Program အလြယ္ေရးနည္း ျမန္မာလို ( E Book )



ဆရာ သန္းထိုက္ ေရးသားတဲ့ Program အလြယ္ေရးနည္းစာအုပ္ေလးပါခင္မ်ာ..ေတာင္းဆိုထားတဲ့အစ္ကို
အတြက္တင္ေပးလုိက္ပါၿပီခင္မ်ာ


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

19 Jun 2013

C++ Programming ( Lesson 5 )
















မဂၤလာပါ..။ ဒီေန႔ေတာ့.. အရင္က.. ေၿပာခဲ့တဲ့.. သင္ခန္းစာေတြနဲ႔.. ပတ္သက္ၿပီး.  program ေလး.. တစ္ပုဒ္ ေရးၾကရေအာင္ေနာ္..။ အရင္က..သင္ခန္းစာေတြလည္း.. မွတ္မိမယ္လို႔လည္းထင္ပါတယ္..။ ညီမလည္း.. အခ်ိန္ရရင္.. ရသလို.. တင္တင္ေပးမွာပါ။ HTML ေရာ. C++ ေရာက. ညီမပဲေရးတာဆိုေတာ့.. တစ္ပုဒ္နဲ႔တစ္ပုဒ္က... နည္းနည္းေတာ့..ၾကာပါတယ္.။ စိတ္ရွည္ရွည္နဲ႔..  ေလ့လာၾကပါလို႔ပဲ.. ေမတၱာရပ္ခံခ်င္ပါတယ္.. ^_^

ေအာက္က.. ပုဒ္စာေလးကေတာ့.. Dollar တန္ဖိုးထည့္လိုက္ရင္.. ၿမန္မာေငြက်ပ္ကုိ.. တြက္ေပးတာပါ.။ 

Converter     
Dollar                   Myanmar Kyats
1 USD                     956 kyats
1 FEC                      946 kyats
1 SGD                     765 kyats
1 EUR                     1279 kyats


#include<iostream.h>
void main( )
{
  int dollar, uprice, fprice, sprice, eprice;
  cout<<"Enter the dollar $";
  cin>>dollar;
  uprice = dollar * 956;
  fprice = dollar * 946;
  sprice = dollar * 765;
  eprice = dollar * 1279;
  cout<<"Myanmar kyats for USD:"<<uprice<<"\n";
  cout<<"Myanmar kyats for FEC:"<<fprice<<"\n";
  cout<<"Myanmar kyats for SGD:"<<sprice<<"\n";
  cout<<"Myanmar kyats for EUR:"<<eprice<<"\n";


- အေပၚက..  example ေလးကုိ.. Turbo C မွာသြား Run ၾကည့္လိုက္ပါ..။ (C:\TC\BIN\TC.exe)
- Alt+F9 ႏွိပ္ၿပီး.. compile လုပ္ပါ..။
- Error မရိွလွ်င္.. Ctrl+F9 ႏွိပ္ၿပီး run ပါ။ run လုိ႔မပါလာရင္.. window>user screen ကုိ..သြားႏွိပ္လိုက္ပါ.။
အမည္းေရာင္.. screen ေပၚလာပါလိမ့္မယ္.။
- int dollar, uprice, fprice, sprice, eprice; ဆုိၿပီး.. အားလံုးကုိ.. integer သတ္မွတ္ထားပါတယ္.။ ဒသမကိန္းထည့္လို႔မရပါဘူး..။ ထည့္ခ်င္ရင္.. int ေနရာမွာ.. float dollar, uprice, fprice, sprice, eprice; ဆိုၿပီးထားလိုက္ပါ..။
- Enter the dollar $ ဆုိၿပီး.. user ထည့္ေပးခ်င္တဲ့.. dollar တန္ဖိုးေတာင္းပါလိမ့္မယ္..။
- တန္ဖိုးတစ္ခုခုေပးၿပီး enter ေခါက္လိုက္ပါ..။
- cout<<"Myanmar kyats for USD:"<<uprice<<"\n";
  cout<<"Myanmar kyats for FEC:"<<fprice<<"\n";
  cout<<"Myanmar kyats for SGD:"<<sprice<<"\n";
  cout<<"Myanmar kyats for EUR:"<<eprice<<"\n";
လို႔ေရးထားတဲ့အတြက္.. အေၿဖေတြ..တန္းစီၿပီးထြက္လာပါလိမ့္မယ္..။
- \n ဆိုတာက.. next line ဆင္းတာပါ..။ အေၿဖေတြ.. ကပ္ၿပီးေပၚေနမွာစိုးလို႔.. တစ္လိုင္းခ်င္းစီ.. ၿပေပးတာပါ.။

ဒီပုဒ္စာေလးကုိ.. run ၾကည့္ၿပီး.. အရင္က.. သင္ခန္းစာေတြလည္း..မွတ္မိမယ္ထင္ပါတယ္.။ ညီမေၿပာတာ.နားမလည္ရင္..မလည္တဲ့ေနရာကုိ.. ေအာက္မွာ. comment ၿပန္ေပးထားပါ..... ^_^

Looping 

Syntax

for( initialization, testing, increment / decrement )
{  .................. ;
    ....................;


eg.  for( int i = 1; i <= 5; i++ )
      {
          cout<<i;
     

Number from 1 to 100 on the screen. 
#include<iostream.h>
void main( )
{
   for( int i=1; i<=100 ; i++)
     {
         cout<<i;
      
 
- အေပၚက.. ပုဒ္စာေလးကေတာ့... 1 ကေန 100 ထိကုိ.. screen မွာ.. ဒီတိုင္း.. cout<<"1"; cout<<"2"; ဆိုၿပီး.. တစ္ခုခ်င္းစီ... မေရးေတာ့ပဲနဲ႔.. looping ပတ္ၿပီးေရးလိုက္တာပါ..။ 
- အၾကိမ္အေရအတြက္..အတိအက်သိရင္.. looping သံုးတာ. အေကာင္းဆံုးပါ.. :)
- for( int i=1; i<=100 ; i++)
     {
         cout<<i;
     }
- int i=1; ဆုိၿပီး i ကုိ.. 1 ကေန စလိုက္ပါတယ္..။ 
- i<=100; ဆုိေတာ့.. i က.. 100 ေအာက္ငယ္ေနသေရႊ႔.. 100 နဲ႔ညီေနသေရႊ႔.. အလုပ္လုပ္ပါမယ္.။
- ေနာက္ေတာ့. i++ ဆိုေတာ့..  i ကုိ..တစ္တုိးပါမယ္..။ prefix နဲ႔ postfix ကုိ အရင္ သင္ခန္းစာမွာေၿပာၿပၿပီးပါၿပီ..။
- cout<<i; ဆုိေတာ့. i ရဲ႔တန္ဖိုးထြက္လာပါလိမ့္မယ္.။ တြန္႔ကြင္း.{ } အဆံုးေရာက္ေတာ့.. looping ရဲ႔အေပၚကုိၿပန္တတ္ပါတယ္.။ 
-  အေပၚကုိၿပန္တတ္ေတာ့.. i ရဲ႔တန္ဖိုးက. .2 ၿဖစ္ေနပါၿပီ.။ 
- 100နဲ႔ညီလား.. 100 ေအာက္ငယ္လားဆုိေတာ့.. ငယ္ေတာ့..အလုပ္ဆက္လုပ္ပါမယ္။
-  i ကုိ..တစ္တိုးပါတယ္...။
- အေၿဖၿပန္ထုတ္ပါတယ္..။
- looping ဆံုးသြားေတာ့..အေပၚၿပန္တတ္ပါတယ္.။
- ေနာက္ဆံုး i ရဲ႔တန္ဖိုး.. 100 ေရာက္သြားတဲ့အခါ... 100နဲ႔ညီလား.. 100 ေအာက္ငယ္လားဆုိေတာ့.. ညီတဲ့အတြက္အလုပ္ဆက္လုပ္ပါတယ္.။
- တစ္တုိးပါမယ္.။
- ေနာက္ထပ္ၿပီး. အေပၚၿပန္တတ္ပါမယ္။
- အေပၚၿပန္တတ္ေတာ့. i ရဲ႔တန္ဖိုးဟာ.. 101 ၿဖစ္ေနပါၿပီ..။ 100နဲ႔ညီလား.. 100 ေအာက္ငယ္လားဆုိေတာ့.. ညီလည္းမညီ.. ငယ္လည္းမငယ္ေတာ့.. looping ထဲက.. ထြက္သြားပါလိမ့္မယ္.။
- 1 to 100 ကုိ.. ဆက္တိုက္ၿပေပးပါလိမ့္မယ္..။
- တစ္လိုင္းခ်င္းစီၿပခ်င္ရင္ေတာ့..  cout<<i; ေနရာမွာ cout<<i<<"\n"; ဆိုၿပီးေၿပာင္းေရးလိုက္ပါ..။
ဒီေလာက္ဆုိရင္.. looping ရဲ႔သေဘာတရားကုိ.. နားလည္မယ္လုိ႔ထင္ပါတယ္.။ ေအာက္က.ပုဒ္စာေလးကုိ.. run ၾကည့္ၿပီး. ဘယ္လိုအလုပ္လုပ္ဆိုတာ.. ကုိယ့္ဘာသာကုိယ္.. trace တိုက္ၾကည့္ၾကေနာ္.. ^_^
#include<iostream.h>
void main( )
{
    for( int i = 1; i<=10 ; i++)
    { 
       cout<<"2*"<<i<<"="<<2*i<<"\n";
    }
}
$U Y4T4N4R  ~ www.technologicalvilla.blogspot.com


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

14 Jun 2013

Turbo C (C++) software install လုပ္နည္း

















အားလံုးက.. ညီမကုိ. ေတာင္းဆုိၾကလို႔.. Turbo C ကုိ..ဘယ္လို install လုပ္လဲတဲ့..။ install လုပ္တဲ့ေနရာမွာ.. နည္းနည္းေတာ့..ရွုတ္ပါတယ္..။

- အရင္ဆံုး.. http://www.windows7download.com/win7-turbo-c-/download-pblhvcrj.html  ကုိ.. ေဒါင္းလုပ္ဆြဲလိုက္ပါ..။
- ေဒါင္းလုပ္ဆြဲလို႔ရလာတဲ့ file ကုိ.. destop ေပၚမွာ. Turbo C ဆိုၿပီး.. folder အသစ္ေဆာက္ပီး.ထည့္လိုက္ပါ..။















- download ဆြဲထားတဲ့ zip file ကုိ.. ၿဖည္လိုက္ပါ..။ ဒီလိုပံုၿဖစ္သြားပါလိမ့္မယ္..။















- အဲ့ထဲကမွ.. install.exe ကုိ. double click ႏွိပ္လိုက္ပါ..။
- ေအာက္ကပံုအတိုင္းတတ္လာပါလိမ့္မယ္..။















- enter ေခါက္လိုက္ပါ..။ ဘယ္မွာထားမွာလဲ.. ေမးပါလိမ့္မယ္.။ C လို႔ေပးလိုက္ပါ..။
















- ေပးၿပီး၇င္.. enter ေခါက္လိုက္ပါမယ္.။ ေအာက္ကပံုအတိုင္းေပၚလာပါမယ္.။















- ဆက္ၿပီးေတာ့.. enter ေခါ္က္လိုက္ပါ..။ ေအာက္ကပံုအတိုင္း ေပၚလာပါမယ္..။














- Directories: C:\TC လို႔..ေပၚေနရင္.. Start installation ကုိ. arrow key နဲ႔သြားၿပီး.. enter ေခါက္လိုက္ပါ..။
- မေပၚခဲ့ရင္.. Directories: C:\TC ကုိေရြးၿပီး.. enter ေခါက္လိုက္ပါ..။















- Turbo C++ Directories : C\TC ကိုေရြးၿပီး.. enter ေခါက္လိုက္ပါ..။ box က်လာရင္.. C:\TC  လို႔ေပးၿပီး.. enter  ေခါက္လိုက္ပါ..။
- ၿပီးရင္. keyboard  က Esc ကုိႏွိပ္ၿပီး.. back ၿပန္ထြက္လိုက္ပါ..။
- Directories: C:\TC ၿဖစ္သြားပါလိမ့္မယ္..။
- Start installation ကုိေရြးၿပီး.. enter ေခါက္လိုက္ပါ..။














- အေပၚက..ပံုအတိုင္းေပၚလာရင္. Turbo C installation ၿပီးသြားပါၿပီ.။
- C++ run ဖုိ႔.. Turbo C ကုိဖြင့္ခ်င္ရင္.. My computer > C: > TC > BIN> TC.exe ကုိသြားဖြင့္လိုက္ပါ..။















- Turbo C တတ္လာပါလိမ့္မယ္.။ေအာက္ကပံုအတိုင္းေပၚလာရင္.. ignore ကုိႏွိပ္လိုက္ပါ..။
















- ညီမအရင္က.. တင္ထားတဲ့.. lesson ေတြကုိ. .အဆင္ေၿပေၿပ.. run လို႔ရမယ္လို႔..ယံုၾကည္ပါတယ္.. ^_^


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

10 Jun 2013

C++ Programming ( Lesson 4 )



မဂၤလာပါ..။ အရင္ C++ သင္ခန္းစာေတြရၾကမယ္လုိ႔..ထင္ပါတယ္.။ မရရင္လညး္..ေၿပာၾကပါေနာ္..။ ညီမ ၿပန္ေၿဖေပးပါ့မယ္..။ နားမလည္တာရွိလည္း.. comment box ဒါမွမဟုတ္.. facebook မွာ..ေမးလို႔ရပါတယ္..။ ေအာက္မွာလည္း.. link ေတြထည့္ေပးထားပါတယ္။ မသိိတာရွိရင္.. ေမးလုိ႔ရေအာင္လို႔ပါ.. ^_^

Increment Operator Prefix ( ++ )
++a;

eg. #include<iostream.h>
      void main( )
    {
     int a = 5;
     cout<< ++a; 
    }

Increment Operator Postfix ( ++ )
a++;

eg. #include<iostream.h>
      void main( )
    {
       int a = 5;
      cout<<a++;
      cout<<a;
   } 


- ေပးထားတဲ့.. example ေတြကုိ.. Turbo C ထဲမွာ.ထည့္ Run ၾကည့္ၾကပါ...။
- prefix ++a;  နဲ႔ postfix a++; တို႔ရဲ႔အေၿဖဟာ.. မတူညီၾကပါဘူး..။
- prefix က..အလုပ္ကုိ..အရင္လုပ္ပါတယ္.။
- int a=5; cout<<++a; ရဲ႔.. အေၿဖက.. 6 ၿဖစ္ပါတယ္.။ သူရဲ႔အလုပ္လုပ္ပံုက.. အရင္ဆံုး a ထဲကုိ 5 ထည့္ထားပါတယ္။
- ++a; လုိ႔ေၿပာလုိ႔.. a ကုိ.. တစ္အရင္တိုးပါတယ္.။ ၿပီးမွအေၿဖထုတ္တာပါ..။ အဲ့ေတာ့.အေၿဖက. 6 ရပါတယ္.။
- postfix က. .အလုပ္ကုိ.. အေၿဖကုိအရင္ထုတ္ပါတယ္။ အလုပ္ကုိေနာက္မွလုပ္ပါတယ္။
- int a = 5; cout<<a++; cout<<a; လုိ႔ေရးထားလုိ႔.. အရင္ဆံုး a ထဲကုိ 5 ထည့္ထားပါတယ္။ 
- cout<<a++; ဆိုလုိ႔. a ရဲ႔အေၿဖကိုအရင္ထုတ္ပါတယ္.။ အေၿဖက 5 ပါ။ ၿပီးမွ.. a ကုိ.. တစ္တိုးပါတယ္.။ အေၿဖ 5 ထြက္ၿပီးမွ.. a ရဲ႔တန္ဖုိးက 6 ၿဖစ္သြားပါတယ္။
- ေနာက္တစ္ေၾကာင္းမွာ.. cout<<a; ဆိုၿပီးထပ္ထုတ္လုိက္ေတာ့.. a ရဲ႔အေၿဖဟာ.. 6 ၿဖစ္ေနပါၿပီ..။

prefix နဲ႔... postfix ရဲ႔.အဓိပါယ္ကို.. နားလည္ၾကမယ္လုိ႔ထင္ပါတယ္..။ ေအာက္က.. example ေလးကုိ. Run ၾကည့္လုိက္ၾကေနာ္..။ 

Example... ,
#include<iostream.h>
void main( )
{
    int a,b,c;
    a = 10;
    b = a++;
    c = ++a;
    a = ++c;
   cout<<a;
    cout<<b;
    cout<<c;
}

- အေပၚက. .code ေတြကုိ.. Turbo C မွာ Run ၾကည့္လုိက္ၾကေနာ္..။



























- အေပၚက.ပံုအတုိင္းအေၿဖေတြေပၚလာပါလိမ့္မယ္..။
- run ပံု run နည္းကုိေတာ့.. အရင္ကေၿပာၿပီးပါၿပီ..။
- ဒီလိုဆုိရင္. prefix postfix ကုိ.. နားလည္ၾကလိမ္မယ္လုိ႔.. ထင္ပါတယ္..။

Decrement Operator Prefix ( -- )
-- a;

eg.  #include<iostream.h>
      void main( )
    {
     int a = 5;
     cout<< --a; 
    }


Decrement Operator Postfix ( -- )
a--;

eg. #include<iostream.h>
      void main( )
    {
       int a = 5;
      cout<<a--;
      cout<<a;
   } 

- ေပးထားတဲ့.. example ေတြကုိ.. Turbo C ထဲမွာ.ထည့္ Run ၾကည့္ၾကပါ...။
- prefix --a;  နဲ႔ postfix a--; တို႔ရဲ႔အေၿဖဟာ.. မတူညီၾကပါဘူး..။
- prefix က..အလုပ္ကုိ..အရင္လုပ္ပါတယ္.။
- int a=5; cout<<--a; ရဲ႔.. အေၿဖက.. 4 ၿဖစ္ပါတယ္.။ သူရဲ႔အလုပ္လုပ္ပံုက.. အရင္ဆံုး a ထဲကုိ 5 ထည့္ထားပါတယ္။
- --a; လုိ႔ေၿပာလုိ႔.. a ကုိ.. တစ္အရင္ေလွ်ာ့ပါတယ္.။ ၿပီးမွအေၿဖထုတ္တာပါ..။ အဲ့ေတာ့.အေၿဖက.4ရပါတယ္.။
- postfix က. .အလုပ္ကုိ.. အေၿဖကုိအရင္ထုတ္ပါတယ္။ အလုပ္ကုိေနာက္မွလုပ္ပါတယ္။
- int a = 5; cout<<a--; cout<<a; လုိ႔ေရးထားလုိ႔.. အရင္ဆံုး a ထဲကုိ 5 ထည့္ထားပါတယ္။ 
- cout<<a--; ဆိုလုိ႔. a ရဲ႔အေၿဖကိုအရင္ထုတ္ပါတယ္.။ အေၿဖက 5 ပါ။ ၿပီးမွ.. a ကုိ.. တစ္ေလွ်ာ့ပါတယ္.။ အေၿဖ 5 ထြက္ၿပီးမွ.. a ရဲ႔တန္ဖုိးက 4 ၿဖစ္သြားပါတယ္။
- ေနာက္တစ္ေၾကာင္းမွာ.. cout<<a; ဆိုၿပီးထပ္ထုတ္လုိက္ေတာ့.. a ရဲ႔အေၿဖဟာ.. 4 ၿဖစ္ေနပါၿပီ..။

prefix နဲ႔... postfix ရဲ႔.အဓိပါယ္ကို.. နားလည္ၾကမယ္လုိ႔ထင္ပါတယ္.. ^_^

အရမ္းရွဳတ္သြားမွာစိုးလို႔.. နည္းနည္းခ်င္းစီ..တင္ေပးေနတာပါ.. ။ ေနာက္ဆက္လက္ေရးမွာေတြလည္း.. အားေပးၾကပါဦးေနာ္..။ စိတ္၀င္တစားနဲ႔.. ေလ့လာေပးတဲ့အတြက္.. ေက်းဇူးအထူးတင္ပါတယ္..။ 

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

5 Jun 2013

C++ Programming ( Lesson 3 )
















အားလံုးပဲ..မဂၤလာပါ။ ဟုိတေန႔က.. Lesson 2 က. homework ကုိ..ရၾကလိမ့္မယ္လုိ႔..ထင္ပါတယ္.။ အေၿဖကုိလည္း.. comment box မွာ.ေရးထားပါတယ္.။ ဒီေန႔ေတာ့.. သင္ခန္းစာေတြ.. ေက်ညပ္သြားေအာင္.. ေမးခြန္းေလးေတြ.ထပ္ေပးမယ္ေနာ္...။ ေၿဖၾကည့္လိုက္ၾကဦးေနာ္..။

Que: Find the rectangle area. Formula >> Area = Length * Width
         Find the circle area. Formula >> Area = 3.14* r * r
         Find the triangle area. Formula >> Area = ( 1/2 ) * base * higth

Rectangle , circle, triangle တို႔ရဲ႔.. area ကုိ..ရွာၾကည့္ၾကပါေနာ္..။ လုိအပ္တဲ့.. formula ေတြကိုလည္း  ေပးထားပါတယ္.။  length ေတြ width ေတြကိုေတာ့.. ၾကိဳက္တာထည့္ၿပီး.. ေရးၾကည့္ၾကပါေနာ္.. ^_^


User Input
အရင္တုန္းက.. စမ္းခဲ့ၾကတဲ့.. ပုဒ္စာေတြမွာ.. input ကုိ. ကိန္းေသထည့္ခဲ့ၾကပါတယ္..။ အခုဟာက.. input ကုိ. user ဆီက..ေတာင္းၿပီးထည့္မွာပါ.။ input ေတာင္းမယ္ဆုိေတာ့. cin ကိုသံုးရမွာေပ့ါေနာ္..။

Que: Input two numbers from the keyboard and display their sum.

#include<iostream.h>
{
   int a,b,c;
   cout<<"Enter a number for a:";
   cin>>a;
   cout<<"Enter a number for b:";
   cin>>b;
    c = a + b;
   cout<<"sum="<<c;
}

- အေပၚကအတုိင္း.. Turbo C မွာသြား Run ၾကည့္ရေအာင္ေနာ္..။ ( C: or D:\TC\BIN\TC.EXE )
- code ေတြေရးၿပီးသြား၇င္.. compile ( Alt+F9 ) လုပ္ၾကည့္ပါ..။ အမွားရွိမရွိပါ..။
- ေအာက္ကအတိုင္း.. Error 0 , Warning 0 ၿဖစ္ရင္.. Run ( Ctrl+F9 ) ၾကည့္ရေအာင္ေနာ္..













- Run လိုက္ရင္.. screen အမည္းေရာင္ၾကီးတတ္လာပါလိမ့္မယ.္.။ cout<<"Enter a number for a:"; cin>>a; လုိ႔ေရးခဲ့လို႔.. a အတြက္.. တန္ဖိုးေတာင္းပါလိမ့္မယ္.။ int (integer) လုိ႔ေပးခဲ့လို႔.. ကိန္းၿပည့္ေတြပဲထည့္လို႔ရပါမယ္...။ ဒသမကိန္းေတြမရပါဘူး..။ Data Type ေတြကိုလည္း.. Lesson 2 မွာ..ေၿပာခဲ့ၿပီးပါၿပီ..။












- a ရဲ႔တန္ဖိုးထည့္ၿပီး.. enter ေခါက္လိုက္ပါ..။
- b တန္ဖိုးဆက္ေတာင္းပါလိမ့္မယ္..။ ကိန္းတစ္ခုခုထည့္ၿပီး.. enter ေခါက္လိုက္ပါ..။












- cout<<"sum="<<c; ဆိုေတာ့.. အ၇င္ဆံုး sum= ဆုိၿပီးထြက္လာပါတယ္..။ အဲ့ေနာက္ကေန.. c ရဲ႔..ေပါင္းလဒ္ကို.. ေဖာ္ၿပေပးပါတယ္..။ a နဲ႔ b တန္ဖိုးထည့္ၿပီး.. enter ေခါက္လိုက္ရင္.. အေၿဖတန္းက်လာခ်င္မွက်ပါတယ္.။ တကယ္လို႔.. အမည္းေရာင္ screen ၾကီးေပ်ာက္သြား၇င္.. စိတ္မပူပါနဲ႔..။ Window > User screen ကုိသြားလိုက္ပါ.။












- အမည္းေရာင္ screen နဲ႔.. ခုန Run ခဲ့တဲ့.. ပုဒ္စာရဲ႔အေၿဖပါ.. ၿပန္ေပၚလာပါလိမ့္မယ္။
- အမည္းေရာင္ screen ေပၚကုိ.. တစ္ခ်က္ click လုိက္ရင္.. Turbo C ၿပန္ေရာက္သြားပါလိမ့္မယ္..။












ဒီလိုဆုိရင္.. user ဆီက.. input ကုိ..ေတာင္းတတ္မယ္လုိ႔..ထင္ပါတယ္.. ^_^
ေအာက္က... ပုဒ္စာေလးတစ္ပုဒ္ကုိၾကည့္ၿပီး.. အေပၚဆံုးက ပုဒ္စာေတြကုိ..input ကုိ ကိန္းေသမဟုတ္ပဲ.. user ဆီက input ေတာင္းၿပီး.. ၿပန္ၿပင္ေရးၾကည့္ၾကပါေနာ္....

Que: Input Degree Fahrenheit and display the corresponding degree Celsius.

#include<iosteram.h>
void main()
{
   float  tf , tc;
   cout<<"Enter degree Fahrenheit ";
   cin>> tf;
   tc = 5.0/9.0 ( tf - 32.0 );
   cout<<"Degree Celsius is:"<<tc;
}

- အေၿဖကို..ရွငး္ၿပပါ့မယ္..။ Run တာကုိေတာ့..မေၿပာေတာ့ပါဘူး.. ကုိယ္တုိင္ Run ၾကည့္ၾကေနာ္..။
- float tf , tc ; လို႔ ဘာလုိ႔ေပးခဲ့တာလဲဆုိရင္. Fahrenheit ရဲ႔.တန္ဖိုးဟာ.. အၿမဲတမ္း ကိန္းၿပည့္နဲ႔ပဲ.. လာမွာမဟုတ္ပါဘူး.. ။ ဒသမကိန္းလည္းပါႏိုင္ပါတယ္.. ။ ဥပမာ.. 2.33 degree Fahrenheit
- formula မွာ.. tc = 5.0/9.0 ( tf - 32 ); ဆိုတာေၾကာင့္.. tf က float ဆိုရင္.. တၿခားဟာေတြက.. integer ၿဖစ္လုိ႔မရပါဘူး..။ မ်ိဳးတူမွ.. ေပါင္းႏဳွတ္ေၿမွာက္စား လုပ္လုိ႔ရတာပါ..။ အဲ့ဒါေၾကာင့္.. tc ကုိပါ. float ေပးခဲ့တာပါ..။ 
- 5.0 , 9.0 လို႔..ေပးတာကလညး္. float ပံုစံ၀င္ေအာင္. ဒသမကိန္းပံုစံၿဖစ္ေအာင္ေပးထားတာပါ..။ 5/9 လို႔သာေပးခဲ့ရင္.. integer ၿဖစ္သြားၿပီး.. တၿခားဟာေတြနဲ႔.. ေၿမွာက္လို႔.. ႏွဳတ္လို႔မရပါဘူး..။
- ဒီလိုဆုိရင္.. program တစ္ပုဒ္မွာ integerေပးသင့္လား...။ float ေပးသင့္လား. သေဘာေပါက္မယ္လို႔ထင္ပါတယ္...။

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

1 Jun 2013

C++ Programming (Lesson 2)



ဒီေန႕ေတာ့ C++ ကို ဘယ္လိုေရးလဲဆိုတာ စလိုက္ၾကရေအာင္ ဟိုေန႕က အေခၚအေ၀ၚေတြလည္း မွတ္မိ
မယ္ထင္ပါတယ္..ေအာက္က Example ေလးအတုိင္း Turbo C မွာေရးလိုက္ၾကရေအာင္ေနာ္.. ( C: or D:>TC>BIN>TC.EXE )
#include<iostream.h>
void main()
{
   count<<"Hello World";
}

-Code ေတြအေၾကာင္းရွင္းျပပါ့မယ္ C++ ေရးရင္ #include<iostream.h> နဲ႕စပါတယ္ Header file ပါ..ဒါကို ဟိုတစ္ေန႕က ေျပာခဲ့ပါတယ္။
-Void ကို ဘာလို႕ထည့္ထားသလဲဆိုရင္ Retrun ျပန္စရာမလိုေအာင္လို႕ပါ.. Void ကိုသာ ျဖဳတ္ေရးခဲ့မယ္ဆိုရင္ Program အဆံုးမွာ Return true ဒါမွမဟုတ္ Retrun false ျပန္ေပးရပါတယ္..။
-Body ထဲကစာေတြကို {} အဖြင့္အပိတ္နဲ႕ေရးပါတယ္.. User က Hello World ဆိုတာကို Out Put
ျပခ်င္တာေၾကာင့္ count ( Console Output ) ကိုသံုးထားတာပါ။ ျပခ်င္တဲ့စာသား (String) ေတြကို
double code ( " " ) ထဲ ထည့္ေရးရပါမယ္ ။ C++ မွာ Program တစ္ေၾကာင္းဆံုးတိုင္း semi commer
( ; ) ပါပါတယ္.. semi commer မပါတာဆိုလို႕  header file နဲ႕ function name ေတြပဲရွိပါတယ္..
semi commer မပါခဲ့ရင္ Error တက္ပါလိမ့္မယ္။
-ေရးၿပီးရင္ Alt+F9 ကိုႏွိပ္ပါ..Compile လုပ္တာပါ ။ Compile ဆိုတာ Error (အမွား) ရွိမရွိ အရင္စစ္တာ
ပါ
-ပံုျပထားတဲ့အတိုင္း Warnings 0 , Error 0 ျဖစ္ရင္ Run လို႕ရပါၿပီ .. ။
- Run မယ္ဆိုရင္ Clt + F9 ကိုႏွိပ္လုိက္ပါ။ "Hello World" က်လာပါလိမ့္မယ္..တစ္ခ်ိဳ႕ေသာ Computer
ေတြက Turbo C ကို Run လိုက္ရင္ေတာင္ Full Screen မျပႏိုင္ပါဘူး.. အဲလိုမျပႏိုင္ရင္ Run လိုက္ရင္ အေျဖေပၚလာမွာ မဟုတ္ပါ.. Compile ေတာ့စစ္လို႕ရပါတယ္...။
ညီမကြန္ပ်ဴတာလည္း အဲလိုျဖစ္ေနလို႕ Print Screen ဖမ္းၿပီးမျပႏိုင္ပါဘူး :(
- Program တစ္ခုေရးၿပီးသြားလို႕ Save လုပ္ခ်င္ရင္ File >> Save ကိုႏွိပ္လိုက္ပါ။
ေအာက္မွာျပထားတဲ့အတိုင္း က်လာပါလိမ့္မယ္..။ 
- NONAME00.CPP ကိုဖ်က္ၿပီး နာမည္တစ္ခုခုေပးလုိက္ပါ..။ " .CPP " ကေတာ့ ပါရပါမယ္ ညီမကေတာ့
helloworld.CPP ဆိုၿပီးေပးလိုက္ပါတယ္
- C++ code ေတြရဲ႔..ထိပ္နားမွာ.. helloworld.CPP ဆိုၿပီး..ေၿပာင္းသြားပါလိမ့္မယ္..။
ဒီေလာက္ဆုိရင္.. C++ ကုိ..နည္းနည္းနားလည္လာလိမ့္မယ္လို႔..ယံုၾကည္ပါတယ္..။ ဆက္သြားလိုက္ဦးမယ္ေနာ္.... ^_^
ဒီတစ္ခါ.. user က.. screen ေပၚမွာ.. Good Morning ဆိုတာ..ၿပခ်င္တယ္.. ဘယ္လိုေရးၾကမလဲ..။ လြယ္ပါတယ္.။ ခုနအတိုင္းပဲ. Hello World ေနရာမွာ.. Good Morning ပဲေၿပာင္းသြားမွာပါ..။ အသစ္ထပ္ေရးၿပီး.. Run ၾကည့္ၾကေနာ္..။ အရင္ဆံုး.. Complie စစ္ဦးေနာ္.. :)
#include<iostream.h>
void main( )

{
   cout<<"Good Morning";
}



Variable Declaration


Data Type            Name        Values
int           Integer(ကိန္းၿပည့္)    1,40,584,1000
float        Float(ဒသမကိန္း)    0.12, 1.04, 0.057
double        Double(ဒသမကိန္း)    0.246, 1.224, 3.00445
char               Character    a, b , c , ...... z
String           String(စာေၾကာင္း)    "hello", "ab", "Welcome"

Math Sign

Type    Name
+          Plus
-           Minus or Sub
*          Multiply
/           Divide
%         Modulus ( အၾကြင္း )
ဒါေလးေတြကုိ.. အရင္မွတ္ထားလိုက္ဦးေနာ္..။ ေရးထားတာကုိ..ၾကည့္ရင္..နားလည္မယ္လို႔ထင္ပါတယ္..။

Input tow number and output sum result

#include<iostream.h>
void main( )
{
  int a,b,c;
  a=2;
  b=3;
  c=a+b;
 cout<<"c="<<c;
}
ဒါေလးကို.. Turbo C မွာေရးၾကည့္ၿပီး.. Run ၾကည့္လိုက္ၾကေနာ္..
- int a,b,c; ဆိုတာ.. user က variables ( a,b,c သံုးခု )ကုိ.. int ဆိုၿပီး.. Integer သတ္မွတ္လိုက္တာပါ..။ C++ မွာ.. ကိုယ္သံုးခ်င္တဲ့.. variables ေတြကုိ.. ေရွ႔ကေန.. Data Type ေၾကညာေပးရပါတယ္..။
- a=2; ဆိုတာက.. a ထဲကုိ.. 2ထည့္ထားတယ္လို႔..ဆုိလိုတာပါ..။ Programming code ေတြမွာ.. equal ဆိုတာ.. ညီတယ္လို႔..မဆုိလိုပါဘူး.။ Assign ထည့္တယ္လုိ႔..သတ္မွတ္ပါတယ္.။ left ဘက္က..values ကုိ.. right ဘက္ထဲ ထည့္ထားတာပါ..။
- c=a+b; ဆုိတာလည္း.. a နဲ႔ b ေပါင္းလို႔ရတဲ့အေၿဖကို.. c ထဲထည့္မယ္လုိ႔..ေၿပာထားတာပါ.။
- user က cout ထုတ္လိုက္ေတာ့..ပထမဆံုး. screen မွာ.. "c=" လို႔ေရးထားတဲ့အတြက္.. String ၿဖစ္လုိ႔.. user ေရးထားတဲ့အတုိင္း c= ဆိုၿပီးထြက္လာပါလိမ့္မယ္.။ ေနာက္ေတာ့ c တစ္လံုးေရးထားေတာ့.. c ရဲ႔အေၿဖထြက္လာပါလိ္မ့္မယ္..။ c မွာ. a နဲ႔ b ေပါင္းလို႔ရတဲ့.. အေၿဖ 5 ထြက္လာပါလိမ့္မယ္..။
ဒါက.. အေပါင္းပုဒ္စာေလးပါ.. အဲ့ေနရာမွာ. -, *, / ေၿပာင္းေရးလို႔ရပါတယ္.. ။ ေအာက္မွာ.. အိမ္စာေလးေပးလိုက္မယ္ေနာ္..။ လုပ္ၾကည့္လိုက္ၾက..။ အေၿဖကုိ.. ေနာက္ေန႔.. Comment Box မွာ..စာခ်န္ခဲ့ေပးပါ့မယ္.. ^_^
Write a program to input two numbers from the keyboard and display their sum,sub,mul,div on the screen. Input two numbers are as you like.   



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

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

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 (709) 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 (64) PHOTO SHOP (သင္တန္း)သီးသန္႔ (44) Photo Slideshow (12) photoshop background အလန္းမ်ား (6) photoshop PNG ဖိုင္မ်ားရွာရန္ (14) Photoshop Software (35) 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)

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