Results 1 to 25 of 25

Thread: DEV-C++

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User devilguard3's Avatar
    Join Date: Apr:2009
    Location:
    Posts: 260

    DEV-C++

    . . :
    1.>->->Console Application/Windows Application( ). Source .
    2. :

    #include <studio.h>

    int main(void)
    {
    printf("hello world");
    system("PAUSE");
    return 0;
    }





    Program Zad1.cpp
    #include <iostream.h>
    int main()
    {double a = 2.3;
    double b = 3.7;
    double p, s;
    /* */
    p = 2*(a+b);
    /* */
    s = a*b;
    /* */
    cout << "p= " << p << "\n";
    /* */
    cout << "s= " << s << "\n";
    return 0;
    }

    .
    system("pause"); ( )
    return 0;
    }
    3. "- (F9)" .
    , .
    -. , .
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Untitled.jpg‎ 
Views:	206 
Size:	182.0 KB 
ID:	23909  
    Last edited by devilguard3; 22nd September 2009 at 21:22.
    Laptop:Asus k50IE |CPU:Intel Core Duo T4400 2.20Ghz 800Mhz|VGA: Nvidia G310M 512MB GDDR3|RAM: 4GB DDR3 1066Mhz|HDD: Hitachi 500GB

  2. #2
    Registered User
    Join Date: Dec:2007
    Location: Sofia
    Posts: 366
    .
    studio.h, stdio.h

  3. #3
    Registered User devilguard3's Avatar
    Join Date: Apr:2009
    Location:
    Posts: 260
    .
    Laptop:Asus k50IE |CPU:Intel Core Duo T4400 2.20Ghz 800Mhz|VGA: Nvidia G310M 512MB GDDR3|RAM: 4GB DDR3 1066Mhz|HDD: Hitachi 500GB

  4. #4
    Registered User
    Join Date: Dec:2007
    Location: Sofia
    Posts: 366
    , ++ , VC++ Express.

  5. #5
    Registered User
    Join Date: Oct:2003
    Location:
    Posts: 4,317
    , :
    #include <stdio.h>
    int main(void)
    {
    printf("hello world");
    return 0;
    }
    , , .
    system() stdio.h, , .
    , .
    " " - , .

  6. #6
    Registered User devilguard3's Avatar
    Join Date: Apr:2009
    Location:
    Posts: 260
    Quote Originally Posted by bsb View Post
    , :
    #include <stdio.h>
    int main(void)
    {
    printf("hello world");
    return 0;
    }
    , , .
    system() stdio.h, , .
    , .
    " " - , .
    . , . . 5 . , .
    Laptop:Asus k50IE |CPU:Intel Core Duo T4400 2.20Ghz 800Mhz|VGA: Nvidia G310M 512MB GDDR3|RAM: 4GB DDR3 1066Mhz|HDD: Hitachi 500GB

  7. #7
    undefined krisku's Avatar
    Join Date: Oct:2006
    Location: Svishtov
    Posts: 170
    1. File > New > Source File
    2. * Dev-C++*
    3. Execute > Compile, *.c *.cpp ( )
    4. Execute > Run, and have fun...

    , :

    Code:
    #include <stdio.h>
    
    int main(void)
    {
    printf("hello world");
    
    getch(); // press any key to exit
    
    return 0;
    }

    P.S.: IDE, C, C++ - . Google "C programming language IDEs" .
    NULL

  8. #8
    Registered User
    Join Date: Jul:2006
    Location:
    Posts: 1,071
    gcc .

    DEV-C++ nomingw?

    .. MinGW -> http://sourceforge.net/projects/dev-...p.exe/download
    ..2. , .

  9. #9
    Registered User devilguard3's Avatar
    Join Date: Apr:2009
    Location:
    Posts: 260
    Quote Originally Posted by mialy View Post
    gcc .

    DEV-C++ nomingw?

    .. MinGW -> http://sourceforge.net/projects/dev-...p.exe/download
    ..2. , .
    . , "" , . Borl*nd Turbo C++ 4.5 . .
    Laptop:Asus k50IE |CPU:Intel Core Duo T4400 2.20Ghz 800Mhz|VGA: Nvidia G310M 512MB GDDR3|RAM: 4GB DDR3 1066Mhz|HDD: Hitachi 500GB

  10. #10
    . haibusa2005's Avatar
    Join Date: Mar:2005
    Location:
    Posts: 1,884
    .
    Code:
    :\devcpp\
    - C, D, E, F , "C:\Program Files\dev c++"

  11. #11
    Bombera's Avatar
    Join Date: Jul:2001
    Location: 4EVA
    Posts: 13,833
    LCC-32
    ++ 4.5 .
    EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
    Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|

  12. #12
    philosophus duratea icaci's Avatar
    Join Date: Oct:2006
    Location: Aachen
    Posts: 2,698
    Internet - it doesn't make you stupid, it just makes your stupidity more accessible to others

  13. #13
    Registered User devilguard3's Avatar
    Join Date: Apr:2009
    Location:
    Posts: 260
    . Dev-C++ . , - Visual C++ .
    Laptop:Asus k50IE |CPU:Intel Core Duo T4400 2.20Ghz 800Mhz|VGA: Nvidia G310M 512MB GDDR3|RAM: 4GB DDR3 1066Mhz|HDD: Hitachi 500GB

  14. #14
    Registered User devilguard3's Avatar
    Join Date: Apr:2009
    Location:
    Posts: 260
    . :

    #include <iostream>
    using namespace std;
    #include "ccc_time.cpp"

    int main()
    {
    Time now;
    Time day_end(23, 59, 59);
    long seconds_left = day_end.seconds_from(now);
    cout << "There are " << seconds_left
    << " seconds left in this day.\n";
    return 0;
    }


    "Time now;" "{" . . , , " " . .
    ccc_time.cpp, employee.cpp, ccc_win.cpp .
    Laptop:Asus k50IE |CPU:Intel Core Duo T4400 2.20Ghz 800Mhz|VGA: Nvidia G310M 512MB GDDR3|RAM: 4GB DDR3 1066Mhz|HDD: Hitachi 500GB

  15. #15
    Registered User
    Join Date: Oct:2003
    Location:
    Posts: 4,317
    Quote Originally Posted by devilguard3 View Post
    ........
    "Time now;" "{" ........
    - . " " . , . , .

  16. #16
    Registered User
    Join Date: Jul:2006
    Location:
    Posts: 1,071
    , devilguard3 g++ 4.3.3, ccc_time.cpp ccc_time.h http://horstmann.com/bigcpp/bigcpp.zip.

    - , :
    ( main.cpp), devilguard3 ccc_time.cpp, ccc_time.h, *.cpp , ..
    g++ main.cpp ccc_time.cpp


    Dev-C++ , ...

  17. #17
    philosophus duratea icaci's Avatar
    Join Date: Oct:2006
    Location: Aachen
    Posts: 2,698
    ccc_time.cpp Time. , URL, , .
    Internet - it doesn't make you stupid, it just makes your stupidity more accessible to others

  18. #18
    Registered User devilguard3's Avatar
    Join Date: Apr:2009
    Location:
    Posts: 260
    Quote Originally Posted by icaci View Post
    ccc_time.cpp Time. , URL, , .
    . - .
    "
    -





    ( ++, I)"

    . ...
    , . C++ , ? , 2 , .
    Laptop:Asus k50IE |CPU:Intel Core Duo T4400 2.20Ghz 800Mhz|VGA: Nvidia G310M 512MB GDDR3|RAM: 4GB DDR3 1066Mhz|HDD: Hitachi 500GB

  19. #19
    Registered User
    Join Date: Dec:2007
    Location: Sofia
    Posts: 366
    ! .
    - Time .

    " ++"
    #include "ccc_time.cpp"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |