dev-cpp-users Mailing List for Dev-C++ (Page 480)
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: Carlos d. M. <cg...@wo...> - 2002-11-25 17:05:34
|
You used some french specific character (accent, cedilla), before it there is some parse error (some parenthesis or bracket missing, or ; or , or whatever) Pierre Lepage escribi=F3: > Somebody may explain me the meaning of this message ? > > Pierre > |
|
From: Louis G. <lg...@ya...> - 2002-11-25 16:45:21
|
Hi Eric :
I hope your idea becomes part of policy at
dev...@li....
Files with attachments should be blocked from distribution to users
by the userlist server
--- Eric Richards <e.r...@pa...> wrote:
> Hi I have a thing about attachments, since virus are on the cruse, would
> it be
> possable to include the C++ within the body of the Email and not a
> attachment,
>
> I am always very keen to delete a Email that has a attachment to it.
>
>
>
> Just to refresh your memory on Monday 25 November 2002 18:36,
> Olu...@ao...
> told us:
>
> => Thanks for the reply.
> =>
> => I have a program to solve. I have been trying, but i can't solve
> the
> => problem. Can u help.
> =>
> => See attached document for program
> =>
> => Thanks
> => Olu...@ao...
> =>
>
> --
> From Eric
>
>
>
> NO ATTACHMENT WAS SENT WITH THIS EMAIL IF THERE IS ONE IT IS A
> UNDETECTED
> VIRUS, IF THERE IS ONE PLEASE LET ME KNOW ....
>
>
>
>
> -------------------------------------------------------
> 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
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
|
|
From: Louis G. <lg...@ya...> - 2002-11-25 16:35:14
|
This looks like a student homework assignment. It would be help you more if you read the textbook and try to figure it out --- Olu...@ao... wrote: > Thanks for the reply. > > I have a program to solve. I have been trying, but i can't solve the > problem. Can u help. > > See attached document for program > > Thanks > Olu...@ao... > > ATTACHMENT part 2 application/octet-stream name=C++_PROG.doc __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
|
From: Graeme F. <gr...@dr...> - 2002-11-25 16:33:42
|
The scanf function expect pointers to be sent to it so your code should
be...
scanf("%i",&SquadSize);
The reason your program is crashing is because the value currently in
SquadSize is an illegal address. But scanf doesn't know that so it writes to
that illegal area of memory. So the O/S says don't do that and gives you a
virtual slap on the knuckles. O/S are a bit like that they tell you that
you're wrong but rarely why.
Have fun with your future excursions with pointers.
Graeme.
|
|
From: Per W. <pw...@ia...> - 2002-11-25 16:17:22
|
Given the requirements and all, doesn't this sound very, very much like a school assignment? /Per W On Mon, 25 Nov 2002 Olu...@ao... wrote: > I need help solving this program. >=20 > Can anybody help?. >=20 > olu...@ao... >=20 > C++ PROGRAMMING >=20 > I want to write a program that will calculate and print Employee's payrol= l=20 > data >=20 > I want the program to: >=20 > 1. Store employee's First and Last name, date of birth (Date Object) and= the=20 > department code (an int). > 2. There 4 types of Employees > =B7 Hourly worker > =B7 Piece worker > =B7 Manager > =B7 Commission worker >=20 > A. HOURLY WORKER- they are paid by the hour with "time-and-a-half" for h= ours=20 > in excess of 30hours per week. >=20 > B. PIECE WORKER - Is paid a fixed a fixed rate per item produced. For= =20 > simplicity, assume this person makes only one type of item; therefore the= =20 > program should display the number of items produced and the rate per item= =2E >=20 > C. MANAGER - gets a fixed wages per week. >=20 > D. COMMISSION WORKER - earns a fixed weekly base salary plus a fixed=20 > percentage of that person's gross sales for the week. >=20 > Assume the payroll is produced once per month. The program should calcul= ate=20 > the payroll for each employee (Polymorphically), and a $50 bonus to the= =20 > employee's payroll amount if this is the month in which the employee's=20 > birthday occurs. >=20 > REQUIREMENT >=20 > 1. Use a base class to define the same messages for the employee > 2. Use Inheritances and polymorphism to declare different data and funct= ions > 3. Validate the data > 4. // Please put in comment so that I can understand the solution. It i= s=20 > important for me to understand. >=20 > THANKS > Ol...@ao... >=20 >=20 |
|
From: Per W. <pw...@ia...> - 2002-11-25 16:15:28
|
Try
scanf("%i",&SquadSize);
scanf always needs the ADDRESS where to put the result.
/Per W
On Mon, 25 Nov 2002, Dwayne Miller wrote:
> I am writing a simple program, to refresh my C programming skills (which
> were admittly not very good to begin with).
>
>
> Whenever I execute a line with a scanf statement. It crashes giving a
> windows error: <program> has caused a page fault in MSVCRT.DLL.
>
> I can post the registers if that helps.
>
>
> Any suggestions on what I have wrong?
>
> Thanks,
>
> Dwayne Miller
> Barberton, Ohio
>
>
> Code line:
> scanf("%i",SquadSize);
>
> Where: SquadSize has been declared type int.
>
> If it helps, latest version of Dev-Cpp, the program is written in C.
> Running on Celeron 400, with 128 megs of memory.
>
> Other specs on request.
>
>
>
>
> -------------------------------------------------------
> 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: Frank W. <F.W...@wi...> - 2002-11-25 15:40:58
|
Hello Wolfgang, this is a known bug while using DevC++ with WinNT. Greetings Frank >>> Wolfgang Heidl <wh...@sb...> 11/25 1:08 >>> Hi, I can t use vUpdate anymore; on startup it allways gives the following error message and the "Start" button remains disabled afterwards: "Error: Your devcpp.cfg is missing the $INCLUDE field in its [VUDATE] section..." Ok I'am able to read, but I wasn t able to locate the file on my entire drive. So I'd be glad If somebody could give me a hint on what to do! Regards -- Wolfgang Heidl Student of Telematics Graz University of Technology wh...@sb... ------------------------------------------------------- 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: Steve U. <st...@co...> - 2002-11-25 15:20:09
|
Hi, Should the current CVS code for Dev-CPP build with Delphi 7, or must Delphi 6 be used? Delphi 6 is no longer available, so I tried the trial version of Delphi 7, as a test. It gives lots of errors about things not being defined, even when they appear to be. I assume this is either a compatibility thing with Delphi 7, or else I don't have things set up properly. I would like to add a few things to Dev-CPP to make it more suitable for embedded cross-development. Mostly cusrtomisation of the debug environment. Regards, Steve |
|
From: /KY <cru...@in...> - 2002-11-25 15:00:42
|
Parse error before character 0350
>Somebody may explain me the meaning of this message ?
Make sure that all parentesis - [ ( { - have the corresponding } ] ) and
that every line terminates with ; as it should.
Note that the line reported may be very far from the actual error, but
surely it's after it.
Also, if you've got more than one error, just correct the first one and try
to recompile since all the other errors may derive from it (a single, real
error may produce hundreds of "erroneous errors" :) ).
|
|
From: Dwayne M. <dmi...@ne...> - 2002-11-25 14:41:57
|
I am writing a simple program, to refresh my C programming skills (which
were admittly not very good to begin with).
Whenever I execute a line with a scanf statement. It crashes giving a
windows error: <program> has caused a page fault in MSVCRT.DLL.
I can post the registers if that helps.
Any suggestions on what I have wrong?
Thanks,
Dwayne Miller
Barberton, Ohio
Code line:
scanf("%i",SquadSize);
Where: SquadSize has been declared type int.
If it helps, latest version of Dev-Cpp, the program is written in C.
Running on Celeron 400, with 128 megs of memory.
Other specs on request.
|
|
From: Per W. <pw...@ia...> - 2002-11-25 13:07:26
|
Of course it is legal to run a program from a floppy disk. However, you should NEVER set the search path to a floppy (or a CD), since they you would get a lot of problems as soon as you remove the floppy (or CD) from the searched drive. /PWM On Sat, 23 Nov 2002, Carlos Garc=EDa del Monte wrote: > Do you mean you had a program.exe in a floppy disk and tried to run it > from there? > That's illegal, you shall not run a program from a floppy disk, you can > from a CD, but not from a floppy, so don't try again. > Unfortunately, I cannot give you a solution. Just some questions: Has it > some default directory? (perhaps it was changed to A:), Have you see the > config files of the failing program? >=20 > Sopagna Kheang escribi=F3: >=20 > > > > > > Dev C++ is one of the best compiler I've used. I especially like the > > new realease where many new libraries and features are added. > > However, I have a question and was wondering if anyone can give > > suggestion on how to solve a problem. I tried to open one program > > from a disk and it gave me an error. From this incident, I couldn't > > get the program to open without having a floppy disk in. In addition, > > it also does not allow me to open the compiler file menu without a > > disk. Thanks in advance! > > > > -Pete Kheang- > > > > > > ----------------------------------------------------------------------- > > Tired of spam? Get advanced junk mail protection with MSN 8. > > ------------------------------------------------------- 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.htmhttps://lists.sourceforge.net/li= sts/listinfo/dev-cpp-users >=20 |
|
From: Vlada D. <dj...@im...> - 2002-11-25 12:55:29
|
Hi, everybody In my MDI app, the child window is initialy somewhere in the client = window. I can minimize it, restore it and close it without any problem. = But, once I maximize it, I can't do any of this. Do I need some message = handlers for this ( and for which messages?)? Regards, Vlada |
|
From: Wolfgang H. <wh...@sb...> - 2002-11-25 12:08:03
|
Hi, I can=B4t use vUpdate anymore; on startup it allways gives the following=20 error message and the "Start" button remains disabled afterwards: "Error: Your devcpp.cfg is missing the $INCLUDE field in its [VUDATE]=20 section..." Ok I'am able to read, but I wasn=B4t able to locate the file on my entire= =20 drive. So I'd be glad If somebody could give me a hint on what to do! Regards --=20 Wolfgang Heidl Student of Telematics Graz University of Technology wh...@sb... |
|
From: Wilson A. D. J. <wj...@un...> - 2002-11-25 11:51:50
|
i want contribute to the project making a Build-in Code Formatter. Where can i download the toolbar97 ? the project use delphi 5 or 6 ? tks Wilson Jr |
|
From: Carlos d. M. <cg...@wo...> - 2002-11-25 11:43:54
|
You can use makefiles, as Mr Ioannis says. With the upgrade there aren't critical changes, since 4.9.6.0 there have = been added stop compilation option, CVS support (which doesn't affect what you= 're doing), and some things won't affect you. The syntax highlight is maintai= ned, because it will use the same config file, and everything is maintained, t= he only is that if you don't upgrade language files the new menu items have = the label ERR<ID number>, but whatever you use now is preserved right. And if= it doesn't work, you only have to delete devcpp.exe and rename devcpp.exe.BA= CKUP (the one you have now) o devcpp.exe. (Once I did that due a stupid reason= , and in turning back I hadn't any problem). So I think it's safe. However, sin= ce you say it works more or less you can wait, and update after deadline fo = the next project so the next time you won't have the problem. Or if it stops definitely before it. The update only changes the IDE executable, no touch in the compiler. santi escribi=F3: > Ok; > > Thank u all for the response. > > About updating: I was a bit reluctand to do so. I mean. How safe is it = two > dyas before the deadline?? > > Does the updates include any major change on the compiler? > > Anyhow. As I said on my last mail. It's struggling; but it's working. S= o > unless I have another crisis. I think I'll leave it as it is. > > Thanks a lot again. > Santi > > ------------------------------------------------------- > 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: Luigi S. <gi...@li...> - 2002-11-25 11:28:42
|
On Sun, Nov 24, 2002 at 08:52:39PM +0100, Oroszi Bal?zs wrote: > Hello Everyone! > > That is all true, but for a project with more than one file, it won't > work. You have to compile the source files individually to object (.o) > files, then you need to link them together. Something like this: > (The -c flag tells gcc not to link, but just to compile) > Or one may directly instruct "make" about how to compile and link Just my two cents (... even though it's a bit late for the help request :) -- >> gisan >> |
|
From: Pierre L. <fam...@gl...> - 2002-11-25 11:20:14
|
Somebody may explain me the meaning of this message ? Pierre |
|
From: Big P. <big...@li...> - 2002-11-25 10:49:56
|
Hi all, I have a problem with a program which seems to stem from the fact that I can't link some needed resources into it. If I don't link the resource file, I get an error relating to a missing resource whenever I try to create a dialog. When I DO add the resource file into my program I get resource compiler errors: windres.exe -i mailprog_private.RC -I rc -o mailprog_private.res -O coff --include-dir C:/Dev-Cpp/include/wx/msw 429 C:\Dev-Cpp\include\wx\wxchar.h #error "Please define string case-insensitive compare for your OS/compiler" C:/Dev-Cpp/Bin/../lib/gcc-lib/mingw32/2.95.3-6/../../../../include/wx/memory.h:33: iostream.h: No such file or directory windres.exe: can't open cursor file `wx/msw/hand.cur': No such file or directory I've been trying for weeks to get this to work. To no avail. Thanks in advance. BigPilot -- ______________________________________________ http://www.linuxmail.org/ Now with POP3/IMAP access for only US$19.95/yr Powered by Outblaze |
|
From: Eric R. <e.r...@pa...> - 2002-11-25 10:13:55
|
Hi I have a thing about attachments, since virus are on the cruse, would = it be=20 possable to include the C++ within the body of the Email and not a=20 attachment, I am always very keen to delete a Email that has a attachment to it. =20 Just to refresh your memory on Monday 25 November 2002 18:36, Olufuwa7@ao= l.com=20 told us: =3D> Thanks for the reply. =3D> =3D> I have a program to solve. I have been trying, but i can't solve t= he =3D> problem. Can u help. =3D> =3D> See attached document for program =3D> =3D> Thanks =3D> Olu...@ao... =3D> --=20 =46rom Eric=20 NO ATTACHMENT WAS SENT WITH THIS EMAIL IF THERE IS ONE IT IS A UNDETEC= TED=20 VIRUS, IF THERE IS ONE PLEASE LET ME KNOW .... |
|
From: Eduardo O. A. <e_o...@ya...> - 2002-11-25 09:57:12
|
Hi, i download Dev-C++ without compiler... i configure to use cygwin--gcc,g++ ... but the examples-templates for GUI (GTK+, wxwindow...) can't compile send this error Compilador: Default compiler Building Makefile: "E:\eduardo\prog\Dev-C++\GTK+test\Makefile.win" Ejecutando make... make.exe -f "E:\eduardo\prog\Dev-C++\GTK+test\Makefile.win" all E:\eduardo\prog\Dev-C++\GTK+test\Makefile.win:28: warning: overriding commands for target `"GTK+' E:\eduardo\prog\Dev-C++\GTK+test\Makefile.win:22: warning: ignoring old commands for target `"GTK+' make: Circular "GTK+ <- "GTK+ dependency dropped. make: *** No rule to make target `Project_private.rc"', needed by `"GTK+'. Stop. ****and for WxWindow Compilador: Default compiler Building Makefile: "E:\eduardo\prog\Dev-C++\wxwindows_test\Makefile.win" Ejecutando make... make.exe -f "E:\eduardo\prog\Dev-C++\wxwindows_test\Makefile.win" all E:\eduardo\prog\Dev-C++\wxwindows_test\Makefile.win:28: warning: overriding commands for target `"WxWindows' E:\eduardo\prog\Dev-C++\wxwindows_test\Makefile.win:22: warning: ignoring old commands for target `"WxWindows' make: Circular "WxWindows <- "WxWindows dependency dropped. make: *** No rule to make target `Project_private.rc"', needed by `"WxWindows'. Stop. Ejecución Terminada what's wrong with my configuration? __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
|
From: shem <sh...@au...> - 2002-11-25 08:37:37
|
is it possible to update windows dev cpp using a linux operating system? i use devcpp at my house, but i browse and download in the office using linux. so how can i get the lattest update. |
|
From: <Olu...@ao...> - 2002-11-25 05:45:54
|
I need help solving this program. Can anybody help?. olu...@ao... C++ PROGRAMMING I want to write a program that will calculate and print Employee's payroll=20 data I want the program to: 1. Store employee's First and Last name, date of birth (Date Object) and th= e=20 department code (an int). 2. There 4 types of Employees =B7 Hourly worker =B7 Piece worker =B7 Manager =B7 Commission worker A. HOURLY WORKER- they are paid by the hour with "time-and-a-half" for hour= s=20 in excess of 30hours per week. B. PIECE WORKER - Is paid a fixed a fixed rate per item produced. For=20 simplicity, assume this person makes only one type of item; therefore the=20 program should display the number of items produced and the rate per item. C. MANAGER - gets a fixed wages per week. D. COMMISSION WORKER - earns a fixed weekly base salary plus a fixed=20 percentage of that person's gross sales for the week. Assume the payroll is produced once per month. The program should calculate= =20 the payroll for each employee (Polymorphically), and a $50 bonus to the=20 employee's payroll amount if this is the month in which the employee's=20 birthday occurs. REQUIREMENT 1. Use a base class to define the same messages for the employee 2. Use Inheritances and polymorphism to declare different data and function= s 3. Validate the data 4. // Please put in comment so that I can understand the solution. It is=20 important for me to understand. THANKS Ol...@ao... |
|
From: Zodiaq <zo...@ac...> - 2002-11-24 20:22:35
|
Hello Oroszi and all Dev-C++ users, Sunday, November 24, 2002, 8:52:39 PM, Oroszi wrote as follows: OB> gcc -c -o temp1.o temp1.c OB> gcc -c -o temp2.o temp2.c OB> gcc -c -o temp3.o temp3.c Try these: gcc -c *.cpp -s OB> Some resources (if you have): OB> windres -i tempres.rc -o tempres.o Of course resources have to be compiled separately... OB> Then link together: OB> gcc temp1.o temp2.o temp3.o tempres.o -o temp.exe -mwindows gcc *.o temp.exe -mwindows -- regards, Zodiaq |
|
From: <or...@vp...> - 2002-11-24 19:52:51
|
Hello Everyone! Sunday, November 24, 2002, 5:35:47 PM, Ioannis wrote: IV> If anything else fails you can place c:\dev-c++\bin in your path and use IV> g++ from the command line in the style: IV> g++ temp.cpp -o temp IV> or for C: IV> gcc temp.c -o temp That is all true, but for a project with more than one file, it won't work. You have to compile the source files individually to object (.o) files, then you need to link them together. Something like this: (The -c flag tells gcc not to link, but just to compile) gcc -c -o temp1.o temp1.c gcc -c -o temp2.o temp2.c gcc -c -o temp3.o temp3.c Some resources (if you have): windres -i tempres.rc -o tempres.o Then link together: gcc temp1.o temp2.o temp3.o tempres.o -o temp.exe -mwindows If you use common controls (if you call InitCommonControls() in your program, then you do) use the -lcomctl32 flag too at the linking. -- Best regards, Oroszi Balázs mailto:or...@vp... PGP-FP: FB80 8A43 2664 6126 E465 46E2 2546 CFA3 C25B 9F70 finger -l or...@se... |
|
From: santi <sma...@ad...> - 2002-11-24 18:41:15
|
Ok; Thank u all for the response. About updating: I was a bit reluctand to do so. I mean. How safe is it two dyas before the deadline?? Does the updates include any major change on the compiler? Anyhow. As I said on my last mail. It's struggling; but it's working. So unless I have another crisis. I think I'll leave it as it is. Thanks a lot again. Santi |