dev-cpp-users Mailing List for Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
|
1
(2) |
2
(2) |
3
(9) |
4
(11) |
5
(15) |
6
(5) |
7
|
8
(1) |
9
(2) |
10
(8) |
11
(4) |
12
(4) |
13
(5) |
14
(5) |
15
(10) |
16
(14) |
17
(7) |
18
(2) |
19
|
20
(7) |
21
(12) |
22
(6) |
23
|
24
(4) |
25
(6) |
26
(16) |
27
(9) |
28
(7) |
29
(18) |
30
(9) |
|
|
|
|
|
|
From: Julian E. <j_e...@ya...> - 2001-09-24 21:27:43
|
I have a program that complies and runs in both Microsoft C++ 6.0, and my schools Dec Unix C++ complier. I opened a new project in Dev C++ make it a console application. I added these three files to my project pwrpro.h, pwr.cpp, runpwr.cpp The program compiles with no errors. The problem is that this program should read data from a file and the then write a new file, with calculations in it. It writes a blank file. I am wondering if I am missing something for it to work correctly in this IDE. When i do not put my file in.data in the directory it correctly prints "the file is not found" in the output file. ANY HELP WILL BE GREATLY APPRECIATED!!!! //---------- // Specification File (pwrpro.h) // This module provides exponentiation functions. //---------- int PowerOfInt ( int someInt, int exp ); // PRE: Assign int (someInt) and exp > 0 // POST: Firstnum raised to the power "expon1" //(NOTE: Large exponents may produce overflow) float PowerOfFloat ( float someFloat, int exp ); // PRE: Assign float (someFloat) and assigned some exp > 0 // POST: someFloat raised to the power "exp" //(NOTE: Large exponents may produce overflow) bool NonZeroInt (int exp); //PRE: Take infile exp //POST: make sure exp > 0 ----------------------------------------------- ----------------------------------------------- ----------------------------------------------- //---------- // Specification File (pwr.cxx) // This module provides exponentiation functions. //---------- #include <iomanip.h> #include "pwrpro.h" int PowerOfInt ( int someInt, int exp ) //........... // PRE: Assign int (someInt) and exp > 0 // POST: Firstnum raised to the power "expon1" //(NOTE: Large exponents may produce overflow) //........... { int i; int partialVal = 1; for ( i = 1; i <= exp; i++) partialVal *= someInt; return partialVal; } float PowerOfFloat (float someFloat, int exp ) //........... // PRE: Assign float (someFloat) and assigned some exp > 0 // POST: someFloat raised to the power "exp" //(NOTE: Large exponents may produce overflow) //........... { int i; float partialVal = 1.0; for ( i = 1; i <= exp; i++) partialVal *= someFloat; return partialVal; } bool NonZeroInt (int exp) //.......... //PRE: Take infile exp //POST: make sure exp > 0 //.......... { bool value; if (exp <= 0) value = false; else value = true; return value; } ------------------------------------------------- ------------------------------------------------- ------------------------------------------------- //************************************************************************* //PURPOSE // runpwr.cxx) // This program reads IntNum, IntExp, FloatNum, FloatExp from an input file and calculates // IntNum^Int Exp and Float Num^ Float Exp. // Note X^n denotes X raised to the nth power. //************************************************************************* #include <fstream.h> #include <iomanip.h> #include "pwrpro.h" int main() { ifstream inFile; ofstream outFile; inFile.open("in.data", ios::nocreate ); outFile.open("out.data"); if (! inFile) { outFile<<" ERROR: Unable to locate file named 'in.data' "<<endl; return 0; } int IntExp, FloatExp, IntNum; float FloatNum; inFile >> IntNum >> IntExp >> FloatNum >> FloatExp; while (! inFile.eof() ) { if (NonZeroInt (IntExp)== false) outFile <<"This Function accepts only " <<"postive integer exponents!" <<" Your exponent is zero or negative. "; else { outFile <<IntNum << "^"<< IntExp << " = " << setw (10) << PowerOfInt(IntNum,IntExp) <<endl; } if (NonZeroInt (FloatExp)== false) outFile <<"This Function accepts only " <<"postive integer exponents!" <<" Your exponent is zero or negative. "; else { outFile <<FloatNum << "^"<<FloatExp << " = " << setw (10) <<setiosflags(ios::fixed) << setprecision (2)<<PowerOfFloat(FloatNum, FloatExp) <<endl <<endl; } inFile >> IntNum >> IntExp >> FloatNum >> FloatExp; } inFile.close(); outFile.close(); return 0; } __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com |
From: Julian E. <j_e...@ya...> - 2001-09-24 21:27:20
|
__________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com |
From: Schedler, K. <Kur...@hi...> - 2001-09-24 14:35:27
|
I think you need to put a #define IDR_PCXFILE 999 in a header file that is #included in both the resource file and the source file(s) which use the name. -----Original Message----- From: Tomas Dolejsi [mailto:do...@vo...] Sent: Saturday, September 22, 2001 5:33 AM To: Dev-C++ Mail Group Subject: [Dev-C++] Custom Resource Hello! I'd like to include a .pcx file in the .exe file of the application. I put following line in 'rsrc.rc' file: IDR_PCXFILE BINTYPE Main.pcx And there's the piece of my code which should load the pcx file resource: hResource = LoadResource (hInstance, FindResource (hInstance, "BINTYPE", MAKEINTRESOURCE (IDR_PCXFILE))); However, the compiler claims that IDR_PCXFILE hasn't been declared. When replacing IDR_PCXFILE with (e.g.) number 999 (in both files), the program crashes, too. Does anyone know what's wrong? "The sender believes that this E-mail and any attachments were free of any virus, worm, Trojan horse, and/or malicious code when sent. This message and its attachments could have been infected during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective and remedial action about viruses and other defects. The sender's employer is not liable for any loss or damage arising in any way from this message or its attachments." |
From: Giuseppe F. <egi...@ti...> - 2001-09-24 13:05:18
|
Thanx Joannis Giuseppe ----- Original Message ----- From: "Ioannis Vranos" <no...@ya...> To: <dev...@li...> Sent: Saturday, September 22, 2001 3:55 PM Subject: RE: [Dev-C++] dev-c++ & gtk > > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf > > Of Giuseppe Falchi > > Sent: Friday, September 21, 2001 2:52 PM > > To: dev...@li... > > Subject: [Dev-C++] dev-c++ & gtk > > > > > > > > Hi, somebody of you know what to programming in Windows and > > Dev-C++ whit the GTK library? I say, what to set the > > directories and the files? What version of gtk and libc is to > > download? What to set the Dev-C++ ide for GTK programming? > > What is Glade? > > > > p. s. > > Anyone advise me a good library (for GUI interfaces, C++ > > compatible) to use whit Dev-C++? > > > I hate self advertisements, but: http://www.noicys.f2s.com/links.htm > > > > Giuseppe Falchi > > > Ioannis > > * Ioannis Vranos > * Programming pages: http://www.noicys.f2s.com > * Alternative URL: http://run.to/noicys > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |