dev-cpp-users Mailing List for Dev-C++ (Page 283)
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: Pascal <p.t...@ti...> - 2003-12-11 17:39:18
|
Hi All, i have a bug in dev c++ 4.9.8.4. when i right click a file in the projet window i get a unexpected error. what can i make? |
|
From: Vitor E. A. <vit...@ya...> - 2003-12-11 17:03:10
|
What settings do i have to make to compile Qt programs? I already go to = Project->Project Settings->Linker, but when I'm compiling appear an = error of linking to Qt library. "E a paz de Deus, que excede todo o entendimento, guardar=E1 os vossos = cora=E7=F5es e os vossos sentimentos em Cristo Jesus." Fp 4:7=20 |
|
From: Mark S. <mar...@li...> - 2003-12-11 16:57:31
|
Goran you could try something like http://www.ftp.cl.cam.ac.uk/ftp/papers/djw-rmn/djw-rmn-tea.html to encript the machine ID etc. you supply the key/keys HTH Mark -----Original Message----- From: Goran Rakic [mailto:go...@de...] Sent: 11 December 2003 16:31 To: dev...@li... Subject: [Dev-C++] Questions about porting to windows Hi, I have a Linux app written in C, with GTK, libcurl and sqlite and I want to port it to Windows. All libs have versions for Windows, so I made a MSYS/ MinGW enviroment and added GTK, libcurl and sqlite library. But, I have some Windows genral programming questions. 1) In Linux, i have ./configure script that adds PACKAGE_DIR gcc define, so I can use it from code to open files like this: sqlite_open(PACKAGE_DIR "/data.db"); But on Windows I will have precompiled executable. Do I must to change paths to load them from Windows registry and set up keys during setup, or there is some other common procedure? 2) As it will be commercial application, I want to know how can I protect it from copying? I want to do serial number check that will be entered on first time use of application. But keeping some flag that the app is registered is pointless, as everybody can just copy app from host to host. So I had some ideas to make a algorithm that will check some system thing (like processor serial number, HDD serial or something other), and than accept only one value of serial number. So the user will have machine ID, and than call service center, ask for serial number, enter it and that serial will work only on that computer. Problems: well if algorithm is plain, it can be cracked so everybody will have serials ;), than I donow know how to get Hardware data, and what is that hardware data that I can use for serial generating. Do you have some better ideas? Thank you, Goran Rakic ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.545 / Virus Database: 339 - Release Date: 27/11/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.545 / Virus Database: 339 - Release Date: 27/11/2003 The information contained in this e-mail message (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an addressee, any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited. If you have received this communication in error, please contact us immediately so that we can correct the error. |
|
From: P.T. W. M. <pt...@ea...> - 2003-12-11 16:37:46
|
Goran, At 08:31 11-12-03, Goran Raki=C4=87 wrote: >Hi, > >2) As it will be commercial application, I want to know how can I protect= it >from copying? I want to do serial number check that will be entered on= first >time use of application. But keeping some flag that the app is registered= is >pointless, as everybody can just copy app from host to host. > >So I had some ideas to make a algorithm that will check some system thing >(like processor serial number, HDD serial or something other), and than >accept only one value of serial number. So the user will have machine ID,= and >than call service center, ask for serial number, enter it and that serial >will work only on that computer. > >Problems: well if algorithm is plain, it can be cracked so everybody will= =20 >have >serials ;), than I donow know how to get Hardware data, and what is that >hardware data that I can use for serial generating. Check out Armadillo at http://www.siliconrealms.com. It will protect your= =20 software by wrapping it in an encrypted shell, even while it's=20 running! The PRO version allows you to do hardware locking like you= describe. Patrick Benchmark Software=20 |
|
From: Goran <go...@de...> - 2003-12-11 16:25:34
|
Hi, I have a Linux app written in C, with GTK, libcurl and sqlite and I want to port it to Windows. All libs have versions for Windows, so I made a MSYS/ MinGW enviroment and added GTK, libcurl and sqlite library. But, I have some Windows genral programming questions. 1) In Linux, i have ./configure script that adds PACKAGE_DIR gcc define, so I can use it from code to open files like this: sqlite_open(PACKAGE_DIR "/data.db"); But on Windows I will have precompiled executable. Do I must to change paths to load them from Windows registry and set up keys during setup, or there is some other common procedure? 2) As it will be commercial application, I want to know how can I protect it from copying? I want to do serial number check that will be entered on first time use of application. But keeping some flag that the app is registered is pointless, as everybody can just copy app from host to host. So I had some ideas to make a algorithm that will check some system thing (like processor serial number, HDD serial or something other), and than accept only one value of serial number. So the user will have machine ID, and than call service center, ask for serial number, enter it and that serial will work only on that computer. Problems: well if algorithm is plain, it can be cracked so everybody will have serials ;), than I donow know how to get Hardware data, and what is that hardware data that I can use for serial generating. Do you have some better ideas? Thank you, Goran Rakic |
|
From: Reid T. <Rei...@at...> - 2003-12-11 14:51:58
|
i think he's getting whats in v[2] plus whatever is in the next =
incremental integer place in memory continously until he happens to =
reach a '\0'.
=20
=20
reid=20
-----Original Message-----
From: Glenn Welker [mailto:gl...@mr...]=20
Sent: Thursday, December 11, 2003 9:37 AM
To: hu...@cl...; dev...@li...
Subject: RE: [Dev-C++] Why thisC example don't presents the correct =
result ?
=09
=09
I'm not sure exactly what you are trying to do. Bounds checking in c =
could be done this way but only if you actually initialized all of your =
subscripts. Since v[2] is never initialized you are getting whatever =
value is stored in this memory space which could be anything. Character =
arrays used for strings are the only thing I would know of that would =
store a null in the last position, but even this would only be true if =
you initialized the c string with an actual string instead of =
characters.
=20
char v[3] =3D "AB"; will result in 'A', 'B' and '\0'
char v[3] =3D {'A', 'B'} will result in the 3rd position being =
uninitialized
=20
In short there isn't bounds checking in C and you can't assume that a =
value exists unless you place it in the array yourself. It would be =
safest to keep the size of the array in something like a constant and =
use that for looping through your array.
=20
Sincerely,=20
Glenn Welker=20
Director of Product Development=20
MRH Technology Group=20
-----Original Message-----
From: hu...@cl... [mailto:hu...@cl...]
Sent: Thursday, December 11, 2003 9:21 AM
To: dev...@li...
Subject: [Dev-C++] Why thisC example don't presents the correct result =
?
=09
=09
Hi all,=20
in others compilers this is the result :=20
=09
10=20
200=20
=09
of this program :=20
#include=20
main <http://pcp.clix.pt/images/canais/webmail2/smile/kiss.gif>=20
{=20
int v[3],i;=20
v[0]=3D10;=20
v[1]=3D200;=20
i=3D0;=20
while(v[i]!=3D'\0')=20
{=20
printf("%d\n",v[i]);=20
i++;=20
}=20
}=20
=09
in dev-c++compiler i have the this result :=20
10=20
200=20
2293664=20
4198592=20
4210688=20
4210692=20
2293664=20
4198757=20
1=20
4138088=20
4139640=20
4198553=20
=09
=09
Why ?????=20
=09
Thanks.=20
--
Hugo Dias
=20
Clix Rapidix - Aumente at=E9 6X a velocidade da sua Internet Adira em =
http://acesso.clix.pt e comece logo a navegar
------------------------------------------------------- This SF.net =
email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or =
just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn =
everything from the bash shell to sys admin. Click now! =
http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick =
_______________________________________________ Dev-cpp-users mailing =
list Dev...@li... TO UNSUBSCRIBE: =
http://www23.brinkster.com/noicys/devcpp/ub.htm =
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users=20
|
|
From: Reid T. <Rei...@at...> - 2003-12-11 14:48:48
|
Seems simpler, does not require you to keep up with size of array for =
looping:
=20
int main(int argc, char *argv[])
{
=20
int v[3],i;=20
memset(v, '\0', sizeof(v));
v[0]=3D10;=20
v[1]=3D200;=20
i=3D0;=20
while(v[i]!=3D'\0')=20
{=20
printf("%d\n",v[i]);=20
i++;=20
}
=20
=20
reid=20
-----Original Message-----
From: Glenn Welker [mailto:gl...@mr...]=20
Sent: Thursday, December 11, 2003 9:37 AM
To: hu...@cl...; dev...@li...
Subject: RE: [Dev-C++] Why thisC example don't presents the correct =
result ?
=09
=09
I'm not sure exactly what you are trying to do. Bounds checking in c =
could be done this way but only if you actually initialized all of your =
subscripts. Since v[2] is never initialized you are getting whatever =
value is stored in this memory space which could be anything. Character =
arrays used for strings are the only thing I would know of that would =
store a null in the last position, but even this would only be true if =
you initialized the c string with an actual string instead of =
characters.
=20
char v[3] =3D "AB"; will result in 'A', 'B' and '\0'
char v[3] =3D {'A', 'B'} will result in the 3rd position being =
uninitialized
=20
In short there isn't bounds checking in C and you can't assume that a =
value exists unless you place it in the array yourself. It would be =
safest to keep the size of the array in something like a constant and =
use that for looping through your array.
=20
Sincerely,=20
Glenn Welker=20
Director of Product Development=20
MRH Technology Group=20
-----Original Message-----
From: hu...@cl... [mailto:hu...@cl...]
Sent: Thursday, December 11, 2003 9:21 AM
To: dev...@li...
Subject: [Dev-C++] Why thisC example don't presents the correct result =
?
=09
=09
Hi all,=20
in others compilers this is the result :=20
=09
10=20
200=20
=09
of this program :=20
#include=20
main <http://pcp.clix.pt/images/canais/webmail2/smile/kiss.gif>=20
{=20
int v[3],i;=20
v[0]=3D10;=20
v[1]=3D200;=20
i=3D0;=20
while(v[i]!=3D'\0')=20
{=20
printf("%d\n",v[i]);=20
i++;=20
}=20
}=20
=09
in dev-c++compiler i have the this result :=20
10=20
200=20
2293664=20
4198592=20
4210688=20
4210692=20
2293664=20
4198757=20
1=20
4138088=20
4139640=20
4198553=20
=09
=09
Why ?????=20
=09
Thanks.=20
--
Hugo Dias
=20
Clix Rapidix - Aumente at=E9 6X a velocidade da sua Internet Adira em =
http://acesso.clix.pt e comece logo a navegar
------------------------------------------------------- This SF.net =
email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or =
just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn =
everything from the bash shell to sys admin. Click now! =
http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick =
_______________________________________________ Dev-cpp-users mailing =
list Dev...@li... TO UNSUBSCRIBE: =
http://www23.brinkster.com/noicys/devcpp/ub.htm =
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users=20
|
|
From: P.D. v. Z. <pd...@xs...> - 2003-12-11 14:38:32
|
Because your code is wrong (aside from the fact that you sent this
(stupidly) as an HTML mail... don't do that!).
=20
I believe you repeatedly tried to ask this very same question on the =
forum
(and thereby annoying the moderators).
Your third v element (v[2]) isn't initialized to anything, so it can =
contain
any arbitrary value. Then in your for loop you use the null character to
check if you've reached the end of the array (which is wrong as well, =
simply
use an int, like 0 (even though they are actually the same value)). =
Because
the third element of v will contain garbage, your program will loop =
until it
finally touches some memory that it _really_ shouldn't, and will
subsequently crash.
This code will work:
#include <stdio.h>
int main()
{
int v[3], i;
v[0] =3D 10;
v[1] =3D 200;
v[2] =3D 0;
=09
i =3D 0;
while (v[i] !=3D 0)
{
printf("%d\n", v[i]);
i++;
}
}
Another thing: By saying "this does work in other compilers" (or =
utterings
of the same sort) you imply that this compiler is at fault because it =
won't
compile your perfect code, because you know it's perfect, because other
compilers do make it work. The compiler Dev-C++ uses is the MinGW port =
of
GCC. GCC is about the most standards-compliant compiler you'll find, so =
you
can safely assume that it's the other compilers that are at fault, not =
GCC.
Regards,
Paul
________________________________
From: dev...@li...
[mailto:dev...@li...] On Behalf Of
hu...@cl...
Sent: Thursday, December 11, 2003 3:21 PM
To: dev...@li...
Subject: [Dev-C++] Why thisC example don't presents the correct result ?
Hi all,=20
in others compilers this is the result :=20
10=20
200=20
of this program :=20
#include=20
main <http://pcp.clix.pt/images/canais/webmail2/smile/kiss.gif>=20
{=20
int v[3],i;=20
v[0]=3D10;=20
v[1]=3D200;=20
i=3D0;=20
while(v[i]!=3D'\0')=20
{=20
printf("%d\n",v[i]);=20
i++;=20
}=20
}=20
in dev-c++compiler i have the this result :=20
10=20
200=20
2293664=20
4198592=20
4210688=20
4210692=20
2293664=20
4198757=20
1=20
4138088=20
4139640=20
4198553=20
Why ?????=20
Thanks.=20
--
Hugo Dias
=20
Clix Rapidix - Aumente at=E9 6X a velocidade da sua Internet Adira em
http://acesso.clix.pt e comece logo a navegar
------------------------------------------------------- This SF.net =
email
is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just
sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn
everything from the bash shell to sys admin. Click now!
http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick
_______________________________________________ Dev-cpp-users mailing =
list
Dev...@li... TO UNSUBSCRIBE:
http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users=20
|
|
From: Glenn W. <gl...@mr...> - 2003-12-11 14:37:18
|
I'm not sure exactly what you are trying to do. Bounds checking in c =
could be done this way but only if you actually initialized all of your =
subscripts. Since v[2] is never initialized you are getting whatever =
value is stored in this memory space which could be anything. Character =
arrays used for strings are the only thing I would know of that would =
store a null in the last position, but even this would only be true if =
you initialized the c string with an actual string instead of =
characters.
=20
char v[3] =3D "AB"; will result in 'A', 'B' and '\0'
char v[3] =3D {'A', 'B'} will result in the 3rd position being =
uninitialized
=20
In short there isn't bounds checking in C and you can't assume that a =
value exists unless you place it in the array yourself. It would be =
safest to keep the size of the array in something like a constant and =
use that for looping through your array.
=20
Sincerely,=20
Glenn Welker=20
Director of Product Development=20
MRH Technology Group=20
-----Original Message-----
From: hu...@cl... [mailto:hu...@cl...]
Sent: Thursday, December 11, 2003 9:21 AM
To: dev...@li...
Subject: [Dev-C++] Why thisC example don't presents the correct result ?
Hi all,=20
in others compilers this is the result :=20
10=20
200=20
of this program :=20
#include=20
main <http://pcp.clix.pt/images/canais/webmail2/smile/kiss.gif>=20
{=20
int v[3],i;=20
v[0]=3D10;=20
v[1]=3D200;=20
i=3D0;=20
while(v[i]!=3D'\0')=20
{=20
printf("%d\n",v[i]);=20
i++;=20
}=20
}=20
in dev-c++compiler i have the this result :=20
10=20
200=20
2293664=20
4198592=20
4210688=20
4210692=20
2293664=20
4198757=20
1=20
4138088=20
4139640=20
4198553=20
Why ?????=20
Thanks.=20
--
Hugo Dias
=20
Clix Rapidix - Aumente at=E9 6X a velocidade da sua Internet Adira em =
http://acesso.clix.pt e comece logo a navegar
------------------------------------------------------- This SF.net =
email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or =
just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn =
everything from the bash shell to sys admin. Click now! =
http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick =
_______________________________________________ Dev-cpp-users mailing =
list Dev...@li... TO UNSUBSCRIBE: =
http://www23.brinkster.com/noicys/devcpp/ub.htm =
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users=20
|
|
From: <hu...@cl...> - 2003-12-11 14:21:04
|
Hi all, <br>in others compilers this is the result : <br> <br>10 <br>200 <br> <br>of this program : <br>#include <stdio.h> <br>main<img src="http://pcp.clix.pt/images/canais/webmail2/smile/kiss.gif"> <br>{ <br>int v[3],i; <br>v[0]=10; <br>v[1]=200; <br>i=0; <br>while(v[i]!='\0') <br>{ <br> printf("%d\n",v[i]); <br> i++; <br>} <br>} <br> <br>in dev-c++compiler i have the this result : <br>10 <br>200 <br>2293664 <br>4198592 <br>4210688 <br>4210692 <br>2293664 <br>4198757 <br>1 <br>4138088 <br>4139640 <br>4198553 <br> <br> <br>Why ????? <br> <br>Thanks.<p>--<br>Hugo Dias<br> <p>Clix Rapidix - Aumente até 6X a velocidade da sua Internet Adira em http://acesso.clix.pt e comece logo a navegar<br> |
|
From: Smitha V. B. <smi...@so...> - 2003-12-11 09:56:03
|
hi to all does anybody know about uITRON.. What is uITRON core... any help appreciated thanks in advance.. regds smitha ********************************************************************* Disclaimer: The information in this e-mail and any attachments is confidential / privileged. It is intended solely for the addressee or addressees. If you are not the addressee indicated in this message, you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. ********************************************************************* |
|
From: Ferdinando F. <s2...@st...> - 2003-12-11 09:55:36
|
On Wed, 10 Dec 2003, Pascal wrote:
> What is the properly making of include the STL librairie:
> stdlib?
#include <cstdlib>
> stdio?
#include <cstdio>
> iostream?
#include <iostream>
> math?
#include <cmath> // I suppose, never tried it
>
> for making a console DOS in C/C++ if i want use sprintf() etc...
>
Then if you're using C++:
#include <cstdio>
int main () {
std::sprintf(...);
}
else, in C:
#include <stdio.h>
int main () {
sprintf(...);
}
> what is the different of <cstdio> and <stdio.h> in DEV C++ environnement?
> I use actualy Mingw32-c++.exe to compile and not gcc?
First is C++ standard specific, and includes all declarations of the
second (C standard specific) into namespace std.
> what is the file in devcpp\bin?:
> ar.exe?
creates libraries (the *.a files)
> as.exe?
the GNU assembler
> cpp.exe?
the C preprocessor
> g++.exe?
The C++ compiler and linker
> gcc.exe?
The C compiler, but is really a wrapper for all compilers, supports even
pascal if you install gpc
> gdb.exe?(is that the debugger?)
Yes, the command line one
> ld.exe?
The linker
> make.exe?(is that the making soft and what is the utilities?)
Handles makefiles, project descriptions
> ranlib.exe?
Put symbols information into libraries
> readelf.exe?
read an ELF executable format
> rm.exe?
The same of 'del' under DOS
> Tar.exe?
Creates archives (*.tar)
> windres.exe?
Compiles the Windows resource files (*.rc)
Argh! What a long message!
Bye, Ferdinando
|
|
From: Philippe L. <phi...@te...> - 2003-12-11 09:46:21
|
Hello, Ok I found the problem, yours responses show me that i have missed Visual include for the ressources : commctrl.rh, dde.rh, dlgs.h, winnt.rh, winres.h, winresrc.h, winuser.rh,winver.h. Thoses files are in the Visual Compiler directories. Because I have imported a VC++ project with the Dev-cpp "import" function, Dev-cpp could write a dialog box to be careful with thoses files. Thanks you. Bye. Phil |
|
From: Per W. <pw...@ia...> - 2003-12-10 23:50:29
|
EDITTEXT doesn't have a string before the identifier. EDITTEXT <identifier>,<x>,<y>,<width>,<height>,<flags> Are you thinking about LTEXT or CONTROL? /Per W On Wed, 10 Dec 2003, Chris Sroka wrote: > If it's not a syntax error, it's usually because: > > 1) you have not declared a variable, such as IDC_STATIC4 in > EDITTEXT "", IDC_STATIC4,80, 90, 30, 12 > > 2) you have declared it but not saved the file containing the declaration > > If this doesn't help then email the actual lines containing the faulty co= de. > > Chris > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of OROSZI > Bal=E1zs > Sent: Thursday, 11 December 2003 8:49 AM > To: dev...@li... > Subject: Re: [Dev-C++] Build error in rc file. > > > Philippe Lucas wrote: > > I have created a Windows c++ project on the latest version of Dev-C++ I= DE > > with the import function of a Visual C++ project. > > The compilation works but I have an error during the building of the > > ressource with messages like : Line XXX in file zzz.rc : parse error. > > > > Any idea ? > > There is a syntax error in line XXX. > > -- > Greetings, > Bal=E1zs > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listin |
|
From: Chris S. <CS...@Ai...> - 2003-12-10 22:43:36
|
If it's not a syntax error, it's usually because: =20
1) you have not declared a variable, such as IDC_STATIC4 in=20
EDITTEXT "", IDC_STATIC4,80, 90, 30, 12
2) you have declared it but not saved the file containing the =
declaration=20
If this doesn't help then email the actual lines containing the faulty =
code.=20
Chris=20
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of OROSZI
Bal=E1zs
Sent: Thursday, 11 December 2003 8:49 AM
To: dev...@li...
Subject: Re: [Dev-C++] Build error in rc file.
Philippe Lucas wrote:
> I have created a Windows c++ project on the latest version of Dev-C++ =
IDE
> with the import function of a Visual C++ project.
> The compilation works but I have an error during the building of the
> ressource with messages like : Line XXX in file zzz.rc : parse error.
>=20
> Any idea ?
There is a syntax error in line XXX.
--
Greetings,
Bal=E1zs
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for =
IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys =
admin.
Click now! http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: <or...@vp...> - 2003-12-10 21:46:38
|
Philippe Lucas wrote: > I have created a Windows c++ project on the latest version of Dev-C++ IDE > with the import function of a Visual C++ project. > The compilation works but I have an error during the building of the > ressource with messages like : Line XXX in file zzz.rc : parse error. > > Any idea ? There is a syntax error in line XXX. -- Greetings, Balázs |
|
From: Tomasz 'W. N. <wa...@po...> - 2003-12-10 18:48:42
|
Hi, I've got problem with watching variables unde 4.9.8.5. I press F4, type variable name and nothing happens, debug window stays empty :/ Can anyone tell me why ? -- Tomasz "Warui" Nowakowski |
|
From: Maya <Esc...@ne...> - 2003-12-10 17:41:09
|
If you are learning C, just use the examples you find in the book
C example:
#include <stdio.h> /*C header file for I/O*/
int main(void) /*Always return a value in main, it's a good programming
technique*/
{
printf("Hey what's up world");
return 0;
}
C++ example:
#include <iostream> //C++ header file for I/O
int main(){
std::cout << "Hey what's up world" << std::endl;
return 0;
}
Again!! if you are using C and not C++ just use the examples in the
book. If for some reason the examples in the book don't work post it at
alt.comp.lang.learn.c-c++, they are in a better position to answer
questions about C/C++ programming.
Don't mean to be rude, but this mailing list is mostly for Dev-Cpp problems.
Have good one, and if you are having more than one... give a call :-)
p.t...@ti... wrote:
> the file i have in my systeme is just the file going with devpack.
> i have not another file,just the dev c++ file package.
> I'm beginning,i learning actualy the "C ANSI language" and i say not
> what is the good compiler for.
> gcc.exe or mingw32.exe?
--
Jorge Escalante
FYI
http://www.astro.umd.edu/~marshall/abbrev.html
E-Mail Policy
http://www.vif.com/users/escalante/Email_Policy.html
* You cannot exercise your power to a point of humiliation.
- Jean Chretien
* The media's the most powerful entity on earth. They have the
power to make the innocent guilty and to make the guilty
innocent, and that's power.
- Malcom X
* "Innocent until proven guilty", no... not in Canada!!
|
|
From: Philippe L. <phi...@te...> - 2003-12-10 15:38:05
|
Hello, I have created a Windows c++ project on the latest version of Dev-C++ IDE with the import function of a Visual C++ project. The compilation works but I have an error during the building of the ressource with messages like : Line XXX in file zzz.rc : parse error. Any idea ? Regards. Philippe Lucas |
|
From: Maya <Esc...@ne...> - 2003-12-10 15:34:24
|
Aah! I see that you are not doing your homework :} C++ has had an overhaul and the "final" release has deprecated the .h in all its headers files. So, #include <iostrea.h> has now become #include <iostream>, you can still include the .h file, but in the future this feature will not be supported, so I am told. Have a good one! p.t...@ti... wrote: > Hello, > > What is the properly making of include the STL librairie: > stdlib? > stdio? > iostream? > math? > > for making a console DOS in C/C++ if i want use sprintf() etc... > > what is the different of <cstdio> and <stdio.h> in DEV C++ environnement? > I use actualy Mingw32-c++.exe to compile and not gcc? > > I would many help if possible and to learning the difference of gcc > mingw32-c++ and g++ > > what is the file in devcpp\bin?: > addr2line.exe? > ar.exe? > as.exe? > c++.exe? > c++filt.exe? > cpp.exe? > dlltool.exe? > dllwrap.exe? > Dumpbin.exe? > g77.exe? > g++.exe? > gcc.exe? > gcov.exe? > gdb.exe?(is that the debugger?) > gprof.exe? > lmp.exe? > ld.exe? > make.exe?(is that the making soft and what is the utilities?) > mingw32-c++.exe?(what the difference with gcc.exe?) > mingw32-g++.exe?(-----------------------------------------------) > mingw32-gcc.exe?(------------------------------------------------) > mingw32-make.exe(-----------------------------------------------) > NAam.exe? > NDAsm.exe? > nm.exe? > objcopy.exe? > objdump.exe? > protoize.exe? > ranlib.exe? > readelf.exe? > rm.exe? > size.exe? > strings.exe? > strip.exe? > Tar.exe? > unprotoize.exe? > windres.exe? > > Many thanks if you can help me. > And thanks for the DEV C++ GNU project. > ++ > > > -- Jorge Escalante FYI http://www.astro.umd.edu/~marshall/abbrev.html E-Mail Policy http://www.vif.com/users/escalante/Email_Policy.html * You cannot exercise your power to a point of humiliation. - Jean Chretien * The media's the most powerful entity on earth. They have the power to make the innocent guilty and to make the guilty innocent, and that's power. - Malcom X * "Innocent until proven guilty", no... not in Canada!! |
|
From: Pascal <p.t...@ti...> - 2003-12-10 15:18:30
|
Hello, What is the properly making of include the STL librairie: stdlib? stdio? iostream? math? for making a console DOS in C/C++ if i want use sprintf() etc... what is the different of <cstdio> and <stdio.h> in DEV C++ environnement? I use actualy Mingw32-c++.exe to compile and not gcc? I would many help if possible and to learning the difference of gcc mingw32-c++ and g++ what is the file in devcpp\bin?: addr2line.exe? ar.exe? as.exe? c++.exe? c++filt.exe? cpp.exe? dlltool.exe? dllwrap.exe? Dumpbin.exe? g77.exe? g++.exe? gcc.exe? gcov.exe? gdb.exe?(is that the debugger?) gprof.exe? lmp.exe? ld.exe? make.exe?(is that the making soft and what is the utilities?) mingw32-c++.exe?(what the difference with gcc.exe?) mingw32-g++.exe?(-----------------------------------------------) mingw32-gcc.exe?(------------------------------------------------) mingw32-make.exe(-----------------------------------------------) NAam.exe? NDAsm.exe? nm.exe? objcopy.exe? objdump.exe? protoize.exe? ranlib.exe? readelf.exe? rm.exe? size.exe? strings.exe? strip.exe? Tar.exe? unprotoize.exe? windres.exe? Many thanks if you can help me. And thanks for the DEV C++ GNU project. ++ |
|
From: <Gar...@ri...> - 2003-12-10 01:05:04
|
I will be out of the office starting 08/12/2003 and will not return until 12/12/2003. I will respond to your message when I return. ********************************************************************* The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. *********************************************************************** |
|
From: Kevin B. <kev...@ma...> - 2003-12-09 16:41:57
|
It wasn't clear from your message if you did, but you're supposed to use the bjam build tool included with Boost to do the build. bjam will invoke mingw directly; Dev-Cpp isn't involved at all. Check your Boost html documentation that came with the download for details on using bjam. If you have further difficulties, you'd do better to contact the help community for Boost, as this isn't really a Dev-Cpp issue. To answer your question, yes, I have successfully installed and built the Boost library and am using it with Dev-Cpp, so it is definitely possible. I am by no means an expert on Boost, though. --- Kevin |
|
From: Jeremiah M. <jer...@fa...> - 2003-12-08 21:57:59
|
If you couuld send that to me or let me know where I could download it from, I would greatly appreciate it. Thanks, Jeremiah McElroy :: -----Original Message----- :: From: Prudkiy Alex [mailto:pr...@ma...] :: Sent: Monday, December 08, 2003 1:55 PM :: To: dev...@li... :: Subject: Re: [Dev-C++] Dev-Cpp and Boost :: :: Hello Jeremiah, :: :: Monday, December 8, 2003, 3:56:20 PM, you wrote: :: :: JM> I'm running the latest version of Dev-C++ (4.9.8.5) and :: I am curious :: JM> if anyone has had success installing the Boost libraries :: (specifically threading and regex) to use with Dev-C++. I :: have Boost 1.30.2. I have had no success in compiling, I :: get a great deal of syntax errors and everything eventually :: finishes up with no success. :: :: I have the compiled with success boost threads as static :: library, I really don't remember changes, which I made to :: compile : the changes for static library and some else. :: :: I can send to you mirror which I already has. :: :: Best regards, :: Alex Prudkiy :: :: |
|
From: Prudkiy A. <pr...@ma...> - 2003-12-08 18:55:08
|
Hello Jeremiah, Monday, December 8, 2003, 3:56:20 PM, you wrote: JM> I'm running the latest version of Dev-C++ (4.9.8.5) and I am curious if anyone has had success installing the Boost libraries (specifically threading and regex) to use with Dev-C++. I have Boost JM> 1.30.2. I have had no success in compiling, I get a great deal of syntax errors and everything eventually finishes up with no success. I have the compiled with success boost threads as static library, I really don't remember changes, which I made to compile : the changes for static library and some else. I can send to you mirror which I already has. Best regards, Alex Prudkiy |