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
(4) |
2
(4) |
3
(4) |
4
(9) |
5
(17) |
6
(25) |
7
(15) |
|
8
(12) |
9
(16) |
10
(22) |
11
(13) |
12
(19) |
13
(13) |
14
(8) |
|
15
(6) |
16
(19) |
17
(11) |
18
(7) |
19
(6) |
20
(10) |
21
(5) |
|
22
(2) |
23
(11) |
24
(12) |
25
(3) |
26
(13) |
27
(10) |
28
(16) |
|
29
(7) |
30
(12) |
31
(13) |
|
|
|
|
|
From: Palamino <am...@ur...> - 2002-12-29 20:19:01
|
Just add "c:\Dev-c++\Lib\libwsock32.a" (supposing you have Dev-c++ installed on drive C) in the project options, under "Further object files or linker options". ----- Original Message ----- From: "Manoj Sharma" <sha...@ro...> To: "Dev-C++" <dev...@li...> Sent: Sunday, December 29, 2002 10:14 PM Subject: [Dev-C++] Trouble compiling winsock programs. > Hi, > > I am trying to compile a simple winsock program using Dev-C++ and get the > following error > [Linker error] undefined reference to WSAStartup@8. I tried generating my > own libwsock32.a library using the wsock32.dll on my system with the help > of the dllwrap utility and linking it to my program by copying the generated > .a file to the lib directory but the error stayed the same. > > I also tried using an older version of wsock32.dll (since I have the latest > version of the dll) and it may not be compatible with the header files as > supplied by Dev-C++. But this gave me the same undefined reference error. > > As a last resort I tried using the header files supplied by the Microsoft > SDK instead of the include directory header files as supplied by Dev-C++. I > get a target architecture must be defined error. An attempt to #define > _M_IX86 which is the macro that needs to be defined leads to further errors, > so I would prefer not to go down that path further. > > Can anyone suggest what else can be done to get a very simple winsock > program to work. I have the XP OS on a Pentium machine. > > Regards, > Manoj. > > http://manoj_sharma0.tripod.com > > > > ------------------------------------------------------- > 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: Abhijit S. <mu...@gm...> - 2002-12-29 20:00:10
|
Greets, Manoj. > I am trying to compile a simple winsock program using Dev-C++ and get the > following error > [Linker error] undefined reference to WSAStartup@8. I tried generating my > own libwsock32.a library using the wsock32.dll on my system with the help > of the dllwrap utility and linking it to my program by copying the generated > .a file to the lib directory but the error stayed the same. Just because a file is present in the `lib' directory, doesn't mean that it'll be linked in. You need to add it to your the list of libraries the linker must add. Add `-lwsock32' to the linker command-line. Any lib by the name `libfoo.a' in the `lib' directory has to/can be linked in using -lfoo. HTH. ___________________________________________________________ Abhijit Shylanath E-mail: mu...@gm... || ibr...@bi... Web-site: http://mudeth.tripod.com/ |
|
From: Manoj S. <sha...@ro...> - 2002-12-29 19:14:03
|
Hi, I am trying to compile a simple winsock program using Dev-C++ and get the following error [Linker error] undefined reference to WSAStartup@8. I tried generating my own libwsock32.a library using the wsock32.dll on my system with the help of the dllwrap utility and linking it to my program by copying the generated .a file to the lib directory but the error stayed the same. I also tried using an older version of wsock32.dll (since I have the latest version of the dll) and it may not be compatible with the header files as supplied by Dev-C++. But this gave me the same undefined reference error. As a last resort I tried using the header files supplied by the Microsoft SDK instead of the include directory header files as supplied by Dev-C++. I get a target architecture must be defined error. An attempt to #define _M_IX86 which is the macro that needs to be defined leads to further errors, so I would prefer not to go down that path further. Can anyone suggest what else can be done to get a very simple winsock program to work. I have the XP OS on a Pentium machine. Regards, Manoj. http://manoj_sharma0.tripod.com |
|
From: Ioannis V. <no...@ho...> - 2002-12-29 17:00:44
|
Oh well, OK.=0D =0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys =0D =0D =0D -------Original Message-------=0D =0D From: OROSZI Bal=E1zs=0D Date: =CA=F5=F1=E9=E1=EA=DE, 29 =C4=E5=EA=DD=EC=E2=F1=E9=EF=F2 2002 12:40= :32 =EC=EC=0D To: dev...@li...=0D Subject: Re: [Dev-C++] float to string=0D =0D Hello Ioannis!=0D =0D Your backgrounds are very nice in your HTML mail, but please don't use th= em on =0D mailing lists, especially not on programming mailing lists (like dev-cpp)= =2E=0D =0D Thank you.=0D =0D --=0D Regards=0D Bal=E1zs=0D =0D =0D =0D -------------------------------------------------------=0D This sf.net email is sponsored by:ThinkGeek=0D Welcome to geek heaven.=0D http://thinkgeek.com/sf=0D _______________________________________________=0D Dev-cpp-users mailing list=0D Dev...@li...=0D TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm=0D https://lists.sourceforge.net/lists/listinfo/dev-cpp-users=20 |
|
From: <or...@vp...> - 2002-12-29 10:17:58
|
Hello Ioannis! Your backgrounds are very nice in your HTML mail, but please don't use them on mailing lists, especially not on programming mailing lists (like dev-cpp). Thank you. -- Regards Balázs |
|
From: Sebastien M. <seb...@te...> - 2002-12-29 04:16:05
|
The command is getcwd() under linux.
On Thu, Dec 26, 2002 at 09:23:21PM -0500, Ger...@ne... wrote=
:
> Message: 1
> From: "Danny Roelofs" <dro...@ho...>
> To: <dev...@li...>
> Date: Thu, 26 Dec 2002 02:36:28 +0100
> Subject: [Dev-C++] rookie question... Getting the current directory
>=20
> This is a multi-part message in MIME format.
>=20
> ------=3D_NextPart_000_0014_01C2AC87.978DF2E0
> Content-Type: text/plain;
> charset=3D"iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>=20
> Hi,
>=20
> Just started today picking my programming hobby after 10 years when i =3D
> used an amiga and a whole different programming
> enviroment, i feel like a rookie again in the world of programming with=
=3D
> c++ with dev4 & windows.....
>=20
> Can someone tell me how to get the current directory, i think it would =
=3D
> be something like this:
>=20
> string test;
>=20
> void main(void)
> {
>=20
> test =3D3D GetCurrentDir();
>=20
>=20
>=20
> return 0;
> }
>=20
> But ofcourse, this doesnt work.... someone.. enlighten me..
>=20
> i tryed all kinds of material but couldn't find something that worked =3D
> with dev4 and i dont know where i have to find the problem.
>=20
> thanks for your help
>=20
> Danny.
>=20
> //i dont know if its valid in C++, but with C, please do not void man()=
...
> //it should return integer. otherwise, the behaviour is undefined. :)
>=20
>=20
> Message: 7
> Date: Thu, 26 Dec 2002 10:48:25 -0500
> To: "Tri Nguyen" <tr...@ge...>, dev...@li....=
net>
> From: Matthews <dematthews@uwaterloo.c>
> Subject: Re: [Dev-C++] Win exe files do not run / Ansi C or pure C
>=20
> If I understand your problem corrrectly, you are unable to see the "Hel=
lo
> world." message that is supposed to print out. To rectify this, add
> #include <stdlib.h> and in the line preceeding the return 0 command add
> system("PAUSE");
>=20
> Also, I do not understand why you #included windows.h. There's no reas=
on
> to at all.
>=20
> At 12:52 PM 26/12/2002 +0100, Tri Nguyen wrote:
> Hej all,
> I would like to learn C and make win exe.
> I'm using Win98 SE and DevC++ version 4 (not the newest).
> The installed dir is C:\dev-C++ with Ming compile system (incl. in the
> package)
> My problem is I can not se whether the exe file runs or not.
> There are no error message after compiling.
> The c files are just a "Hello world" print out.
> All the files are in 2 zip files, one for proj03 and the second for pro=
j04.
>=20
> The second question is the different between Ansi C and C and which is =
most
> suitable with DevC++.
>=20
> Thanks a lot
>=20
> TriMy,
> ---
> //for your second question, on ANSI C. Actually the pure C your referin=
g to=20
> //is the ANSI C. It is the standard from which all implementations of t=
he=20
> //language is based. Borland, GCC, LCC, and MS VC++ supports this stand=
ards
> //however lame or strong their implementations is. And of course, they =
also=20
> //have their own extensions of the language.
>=20
> __________________________________________________________________
> The NEW Netscape 7.0 browser is now available. Upgrade now! http://chan=
nels.netscape.com/ns/browsers/download.jsp=20
>=20
> Get your own FREE, personal Netscape Mail account today at http://webma=
il.netscape.com/
>=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
--=20
Time remaining: 26 weeks 2 days 2 hours 43 minutes
"Ceux qui sont mari=E9s sont nombreux et ceux qui se repentent de s'=EAtr=
e mari=E9s ne le sont pas moins."
[ Proverbe Espagnol ]
|
|
From: Per W. <pw...@ia...> - 2002-12-29 03:51:02
|
/* Note 1 - remember to free() string after use. */
/* Note 2 - start is zero-relative. */
char* substr(const char* s,size_t start,size_t len) {
char *p;
size_t slen;
if (s == NULL) return NULL;
slen = strlen(s);
if (start >= slen) {
start = slen;
len = 0;
}
if (start + len > slen) len = slen - start;
p = (char*)malloc((len+1)*sizeof(char));
strncpy(p,s+start,len);
p[len] = '\0';
return p;
}
/Per W
On Sat, 28 Dec 2002, Danny Roelofs wrote:
> Hi,
>
> Another problem to solve.. i wish to make a routine which gives me a substring or trimmed down on the following
> conditions that i can start from anypoint in the string untill the offset is reached. so for example
>
> mytext = "this is a test";
> result = substring(mytext,6,2);
>
> result would now have to contain the 2nd word "is"...
>
> thats my goal.. i couldn't figure out a single function for it, if someone knows a solution.. would be great..
>
> or if you know how to "build" a new string, which in my thought has to go like this:
>
> mytext = "this is a test";
>
> mytext ++ ( 5 times) to set a pointer somehow to the 5th char in the string.
>
> subtext = subtext + pointer to mytext
>
> mytext ++ (1 time) to go to the next char in the string
>
> subtext = subtext + point to mytext
>
> which will give me "is" in the subtext...
>
>
>
> I could find decent material while searching the internet.. normaly, in my pas i always had the benefit of functions called substr
> and trimstr but they dont exist as far as i know for cpp..
>
>
> thanks for any help..
>
> danny
>
>
|