Microsoft Visual C++/cli step by Step



Download 2,23 Mb.
Pdf ko'rish
bet47/102
Sana31.12.2021
Hajmi2,23 Mb.
#228061
1   ...   43   44   45   46   47   48   49   50   ...   102
Bog'liq
Visual studio C step by step

 

CHAPTER 1

 

Hello C++! 



 9

4. 

Click OK to create the project.

The wizard correctly initializes all the compiler settings for a console project.

editing the C++ source code

The wizard creates a project for you with all the files needed for a simple console application. It also 

opens the main source file in the editor that contains just the code we want.

Notice that the keywords automatically appear in blue (provided that you spell them correctly).

There are a few things in the automatically generated source code that we don’t need, so let’s 

remove them. This will give you some practice in using the editor as well as making the code easier to 

understand. The application is not going to receive any command-line arguments when you run it, so 

remove everything between the opening and closing parentheses following main—in this example, 



array ^args. In addition, the “L” before the “Hello World” string isn’t necessary 

either (for reasons that I’ll explain later), so you can remove that, as well.




Download 2,23 Mb.

Do'stlaringiz bilan baham:
1   ...   43   44   45   46   47   48   49   50   ...   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