Results 1 to 25 of 25
Thread: DEV-C++
Hybrid View
-
22nd September 2009 21:17 #1
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)" .
, .
-. , .
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
-
22nd September 2009 22:11 #2Registered User
Join Date: Dec:2007
Location: Sofia
Posts: 366
.
studio.h, stdio.h
-
22nd September 2009 22:19 #3
.
Laptop:Asus k50IE |CPU:Intel Core Duo T4400 2.20Ghz 800Mhz|VGA: Nvidia G310M 512MB GDDR3|RAM: 4GB DDR3 1066Mhz|HDD: Hitachi 500GB
-
22nd September 2009 22:36 #4Registered User
Join Date: Dec:2007
Location: Sofia
Posts: 366
, ++ , VC++ Express.
-
22nd September 2009 23:14 #5Registered User
Join Date: Oct:2003
Location:
Posts: 4,317
, :
#include <stdio.h>
int main(void)
{
printf("hello world");
return 0;
}
, , .
system() stdio.h, , .
, .
" " - , .
-
22nd September 2009 23:24 #6
-
22nd September 2009 23:25 #7
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
-
22nd September 2009 23:38 #8Registered User
Join Date: Jul:2006
Location:
Posts: 1,071
gcc .
DEV-C++ nomingw?
.. MinGW -> http://sourceforge.net/projects/dev-...p.exe/download
..2. , .
-
22nd September 2009 23:45 #9
-
23rd September 2009 01:15 #10
-
23rd September 2009 01:16 #11
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|
-
23rd September 2009 12:48 #12Internet - it doesn't make you stupid, it just makes your stupidity more accessible to others

-
23rd September 2009 13:40 #13
. 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
-
26th September 2009 21:04 #14
. :
#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
-
27th September 2009 20:49 #15Registered User
Join Date: Oct:2003
Location:
Posts: 4,317
-
27th September 2009 23:11 #16Registered 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++ , ...
-
26th September 2009 21:11 #17
ccc_time.cpp Time. , URL, , .
Internet - it doesn't make you stupid, it just makes your stupidity more accessible to others
-
26th September 2009 21:29 #18
-
27th September 2009 20:25 #19Registered User
Join Date: Dec:2007
Location: Sofia
Posts: 366
! .
- Time .
" ++"
#include "ccc_time.cpp"




Reply With Quote

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in