EXE yog ib hom ntawv uas tsis muaj software tuaj yeem ua yam tsis muaj. Nws ua txhua txoj hauv kev ntawm pib los teeb tsa cov phiaj xwm. Nws tuaj yeem yog daim ntawv thov tag nrho, lossis koom nrog nws.
Txoj kev los tsim
Muaj ob txoj hauv kev rau kev tsim cov ntaub ntawv EXE. Thawj yog kev siv qhov chaw ntawm lub cajmeem, thiab qhov thib ob yog kev siv cov tsim tshwj xeeb, nrog kev pab los ntawm cov chaw "rov ua haujlwm" thiab cov pob khoom ntsia hauv ib qho nias tau tsim. Ntxiv mus, los ntawm cov piv txwv, peb xav txog ob txoj kev xaiv.
Txoj Kev 1: Pom Duab Ua Si Lub Zej Zog
Xav txog cov txheej txheem tsim cov program yooj yooj yim raws li hom lus sau "Pom duab C ++" thiab muab tso ua ke nws hauv Visual Studio Community.
Download tau siv qhov muag saib lub Studio Lub zej zog los ntawm cov nom site rau dawb
- Peb qhib cov ntawv thov, mus rau cov ntawv qhia zaub mov Cov ntaub ntawv, nyem rau ntawm qhov khoom Tsim, thiab tom qab ntawd hauv cov npe uas qhib rau "Project".
- Qhov rai qhib “Tsim ib qhov project”nyob rau hauv uas koj yuav tsum xub nyem rau ntawm cov ntawv sau "Qauv"thiab ntawd "Pom duab C ++"Cov. Tom ntej no, xaiv Win32 Console Daim Ntawv Thov, teeb lub npe thiab thaj chaw ntawm txoj haujlwm no. Los ntawm lub neej ntawd, nws tau txais kev khaws cia hauv kev ua haujlwm ntawm Visual Studio Community, hauv qhov system nplaub tshev "Kuv cov ntawv", tab sis ntawm nws yuav muaj peev xwm xaiv lwm cov npe. Tom qab ua tiav kev teeb tsa, nyem OK.
- Pib li Win32 Daim Ntawv Thov Kho Kom Zoo Nkaujnyob rau hauv uas peb cia li nyem "Tom ntej".
- Hauv lub qhov rai tom ntej, peb txiav txim siab daim ntawv thov kev teeb tsa. Hauv tshwj xeeb, peb xaiv Console Daim Ntawv Thov, thiab teb "Cov kev xaiv qib siab" - "Phiaj xwm tsis muaj"thaum unchecking Precompiled Header.
- Ib qhov haujlwm pib hauv qhov uas koj xav tau ntxiv qhov chaw rau sau cov code. Ua li no, hauv lub tab Tshuaj Browser txoj nyem nyem rau ntawm cov ntawv sau Cov Ntaub Ntawv Cov Ntaub NtawvCov. Lub ntsiab lus teb ntawv qhia tshwm nyob rau hauv uas peb tshwm sim nyem rau ntawm Ntxiv thiab Tsim khoom.
- Hauv qhov rais qhib "Ntxiv cov khoom tshiab" xaiv cov khoom "C ++ ntawv"Cov. Tom ntej no, peb teeb lub npe ntawm cov lej txheej txheem ntawm daim ntawv thov yav tom ntej thiab nws txuas ntxiv ".S"Cov. Txhawm rau hloov cov chaw khaws ntaub ntawv, nyem rau ntawm "Txheej txheem cej luam".
- Qhov browser qhib, hauv uas peb qhia kom meej qhov chaw thiab nyem rau ntawm "Xaiv nplaub tshev".
- Raws li qhov tshwm sim, ib lub tab tshwm nrog lub npe "Source.sw"nyob rau hauv uas tus lej ntaus thiab edited.
- Tom ntej no, koj yuav tsum luam cov kab ntawv kab ntawv thiab lo rau hauv qhov chaw uas pom hauv daim duab. Ua ib qho piv txwv, noj cov hauv qab no:
- Txhawm rau tsim qhov project, nyem rau ntawm "Pib debugging" ntawm cov ntawv qhia zaub mov nco DebuggingCov. Koj muaj peev xwm tsuas nias lub pob "F5".
- Tom qab ntawv ceeb toom pops txog ceeb toom tias qhov haujlwm tam sim no dhau ntawm hnub nyoog. Nyem qhov no mus Yog lawm.
- Tom qab ua tiav ntawm kev muab tso ua ke, daim ntawv thov nthuav tawm lub qhov rai console uas nws yuav muab sau "Nyob Zoo Ntiaj Teb!".
- Cov ntaub ntawv tsim nyob rau hauv hom EXE tuaj yeem raug saib siv Windows Explorer hauv qhov project nplaub tshev.
rau cov tseem ceeb (rau cov menyuam sib cav, char * argv []) {#ncig teb chaws
#ncig teb chaws
printf ("Nyob Zoo, Ntiaj Teb!");
_getch ();
rov qab 0;
}
Nco tseg: Cov lus sau ua qauv saum toj no tsuas yog ua piv txwv xwb. Hloov chaw, koj yuav tsum siv koj tus kheej code los tsim ib qhov program hauv lub "Visual C ++" lus.
Txoj Kev 2: Cov Rau Nruab Nrab
Txhawm rau kom ua kom tiav cov txheej txheem ntawm cov txheej txheem software, thiaj li hu ua cov teeb tsa tau txais cov muaj npe zuj zus. Nrog lawv cov kev pab, software yog tsim, txoj haujlwm tseem ceeb uas yog txhawm rau ua kom yooj yim cov txheej txheem ntawm kev siv software rau hauv computer. Xav txog cov txheej txheem ntawm kev tsim cov ntaub ntawv EXE siv Smart Install Maker ua piv txwv.
Download Ntse Nruab Nruab Tsim los ntawm cov vev xaib ntawm haujlwm
- Peb pib qhov program thiab hauv lub tab "Cov ntaub ntawv" kho lub npe rau daim ntawv thov kev pabcuam tom ntej. Hauv dab teb Txuag Raws Li nyem rau ntawm daim nplaub tshev icon los txiav txim qhov chaw uas cov ntaub ntawv tawm cov ntaub ntawv yuav tau txais kev cawmdim.
- Explorer qhib, nyob rau hauv uas peb xaiv qhov chaw xav tau thiab nyem "Txuag".
- Mus rau hauv lub tab "Cov ntaub ntawv", qhov uas nws yog qhov yuav tsum tau ntxiv ntaub ntawv los ntawm lub pob uas yuav tom qab sib sau ua ke. Qhov no yog ua los ntawm txhaj rau lub icon. «+» nyob hauv qab ntawm qhov interface. Nws kuj tseem tuaj yeem ntxiv tag nrho cov ntawv, uas koj xav tau nyem ntawm lub cim, uas pom ib daim nplaub tshev nrog ib tus ntxiv.
- Tom ntej no, cov ntaub ntawv xaiv lub qhov rais qhib, qhov twg koj yuav tsum nyem rau ntawm lub icon nyob hauv daim ntawv ceev.
- Hauv qhov browser uas qhib, peb qhia tias daim ntawv thov xav tau (hauv peb tus neeg, qhov no yog "Torrent", koj tuaj yeem muaj lwm qho) thiab nyem rau ntawm "Qhib".
- Raws li qhov tshwm sim, hauv lub qhov rais "Ntxiv ib cov ntawv sau" ib daim ntawv yog tshwm nrog qhov ntsuas qhov ntawm nws qhov chaw. Peb tawm hauv cov kev xaiv ntxiv los ntawm lub neej ntawd thiab nyem OK.
- Tus txheej txheem ntawm kev ntxiv cov khoom siv tau rau hauv daim ntawv thov tshwm sim thiab cov lus sib nug nkag tau tshwm sim hauv thaj tsam tshwj xeeb ntawm cov software.
- Tom ntej no nyem "Yuav Tsum Muaj" thiab ib lub tab qhib qhov twg koj yuav tsum cim rau daim ntawv teev cov txheej txheem kev txhawb nqa. Tseg cov cim rau hauv lub npoo "Windows XP" thiab txhua yam uas poob rau hauv qab nws. Ntawm txhua lwm daim teb, peb tawm hauv cov txiaj ntsig pom zoo.
- Tom qab ntawd qhib tab Kev Sib Thamlos ntawm txhaj rau lub sib nug xov nyob rau sab laug ntawm lub interface. Ntawm no peb tso txhua yam los ntawm lub neej ntawd. Txhawm rau txhawm rau teeb tsa kab ntsig rau tom qab, koj tuaj yeem kos lub thawv Nraim kev teeb tsa.
- Qhov kawg ntawm tag nrho cov kev teeb tsa, peb pib sau ua ke los ntawm nias lub cim nrog tus cim cia.
- Cov txheej txheem tshwj xeeb tshwm sim thiab nws cov xwm txheej tam sim no tshwm nyob rau hauv lub qhov rai. Tom qab ua tiav ntawm kev tso ua ke, koj tuaj yeem sim cov pob tsim los yog kaw tag nrho lub qhov rai los ntawm txhaj cov khawm tsim nyog.
- Tshaj tawm software tuaj yeem pom pom siv Windows Explorer hauv daim nplaub tshev uas tau teev tseg thaum teeb tsa.
Yog li, hauv tsab xov xwm no, peb pom tias EXE cov ntaub ntawv tuaj yeem tsim tau siv cov chaw tsim kho tshwj xeeb, piv txwv li, Visual Studio Community, thiab cov nruab tshwj xeeb, piv txwv li, Smart Install Maker.