Microsoft Visual C++/cli step by Step



Download 2,23 Mb.
Pdf ko'rish
bet50/102
Sana31.12.2021
Hajmi2,23 Mb.
#228061
1   ...   46   47   48   49   50   51   52   53   ...   102
Bog'liq
Visual studio C step by step

Quick reference

To

Do this

Create a new project in Visual Studio 2012.

Click File | New | Project, or press Ctrl+Shift+N. In the Express 

version, on the File menu, click New Project.

Add a file to a project.

Click File | New | File, or press Ctrl+N.

Build a Visual Studio 2012 project.

Click Build | Build Solution, or press Ctrl+Shift+B.

Execute a program from within Visual Studio 2012.

Click Debug | Start Without Debugging, or press Ctrl+F5.





  

57

C H A P T E R   5

Decision and loop statements

After completing this chapter, you will be able to:



Make decisions by using the if statement.



Make multiway decisions by using the switch statement.



Perform loops by using the whilefor, and do-while statements.



Perform unconditional jumps in a loop by using the break and continue statements.



A

ll high-level languages provide keywords with which you can make decisions and perform loops. 

C++ is no exception. C++ provides the if statement and the switch statement for making deci-

sions, and it provides the whilefor, and do-while statements for performing loops. In addition, C++ 

provides the break statement to exit a loop immediately and the continue statement to return to the 

start of the loop for the next iteration.

In this chapter, you will see how to use these statements to control the flow of execution through a 

C++/CLI application.




Download 2,23 Mb.

Do'stlaringiz bilan baham:
1   ...   46   47   48   49   50   51   52   53   ...   102




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish