17.Bloodshed Dev C++ Дасгал ажил

Download 17.Bloodshed Dev C++ Дасгал ажил

Post on 25-Oct-2015

91 views

Category:

Documents

10 download

Embed Size (px)

DESCRIPTION

saihan nom

TRANSCRIPT

  • Bloodshed Dev C++ ( ) :

    (Compile and Link) (Run) (Error) (Warning)

    Bloodshed Dev C++ C C++ , (www.bloodshed.net) .Windows XP Guest ( ) (Turbo/Borland C++ .. ).

    ( 107) Dev C++ C:\Dev-Cpp . ,

    devcpp.exe . .1. :

    2. Start|Programs|Bloodshed Dev-C++|Dev-C++ :

    3. C:\Dev-Cpp , devcpp.exe :

    4. devcpp.exe , :

    :

    . ( ). Windows , , .

    , , . . . ? , .

    Bloodshed Dev C++ ( ) file:///C:/Users/Zaya-PC/Documents/Lesson2011-2012-2/1.Programchl...

    1 of 6 12.05.16 11:56

  • ? .- (Source file) . c cpp .Dev C++ , :

    File|New|Source File , , CTRL+N :

    Untitled . 1 (Untitled1), 2 (Untitled2) ..- . , :

    :

    , . , , .

    , . Edit Cut (CTRL+X), Copy (CTRL+C), Paste (CTRL+V) .. .

    , Edit Undo (CTRL+Z) . . :

    File|Save , , CTRL+S :

    Bloodshed Dev C++ ( ) file:///C:/Users/Zaya-PC/Documents/Lesson2011-2012-2/1.Programchl...

    2 of 6 12.05.16 11:56

  • Save File . File Name Save . C:\Dev-Cpp . Dev-Cpp Work , .

    :

    . . hello . . cpp :

    Bloodshed Dev C++ ( ) file:///C:/Users/Zaya-PC/Documents/Lesson2011-2012-2/1.Programchl...

    3 of 6 12.05.16 11:56

  • C:\Dev-Cpp\Work hello.cpp . (Compile and Link) . .

    (object file) . . - obj . . :

    hello.cpp (Compile) Hello.obj , (execution module) . exe

    , . Exe 100% . , (Link) . (linker) . :

    Hello.obj (Link) Hello.exe Dev C++ ? :

    Execute|Compile , , CTRL+F9 :

    , , hello.exe . . Close :

    .. - . Exe , . C:\Dev-Cpp\Work :

    ? .

    , (). :

    Bloodshed Dev C++ ( ) file:///C:/Users/Zaya-PC/Documents/Lesson2011-2012-2/1.Programchl...

    4 of 6 12.05.16 11:56

  • (Run) exe . . Work , hello.exe

    . Dev C++ exe . :

    Execute|Run , , CTRL+F10 :

    . :

    . Sain uu! . .ENTER ( ) , Dev C++ .

    (Error) (syntax errors) . . . .

    . :

    ? , :

    Compiler output Compiler , . :hello.cpp 6-

    Bloodshed Dev C++ ( ) file:///C:/Users/Zaya-PC/Documents/Lesson2011-2012-2/1.Programchl...

    5 of 6 12.05.16 11:56

  • . printf() .

    . (#include ) . .

    . . (Warning) . , - . . .

    . 0 , 0 .

    Bloodshed Dev C++ ( ) file:///C:/Users/Zaya-PC/Documents/Lesson2011-2012-2/1.Programchl...

    6 of 6 12.05.16 11:56