dev-cpp-users Mailing List for Dev-C++ (Page 521)
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
|
|
From: Per W. <pw...@ia...> - 2002-09-25 16:05:41
|
Precompiled headers simply means that the compiler will only parse the *.h
files once, and then remember all declarations in them.
When the project contains multiple source files, the compiler then doesn't
have to scan these header files once for each source file. Also, if you
perform changes to a source file - excluding any changes to include files
or include file order - the compiler may resuse the precompiled header
information when it compiles the changed source file the next time.
VC, Borland, Watcom and some more compilers support it. Most other
compilers don't. But, preferably, your source files should not assume any
assumption about support for precompiled headers or not. Start all your
source files with the following snipped, and you should be find. If your
include files contains template code you might have to add a:
#ifdef __GNUC__
#pragma implementation "filename"
#endif
before you include the header file, to let gcc know that it should only
place the code expansion in one object file, instead of generating new
code whenever some source file is including the header file.
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
/Per W
On Wed, 25 Sep 2002, RICARDO HENRIQUE FOLADOR wrote:
[NON-Text Body part not included]
|
|
From: RICARDO H. F. <OP...@si...> - 2002-09-25 15:34:24
|
As informa=E7=F5es contidas neste "e-mail" e nos arquivos anexados, s= =E3o para o uso exclusivo do destinat=E1rio aqui indicado, e podem conter s= egredos=20 comerciais, de propriedade intelectual ou outras informa=E7=F5es conf= idenciais, protegidas pelas leis aplic=E1veis. Caso n=E3o seja o destinat=E1rio cor= reto, esteja notificado, pelo presente, que qualquer revis=E3o, leitura, c=F3pia e/ou = divulga=E7=E3o do conte=FAdo deste "e-mail" s=E3o estritamente proibidas e n=E3o autor= izadas. Por=20 favor, apague o conte=FAdo do "e-mail" e notifique o remetente imedi= atamente. Obrigado por sua coopera=E7=E3o. The information contained in this e-mail and in the attached files are fo= r the exclusive use of the addressee herein nominated, and may contain trade se= crets, privileged and other confidential information,protected by the applicable= laws. In case you are not the right addressee, you are hereby notified tha= t any=20 reviewing, reading, copying and/or distributing of this e-mail's conte= nt is=20 strictly prohibited and unauthorized. Please, delete the e-mail's conten= t and=20 notify the sender immediately.=20 Thank you for your cooperation. |
|
From: Dondolo M. <MDo...@OL...> - 2002-09-25 15:27:49
|
Hi, I recently developed an interest in programming and instinctively, I chose C++ as my medium. I am currently relying on a book I downloaded from the internet ( SAMS Teach Yourself C++ in 21 days). I plan on buying a book for C++. I just need some advise on what book to buy, considering the fact that I am new at C++ .what other material (books) can I get from the net that would compliment my inexperience. Kind Regards, Mpho Dondolo Support Analyst CSC Computer Sciences (South Africa) (Pty) Ltd Tel: +27 21 5030997 Fax: +27 21 5095619 Email:MDo...@ol... Email: MDo...@cs... |
|
From: Abhijit S. <mu...@gm...> - 2002-09-25 15:13:14
|
----- Original Message ----- From: Vlada Djurovic To: DevC++ help Sent: Tuesday, September 24, 2002 6:08 PM Subject: [Dev-C++] restoring window Hello, list I wrote a program for drawing in a window( nothing special, just colord lines). It works fine, but, when I minimize the window, and then restore it, the lines are gone. I suppose that when I restore the window from minimized state, a WM_PAINT message is posted. Is this correct? Is there some API function which can restore the contents of the window in response to this message or I have to do it myself? ---------------------- You can force a redraw when you receive WM_SIZE messages, by calling InvalidateRect() or InvalidateRgn(). ___________________________________________________________ Abhijit Shylanath E-mail: mu...@gm... || ibr...@bi... Web-site: http://mudeth.tripod.com/ |
|
From: Louis G. <lg...@ya...> - 2002-09-25 14:56:50
|
Hi List, I've heard about WxWINDOW. Could anyone give a say a few basic things about WxWINDOW...What is it? What is it used for ? Anvantages / Disadvantages to MFC or WIN32 ? __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com |
|
From: <ste...@ge...> - 2002-09-25 14:28:53
|
----- Original Message -----
From: "Vlada Djurovic" <dj...@im...>
To: "'Per Westermark'" <pw...@ia...>
Cc: "'DevC++ help'" <dev...@li...>
Sent: Wednesday, September 25, 2002 3:36 PM
Subject: RE: [Dev-C++] restoring window
> I'm having some problems with this, because the program "freezes" when I
> use WM_PAINT. Is this message generated when dialog box pops up in front
> of the window or when I draw line with the mouse? Is there some other
> message that causes window to redraw its content?
Also when moving then window outside the screen ;)
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf Of Per
> Westermark
> Sent: utorak, 24. septembar 2002 14:45
> To: Vlada Djurovic
> Cc: DevC++ help
> Subject: Re: [Dev-C++] restoring window
>
> Sorry.
>
> Either perform all drawing to a bitmap that may be blitted back to the
> window on a WM_PAINT, or keep a list of all draw operations, and replay
> the list. The OS does not keep track of the contents of the windows.
>
> /Per W
>
>
> On Tue, 24 Sep 2002, Vlada Djurovic wrote:
>
> > Hello, list
> > I wrote a program for drawing in a window( nothing special, just
> colord
> > lines). It works fine, but, when I minimize the window, and then
> restore
> > it, the lines are gone. I suppose that when I restore the window from
> > minimized state, a WM_PAINT message is posted. Is this correct? Is
> there
> > some API function which can restore the contents of the window in
> > response to this message or I have to do it myself?
Stein Nygård - http://steinware.dk
lapido, ergo sum
|
|
From: Per W. <pw...@ia...> - 2002-09-25 14:23:17
|
WM_PAINT isn't used when drawing new information to a window. It's used when RE-drawing. After a window has been hidden, and later are showed again, it will receive a WM_PAINT message, to redraw the previously hidden area. The normal drawing for paint canvas is performed by hooking the mouse messages. /Per W On Wed, 25 Sep 2002, Vlada Djurovic wrote: > I'm having some problems with this, because the program "freezes" when I > use WM_PAINT. Is this message generated when dialog box pops up in front > of the window or when I draw line with the mouse? Is there some other > message that causes window to redraw its content? > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of Per > Westermark > Sent: utorak, 24. septembar 2002 14:45 > To: Vlada Djurovic > Cc: DevC++ help > Subject: Re: [Dev-C++] restoring window > > Sorry. > > Either perform all drawing to a bitmap that may be blitted back to the > window on a WM_PAINT, or keep a list of all draw operations, and replay > the list. The OS does not keep track of the contents of the windows. > > /Per W > > > On Tue, 24 Sep 2002, Vlada Djurovic wrote: > > > Hello, list > > I wrote a program for drawing in a window( nothing special, just > colord > > lines). It works fine, but, when I minimize the window, and then > restore > > it, the lines are gone. I suppose that when I restore the window from > > minimized state, a WM_PAINT message is posted. Is this correct? Is > there > > some API function which can restore the contents of the window in > > response to this message or I have to do it myself? > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: <qa...@ho...> - 2002-09-25 13:38:05
|
I found the way to create a multidimensional array with the size set at=
runtime.
The code is, in my case:
---
int row =3D atoi(argv[1]); // nbr of rows in the matrix
int col =3D atoi(argv[2]); // nbr of columns in the matrix
vector< vector <double> > v(row, vector<double>(col));
---
It now works fine to set the values with for instance
---
for(int i=3D0; i<row; i++)
for(int j=3D0; j<col; j++)
v[i][j] =3D (double) (i+j) / 3;
--
Now when this matrix is set I'd like to pass it on to a function:
---
void printMatrix(vector v){
for(int i=3D0; i<v.size(); i++){
for(int j=3D0; j<v[0].size(); j++)
cout << v[i][j] << " ";
cout << endl;
}
}
---
but the compiler complaints.
How shall I do to be able to pass it on to the function?
Regards
/J=F6rgen
*********** REPLY SEPARATOR ***********
On 2002-09-25 at 00:19 J=F6rgen wrote:
Hi list.
I'm quite new to c++ and i have written a program in java that I'd like (or=
rather need) to translate to c++, but I don't know how to solve this. How=
do I translate the following dummy java class to an equvalent c++ class?
public class Test{
double[][] input;
public Test(double[][] input){
this.input =3D input;
}
public double[][] getOutput(){
double[][] output =3D new double[input.length][input[0].length];
for(int i=3D0; i<output.length; i++)
for(int j=3D0; j<outout[0].length; j++)
output[i][j] =3D 2*input[i][j];
return output;
}
}
Thanks for your help
/J=F6rgen
|
|
From: Vlada D. <dj...@im...> - 2002-09-25 13:36:22
|
I'm having some problems with this, because the program "freezes" when I use WM_PAINT. Is this message generated when dialog box pops up in front of the window or when I draw line with the mouse? Is there some other message that causes window to redraw its content? -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Per Westermark Sent: utorak, 24. septembar 2002 14:45 To: Vlada Djurovic Cc: DevC++ help Subject: Re: [Dev-C++] restoring window Sorry. Either perform all drawing to a bitmap that may be blitted back to the window on a WM_PAINT, or keep a list of all draw operations, and replay the list. The OS does not keep track of the contents of the windows. /Per W On Tue, 24 Sep 2002, Vlada Djurovic wrote: > Hello, list > I wrote a program for drawing in a window( nothing special, just colord > lines). It works fine, but, when I minimize the window, and then restore > it, the lines are gone. I suppose that when I restore the window from > minimized state, a WM_PAINT message is posted. Is this correct? Is there > some API function which can restore the contents of the window in > response to this message or I have to do it myself? > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Daniel G. <sp...@ho...> - 2002-09-25 12:53:13
|
no function body for input() and output()
>From: "Mitchell, Tamra (DLM)" <Tam...@dl...>
>To: "'dev...@li...'"
><dev...@li...>
>Subject: [Dev-C++] classes
>Date: Wed, 25 Sep 2002 07:25:01 -0400
>
>
>I am a little confused can anyone please help me.
>
>The instructions are: Define a class called Month that is an abstract data
>type for a month. Your class will have one member variable of type int to
>represent a month (1 for Jan 2 for Feb) Include all the following member
>funct. a constructor to set the month using the first three letters in the
>name of the month as 3 arguments, a constructor to set the month using an
>integer as an argument (1 for Jan 2 for Feb) a default constructor an input
>function that reads the as an integer, an input func that reads the month
>as
>
>the first 3 letters in the name of the month, an output func that outputs
>the
>month as an integer and as letters, and a member func that returns the
>next
>
>month as a value of type Month. Embed your class definition in a test
>program.
>
>
>I can not seem to find my error. Here is my code.
>
>
>#include <iostream>
>#include <string.h>
>
>using namespace std;
>class Month
>{
>public:
> void input();
> void output();
> void set(int newMonth);
>
> //void set(int newMonth);
>
> int getMonthNumber();
>private:
> int month;
>};
>int main()
>{
> cout << "Enter the number of the month:\n";
> month.input();
> cout << "The month you entered is : ";
> month.output();
> cout << endl;
> return 0;
>}
>void Month::set(int newMonth)
>{
> if ((newMonth >= 1) && (newMOnth <=12))
> month = newMonth
> else
> {
> cout << "NOT A MONTH!\n"
> exit(1);
> }
>
>Tamra Y. Mitchell
>Database & Operating Systems Analyst
>412-237-5232 - Work
>412-996-9078 - Cell
>
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
|
|
From: Ioannis V. <no...@ho...> - 2002-09-25 12:21:31
|
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf
> Of dev...@li...
> Sent: Tuesday, September 24, 2002 10:00 PM
> To: dev...@li...
> Subject: Dev-cpp-users digest, Vol 1 #986 - 4 msgs
>
> Message: 3
> Date: Tue, 24 Sep 2002 16:36:15 +0200
> To: Dev...@li...
> From: metalseb <met...@fr...>
> Subject: Re: [Dev-C++] clrscr() and c99 compatibility
> Reply-To: met...@fr...
>
> Good afternoon Matthew
>
> >Code snippet: This happened several times with me, so I'm
> quite interested
> >to find out the reason why.
> >
> >sample code:
> >
> >void log_in(void)
> >{
> > clrscr();
> > printf("User login: ");
> > char login[80];
> > gets(login);
> > int c;
> > c = atoi(login);
> > if (c != 0 || c != 1 || c != 2) {
> > clrscr();
> > printf("Invalid login.");
> > for (;;) {
> > if (kbhit()) break;
> > }
> > }
> >}
> >
> >And it would give me a parsing error at "char login[80]" every time.
> >What's up?
>
> I tried it on my DevCpp 4.9.4.1 package and it gave me no
> compiling errors. And I really can't
> see why this should gave you errors at compile time.
>
> Kind regards
>
> --
> Seb
I had problems with the mailing list for days so i missed the
discussion. However clrscr(), kbhit() are not ANSI/ISO C and the
definition of char login[80] in that place is only possible to
C99/C++98. The default for MINGW is C90 though. You must use the std=c99
switch to make it C99.
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.cjb.net
* Alternative URL: http://run.to/noicys
|
|
From: Mitchell, T. (DLM) <Tam...@dl...> - 2002-09-25 11:25:19
|
I am a little confused can anyone please help me.
The instructions are: Define a class called Month that is an abstract data
type for a month. Your class will have one member variable of type int to
represent a month (1 for Jan 2 for Feb) Include all the following member
funct. a constructor to set the month using the first three letters in the
name of the month as 3 arguments, a constructor to set the month using an
integer as an argument (1 for Jan 2 for Feb) a default constructor an input
function that reads the as an integer, an input func that reads the month as
the first 3 letters in the name of the month, an output func that outputs
the
month as an integer and as letters, and a member func that returns the next
month as a value of type Month. Embed your class definition in a test
program.
I can not seem to find my error. Here is my code.
#include <iostream>
#include <string.h>
using namespace std;
class Month
{
public:
void input();
void output();
void set(int newMonth);
//void set(int newMonth);
int getMonthNumber();
private:
int month;
};
int main()
{
cout << "Enter the number of the month:\n";
month.input();
cout << "The month you entered is : ";
month.output();
cout << endl;
return 0;
}
void Month::set(int newMonth)
{
if ((newMonth >= 1) && (newMOnth <=12))
month = newMonth
else
{
cout << "NOT A MONTH!\n"
exit(1);
}
Tamra Y. Mitchell
Database & Operating Systems Analyst
412-237-5232 - Work
412-996-9078 - Cell
|
|
From: Per W. <pw...@ia...> - 2002-09-25 09:10:37
|
No, I don't think anyone on the list have any ideas. Why? Because we haven't got a clue about what problems you are having. Please, always be more specific about any questions you have. /Per W On Tue, 24 Sep 2002, Santiago wrote: > Hi all, > Does anyone know how to compile a class implementation? I'm also tyring to compile a client code for the String.h class I created, but the client code and the implementation class give errors. Anyone have any ideas??? > > Thanks! > Santiago > |
|
From: Per W. <pw...@ia...> - 2002-09-25 09:07:22
|
Why? If you want to use DevCpp because of license issues, these same issues probably means that you can't use the MFC libraries either, since I'm assuming you got your MFC license together with your VC compiler. If you are thinking about portability, you won't get any better portability of your programs either. In that case, modify the programs to use the wxWindow suite instead. That makes your program runnable on a lot of other target machines. /Per W On Wed, 25 Sep 2002 mr...@gm... wrote: > Hello >=20 > I'm new in DevCpp and this list and worked only with VC++ before. Now I w= ant > to port some of my projects to DevCpp. My problem is how to include the M= FC > to DevCpp. I don't know, what do I need, from where do I get it (maybe VC= ++), > and to where I have to put it? Can somebody help me? >=20 > Michael =20 >=20 > --=20 > Werden Sie mit uns zum "OnlineStar 2002"! Jetzt GMX w=E4hlen - > und tolle Preise absahnen! http://www.onlinestar.de >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >=20 |
|
From: metalseb <met...@fr...> - 2002-09-25 08:28:50
|
> Does anyone know how to compile a class implementation? It's as simple as compiling an application. I've made one, to get the mp3 IDtags. You can compile the sourcecode in each of your prject or make either a static link library or a DLL. > I'm also tyring to > compile a client code for the String.h class I created, but the client > code and the implementation class give errors. Yes, but this is not clear at all. "It gives me errors". Which ones ? Compile ? Links ? Runtime ? It would be useful to get help to cut&paste some code to see what's wrong ! Kind regards -- Seb |
|
From: metalseb <met...@fr...> - 2002-09-25 08:28:49
|
> My problem is how to include the MFC to DevCpp I'm afraid you can't. Or have to compile the whole MFC classes sourcecode to be able to link. They are available on the VC98 CD I think. If you've got time... Remember that MFC is Microsoft proprety. And it's not a good idea to try to use them outside MS developping tools. Can anyone contradict what I am telling ? -- Seb |
|
From: Marc H. <ma...@e-...> - 2002-09-25 07:26:28
|
Hi, I've been playing around with wxWindows on Dev-C++. I've found that building a basic Frame Window with no fancy frills results in an executable of about 1MB. That's alot to swallow, since, if you do the same thing using plain Windows API it comes in at 4KB. Are there ways of reducing the executable file size that I should be aware of. I need to make my executables as small as possible. Thanks _____________________________ Marc Heiligers |
|
From: <mr...@gm...> - 2002-09-25 06:52:29
|
Hello I'm new in DevCpp and this list and worked only with VC++ before. Now I want to port some of my projects to DevCpp. My problem is how to include the MFC to DevCpp. I don't know, what do I need, from where do I get it (maybe VC++), and to where I have to put it? Can somebody help me? Michael -- Werden Sie mit uns zum "OnlineStar 2002"! Jetzt GMX wählen - und tolle Preise absahnen! http://www.onlinestar.de |
|
From: Santiago <sa...@ho...> - 2002-09-25 00:14:23
|
Hi all, Does anyone know how to compile a class implementation? I'm also tyring = to compile a client code for the String.h class I created, but the = client code and the implementation class give errors. Anyone have any = ideas??? Thanks! Santiago |
|
From: <qa...@ho...> - 2002-09-24 22:19:16
|
Hi list.
I'm quite new to c++ and i have written a program in java that I'd like (or=
rather need) to translate to c++, but I don't know how to solve this. How=
do I translate the following dummy java class to an equvalent c++ class?
public class Test{
double[][] input;
public Test(double[][] input){
this.input =3D input;
}
public double[][] getOutput(){
double[][] output =3D new double[input.length][input[0].length];
for(int i=3D0; i<output.length; i++)
for(int j=3D0; j<outout[0].length; j++)
output[i][j] =3D 2*input[i][j];
return output;
}
}
Thanks for your help
/J=F6rgeno
|
|
From: Spike W. <sp...@ma...> - 2002-09-24 19:59:30
|
confirm 303284 |
|
From: Per W. <pw...@ia...> - 2002-09-24 19:48:36
|
Check which version of gcc you are using. This isn't a problem if compiled
as c++ but definitely is when compiling with old gcc in c mode.
Traditional c doesn't allow variable declarations other than absolutely
first in a function.
/Per W
On Tue, 24 Sep 2002, metalseb wrote:
> Good afternoon Matthew
>
> >Code snippet: This happened several times with me, so I'm quite interested
> >to find out the reason why.
> >
> >sample code:
> >
> >void log_in(void)
> >{
> > clrscr();
> > printf("User login: ");
> > char login[80];
> > gets(login);
> > int c;
> > c = atoi(login);
> > if (c != 0 || c != 1 || c != 2) {
> > clrscr();
> > printf("Invalid login.");
> > for (;;) {
> > if (kbhit()) break;
> > }
> > }
> >}
> >
> >And it would give me a parsing error at "char login[80]" every time.
> >What's up?
>
> I tried it on my DevCpp 4.9.4.1 package and it gave me no compiling errors. And I really can't
> see why this should gave you errors at compile time.
>
> Kind regards
>
> --
> Seb
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|
|
From: Patrick R. <pat...@wa...> - 2002-09-24 18:29:36
|
SUBMISSION TO THE MAILING LIST |
|
From: metalseb <met...@fr...> - 2002-09-24 14:34:22
|
Good afternoon Matthew
>Code snippet: This happened several times with me, so I'm quite interested
>to find out the reason why.
>
>sample code:
>
>void log_in(void)
>{
> clrscr();
> printf("User login: ");
> char login[80];
> gets(login);
> int c;
> c = atoi(login);
> if (c != 0 || c != 1 || c != 2) {
> clrscr();
> printf("Invalid login.");
> for (;;) {
> if (kbhit()) break;
> }
> }
>}
>
>And it would give me a parsing error at "char login[80]" every time.
>What's up?
I tried it on my DevCpp 4.9.4.1 package and it gave me no compiling errors. And I really can't
see why this should gave you errors at compile time.
Kind regards
--
Seb
|
|
From: Big P. <big...@li...> - 2002-09-24 13:38:05
|
I ported a wxWindows app from Visual C++ to DevC++ MANUALLY which runs but when I create a dialog (programmatically) I get an assertion that says that I probably forgot to include wx/msw/wx.rc in my resource file. I can't figure out how to fix it!! Please help! I tried adding wx.rc to the project but although it does compile, I still get the same error. -- Get your free email from www.linuxmail.org Powered by Outblaze |