dev-cpp-users Mailing List for Dev-C++ (Page 456)
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: Michel W. <mic...@fr...> - 2003-01-13 22:56:25
|
Zachary Uram wrote: > Hi! > > I have downloaded a zip file for a MS Visual C 6.0 project. It is a > rather big project (2 MB) and I see the build.cmd file which normally > would be run to build the source. Here are my questions: > > 1) What exactly must I do to make this a Dev-C++ project? > in file you can import Visual C++ project (in Dev-C++ 5) > 2) Once I make it a Dev-C++ project how do I compile it (will it use the > existing build.cmd file?) ? I don't think so. > > 3) How can I tell Dev-C++ to make a program Installer for the project so > I can distribute the program to others? > Dev-C++ don't have integrated Installer (yet). There is a lot of free (as beer) good installer like AGinstaller or Nullsoft Installer > 4) The source code is a for a client which communicates to a Linux game > server. perhaps you have a configure or Mafile file with your project. > > Thanks! > Zach > > > Zachary Uram > John 3:16 > <>< > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: FREE SSL Guide from Thawte > are you planning your Web Server Security? Click here to get a FREE > Thawte SSL guide and find the answers to all your SSL security issues. > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en > _______________________________________________ > 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: Zachary U. <ne...@st...> - 2003-01-13 21:22:00
|
Hi! I have downloaded a zip file for a MS Visual C 6.0 project. It is a rather big project (2 MB) and I see the build.cmd file which normally would be run to build the source. Here are my questions: 1) What exactly must I do to make this a Dev-C++ project? 2) Once I make it a Dev-C++ project how do I compile it (will it use the existing build.cmd file?) ? 3) How can I tell Dev-C++ to make a program Installer for the project so I can distribute the program to others? 4) The source code is a for a client which communicates to a Linux game server. Thanks! Zach Zachary Uram John 3:16 <>< |
|
From: <hor...@te...> - 2003-01-13 18:06:34
|
Hey. I've got a big problem, I've just bought Win XP and re-downloaded Dev-C++ 4.9.7.0 It worked well with Win 98 but I get some strange errors in the makefile = now. Like this: 30 C:\Dev-C++\samuraimes\Makefile.win [Build Error] [Warning] overriding commands for target `"Samurai' 24 C:\Dev-C++\samuraimes\Makefile.win [Build Error] [Warning] ignoring old commands for target `"Samurai"' make.exe C:\Dev-C++\samuraimes\make.exe Circular "Samurai <- "Samurai dependency dropped. C:\Dev-C++\samuraimes\Makefile.win [Build Error] No rule to make target `Messenger_private.rc"', needed by = `"Samurai'. Stop. Why? Please Help! Thanks in advance! //Johan H=F6rnell |
|
From: Danny R. <dro...@ho...> - 2003-01-13 16:37:09
|
Thanks all for helping me out, special thanks to niklas for giving me the required items to use... For those who where getting involved or interested in the subject and who want to get the working source, just ask and i will e-mail it to you. Thanks, Danny. |
|
From: <hor...@te...> - 2003-01-13 16:04:50
|
I want information such as if an update has been released or just read = data from a page, like html or txt, from a server Regards //Johan H=F6rnell |
|
From: Ioannis V. <no...@ho...> - 2003-01-13 15:22:00
|
I haven't played with embedded devices so far, but i assume that a mainstream embedded system like Pocket PC which has its own Visual Studio (and the upcoming VS will have integrated the mobile .NET so as to make a= pps for the Pocket PC) will have more than 1 companies making compilers for i= t. At least for Pocket PC you can expect C++98 compliance at satisfactory levels. For less mainstream devices, naturally it will take much time to = see 100% compliance.=0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys =0D =0D -------Original Message-------=0D =0D From: Per Westermark=0D Date: 13 January 2003 16:37:41=0D To: Ioannis Vranos=0D Cc: Dev-C++ Mailing List=0D Subject: Re: [Dev-C++] templates in C++=0D =0D A lot of compilers for the more unusual targets are developed by one or=0D two persons. For a C compiler, processing the language is trivial. The=0D only real work is to generate code - especially for some more excentric=0D processors. Ever tried to generate code for a processor without real=0D stack, and 8 hardcoded return addresses?=0D =0D While it's possible to use Lex and Yacc and write a working C compiler as= =0D an examination work at the university, trying to handle the current C++=0D standard is evilishly hard. Operator overloading, polymorphism, templates= ,=0D multiple inherritance etc does take quite a lot of time to get correct.=0D For a small company supplying the only C++ compiler for a specific target= ,=0D there really isn't much incentives to spend man-months or man-years to go= =0D for the last standard, or to handle all of the fine-prints. In the end, i= f=0D they don't make more money from selling the product then they have to=0D spend maintaining it, there really isn't any reason to continue.=0D =0D /Per W=0D =0D =0D On Mon, 13 Jan 2003, Ioannis Vranos wrote:=0D =0D > Well to be accurate, MS has decided to provide new releases of the VS v= ery=0D > often. The upcoming 14 April 2003 the Visual Studio 2003 will be releas= ed=0D > and VC++ will be even more ANSI C++ compliant.=0D >=0D >=0D > For smaller platforms things may be a bit slower, but is there nowadays any=0D > C compiler that does not support C90? Eventually all compilers will support=0D > C++98.=0D >=0D >=0D > Ioannis Vranos=0D >=0D > * Programming pages: http://www.noicys.freeurl.com=0D > * Alternative URL: http://run.to/noicys=0D >=0D > -------Original Message-------=0D >=0D > From: Per Westermark=0D > Date: 13 January 2003 16:14:39=0D > To: Ioannis Vranos=0D > Cc: dev...@li...=0D > Subject: Re: [Dev-C++] templates in C++=0D >=0D > Ahem. Look how soon Microsoft Visual C++ gets updated to be compatible=0D > with the C++ standard.=0D >=0D > Also, while the major players may strive for standard adherence, a lot = of=0D > smaller compilers - for smaller operating systems, embedded development= =0D > etc - will have a very tough time. For some platforms, there might neve= r=0D > be a compiler with the latest C++ standard.=0D >=0D > /Per W =0D =20 |
|
From: Per W. <pw...@ia...> - 2003-01-13 14:38:53
|
A lot of compilers for the more unusual targets are developed by one or two persons. For a C compiler, processing the language is trivial. The only real work is to generate code - especially for some more excentric processors. Ever tried to generate code for a processor without real stack, and 8 hardcoded return addresses? While it's possible to use Lex and Yacc and write a working C compiler as an examination work at the university, trying to handle the current C++ standard is evilishly hard. Operator overloading, polymorphism, templates, multiple inherritance etc does take quite a lot of time to get correct. For a small company supplying the only C++ compiler for a specific target, there really isn't much incentives to spend man-months or man-years to go for the last standard, or to handle all of the fine-prints. In the end, if they don't make more money from selling the product then they have to spend maintaining it, there really isn't any reason to continue. /Per W On Mon, 13 Jan 2003, Ioannis Vranos wrote: > Well to be accurate, MS has decided to provide new releases of the VS very > often. The upcoming 14 April 2003 the Visual Studio 2003 will be released > and VC++ will be even more ANSI C++ compliant. > > > For smaller platforms things may be a bit slower, but is there nowadays any > C compiler that does not support C90? Eventually all compilers will support > C++98. > > > Ioannis Vranos > > * Programming pages: http://www.noicys.freeurl.com > * Alternative URL: http://run.to/noicys > > -------Original Message------- > > From: Per Westermark > Date: 13 January 2003 16:14:39 > To: Ioannis Vranos > Cc: dev...@li... > Subject: Re: [Dev-C++] templates in C++ > > Ahem. Look how soon Microsoft Visual C++ gets updated to be compatible > with the C++ standard. > > Also, while the major players may strive for standard adherence, a lot of > smaller compilers - for smaller operating systems, embedded development > etc - will have a very tough time. For some platforms, there might never > be a compiler with the latest C++ standard. > > /Per W |
|
From: Ioannis V. <no...@ho...> - 2003-01-13 14:19:45
|
Well to be accurate, MS has decided to provide new releases of the VS ver= y often. The upcoming 14 April 2003 the Visual Studio 2003 will be released and VC++ will be even more ANSI C++ compliant.=0D =0D =0D For smaller platforms things may be a bit slower, but is there nowadays a= ny C compiler that does not support C90? Eventually all compilers will suppo= rt C++98.=0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys =0D =0D -------Original Message-------=0D =0D From: Per Westermark=0D Date: 13 January 2003 16:14:39=0D To: Ioannis Vranos=0D Cc: dev...@li...=0D Subject: Re: [Dev-C++] templates in C++=0D =0D Ahem. Look how soon Microsoft Visual C++ gets updated to be compatible=0D with the C++ standard.=0D =0D Also, while the major players may strive for standard adherence, a lot of= =0D smaller compilers - for smaller operating systems, embedded development=0D etc - will have a very tough time. For some platforms, there might never=0D be a compiler with the latest C++ standard.=0D =0D /Per W |
|
From: Per W. <pw...@ia...> - 2003-01-13 14:15:50
|
Ahem. Look how soon Microsoft Visual C++ gets updated to be compatible with the C++ standard. Also, while the major players may strive for standard adherence, a lot of smaller compilers - for smaller operating systems, embedded development etc - will have a very tough time. For some platforms, there might never be a compiler with the latest C++ standard. /Per W On Mon, 13 Jan 2003, Ioannis Vranos wrote: > The export keyword is part of the ANSI/ISO C++ standard. That means that > sooner or later it will be supported by all C++ compilers. The standard also > guarantees that templates work if you place the same definition of them in > every file you use them (One Definition Rule). That is, the same that you > can do with inline functions. However that also means that if you change a > definition, you must recompile all the files having the (new) definition in > them. > > If i recall correctly the Intel C++ compiler supports it (but i am not 100% > sure). Perhaps the latest versions of GCC also support it. One thing is > certain, that soon all compilers will be supporting export. > > > Ioannis Vranos > > * Programming pages: http://www.noicys.freeurl.com > * Alternative URL: http://run.to/noicys > > -------Original Message------- > > From: erwan ancel > Date: 13 January 2003 15:46:40 > To: dev...@li... > Subject: Re: [Dev-C++] templates in C++ > > Well, this export directive is a very good idea, but which compiler supports > it ? At least, gcc doesn't. |
|
From: <qa...@ho...> - 2003-01-13 14:11:56
|
Hi.
First of all, you should remove the ';' after the line
if(WSAStartup(MAKEWORD(2,0),&wsaInfo)!=3D0);
That should do the trick :-)
If not, this has worked for my app
if(WSAStartup(0x0202, &wsaInfo)!=3D0)
/J
*********** REPLY SEPARATOR ***********
On 2003-01-13 at 14:43 Vlada Djurovic wrote:
>Hi.
>I'm trying to write an app using windows sockets, but I'm having problems
>at
>start. Here's piece of my code:
>
>#include <windows.h>
>#include <winsock2.h>
>#include "resource.h"
>
>HINSTANCE g_hInst;
>const char ClassName[]=3D"WndClass";
>LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);
>
>int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInst,LPSTR
>lpCmdLine,int nCmdShow)
>{
> WNDCLASSEX wc;
> MSG msg;
> HWND hWnd;
> WSADATA wsaInfo;
> g_hInst=3DhInstance;
>
> if(WSAStartup(MAKEWORD(2,0),&wsaInfo)!=3D0);
> MessageBox(NULL,"Could not initialize socket","Error",MB_OK);
>................................................/* rest of code*/
>When I start the program, I get the message box "Could not initialize
>socket", so I suppose WSAStartup failed. What could be the cause? I have
>Win2000 and Dev 4.9.5.0. In project options, under linker options, I
>have: -lwsock32 -lws2_32 and ws2_32.dll is installed. I tried with lower
>version of winsock in WSAStartup, but it didn't work either. Thanks for=
any
>help.
>P.S. Where can I find some tutorials about winsock on the web?
>------------
>Vlada
>
>
>
>-------------------------------------------------------
>This SF.NET email is sponsored by: FREE SSL Guide from Thawte
>are you planning your Web Server Security? Click here to get a FREE
>Thawte SSL guide and find the answers to all your SSL security issues.
>http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
>_______________________________________________
>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
r
|
|
From: Ioannis V. <no...@ho...> - 2003-01-13 13:59:41
|
The export keyword is part of the ANSI/ISO C++ standard. That means that sooner or later it will be supported by all C++ compilers. The standard a= lso guarantees that templates work if you place the same definition of them i= n every file you use them (One Definition Rule). That is, the same that you can do with inline functions. However that also means that if you change = a definition, you must recompile all the files having the (new) definition = in them.=0D =0D If i recall correctly the Intel C++ compiler supports it (but i am not 10= 0% sure). Perhaps the latest versions of GCC also support it. One thing is certain, that soon all compilers will be supporting export.=0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys =0D =0D -------Original Message-------=0D =0D From: erwan ancel=0D Date: 13 January 2003 15:46:40=0D To: dev...@li...=0D Subject: Re: [Dev-C++] templates in C++=0D =0D Well, this export directive is a very good idea, but which compiler suppo= rts=0D it ? At least, gcc doesn't. |
|
From: erwan a. <erw...@fr...> - 2003-01-13 13:46:00
|
Well, this export directive is a very good idea, but which compiler supports it ? At least, gcc doesn't. ----- Original Message ----- From: "Ioannis Vranos" <no...@ho...> To: <dev...@li...> Sent: Monday, January 13, 2003 2:26 PM Subject: Re: [Dev-C++] templates in C++ Yes. Alternatively you can use the keyword export for the definition but that is not supported yet by all compilers. Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys -------Original Message------- From: Esteban Valverde Date: 13 January 2003 15:13:12 To: dev-cpp Subject: Re: [Dev-C++] templates in C++ Hi, do you put all your template code in a header file and then include it in yout main program ? //file.h template <class T> class A{ A(); void B(); std::set<T> _list; }; template <class T> A<T>::A(){ ... } template <class T> void A<T>::B(){ ... } // end file.h // main.cc #include "file.h" int main(void) { A<int> a1; a1.B(); return 0; } best regards, Esteban ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ 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: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ 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: Vlada D. <dj...@im...> - 2003-01-13 13:44:00
|
Hi.
I'm trying to write an app using windows sockets, but I'm having problems at
start. Here's piece of my code:
#include <windows.h>
#include <winsock2.h>
#include "resource.h"
HINSTANCE g_hInst;
const char ClassName[]="WndClass";
LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);
int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInst,LPSTR
lpCmdLine,int nCmdShow)
{
WNDCLASSEX wc;
MSG msg;
HWND hWnd;
WSADATA wsaInfo;
g_hInst=hInstance;
if(WSAStartup(MAKEWORD(2,0),&wsaInfo)!=0);
MessageBox(NULL,"Could not initialize socket","Error",MB_OK);
................................................/* rest of code*/
When I start the program, I get the message box "Could not initialize
socket", so I suppose WSAStartup failed. What could be the cause? I have
Win2000 and Dev 4.9.5.0. In project options, under linker options, I
have: -lwsock32 -lws2_32 and ws2_32.dll is installed. I tried with lower
version of winsock in WSAStartup, but it didn't work either. Thanks for any
help.
P.S. Where can I find some tutorials about winsock on the web?
------------
Vlada
|
|
From: Ioannis V. <no...@ho...> - 2003-01-13 13:26:50
|
Yes. Alternatively you can use the keyword export for the definition but that is not supported yet by all compilers.=0D =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: Esteban Valverde=0D Date: 13 January 2003 15:13:12=0D To: dev-cpp=0D Subject: Re: [Dev-C++] templates in C++=0D =0D Hi, do you put all your template code in a header file and then include i= t=0D in yout main program ?=0D =0D //file.h=0D =0D template <class T>=0D class A{=0D A();=0D void B();=0D std::set<T> _list;=0D };=0D =0D template <class T>=0D A<T>::A(){=0D =2E..=0D }=0D =0D template <class T>=0D void A<T>::B(){=0D =2E..=0D }=0D =0D // end file.h=0D =0D // main.cc=0D #include "file.h"=0D =0D int main(void)=0D {=0D A<int> a1;=0D a1.B();=0D =0D return 0;=0D }=0D =0D best regards, Esteban=0D =0D =0D -------------------------------------------------------=0D This SF.NET email is sponsored by: FREE SSL Guide from Thawte=0D are you planning your Web Server Security? Click here to get a FREE=0D Thawte SSL guide and find the answers to all your SSL security issues.=0D http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en=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: Esteban V. <est...@ho...> - 2003-01-13 13:09:04
|
Hi, do you put all your template code in a header file and then include it
in yout main program ?
//file.h
template <class T>
class A{
A();
void B();
std::set<T> _list;
};
template <class T>
A<T>::A(){
...
}
template <class T>
void A<T>::B(){
...
}
// end file.h
// main.cc
#include "file.h"
int main(void)
{
A<int> a1;
a1.B();
return 0;
}
best regards, Esteban
|
|
From: Niklas K. R. <nik...@ho...> - 2003-01-13 11:08:23
|
tjek this:
in resource.rc
------------------------------------------------------------------
#include "define.h"
IDBM_WELCOME_BG BITMAP "C:\bg_welcome.bmp"
------------------------------------------------------------------
in define.h
------------------------------------------------------------------
IDBM_WELCOME_BG 1000
------------------------------------------------------------------
in main.cpp (case WM_CREATE:)
------------------------------------------------------------------
static HBITMAP hBmBg;
hBmBg = LoadBitmap(GetModuleHandle(NULL),
MAKEINTRESOURCE(IDBM_WELCOME_BG));
if(hBmBg == NULL)
{
MessageBox(hWndWelcome, "Could not load IDBM_WELCOME_BG!",
"Error", MB_OK | MB_ICONEXCLAMATION);
}
------------------------------------------------------------------
in main.cpp (case WM_PAINT:)
------------------------------------------------------------------
PAINTSTRUCT ps ;
BITMAP bm;
HDC hdc, hdcMem;
hdc = BeginPaint(hWndWelcome, &ps);
hdcMem = CreateCompatibleDC(hdc);
SelectObject(hdcMem, hBmBg);
GetObject(hBmBg, sizeof(bm), &bm);
BitBlt(hdc, 0, 0, bm.bmWidth, bm.bmHeight, hdcMem, 0, 0, SRCCOPY);
DeleteDC(hdcMem);
EndPaint (hWndWelcome, &ps) ;
return 0 ;
------------------------------------------------------------------
btw. remember #include "define.h" in main.cpp
-Niklas
>From: "Daniel Glenfield" <sp...@ho...>
>To: dro...@ho..., dev...@li...
>Subject: Re: [Dev-C++] bitmap picture as background?
>Date: Mon, 13 Jan 2003 07:48:19 +0000
>
>
>
>on the background of what? as the background of a dialog box, of a button,
>you could use directX or openGL to do this, many different ways.
>
>>From: "Danny Roelofs" <dro...@ho...>
>>To: <dev...@li...>
>>Subject: [Dev-C++] bitmap picture as background?
>>Date: Sun, 12 Jan 2003 23:57:12 +0100
>>
>>Hi,
>>
>>I am not that kind of guy who want to use library's like MFC to make the
>>job easy. so who can tell me, or send me a source which
>>works whith DevC which can learn me how to show a picture on the
>>background.. preferable a bitmap image..
>>
>>thanks,
>>
>>danny.
>>
>
>
>_________________________________________________________________
>The new MSN 8: smart spam protection and 2 months FREE*
>http://join.msn.com/?page=features/junkmail
>
>
>
>-------------------------------------------------------
>This SF.NET email is sponsored by:
>SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
>http://www.vasoftware.com
>_______________________________________________
>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
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*
http://join.msn.com/?page=features/virus
|
|
From: Daniel G. <sp...@ho...> - 2003-01-13 07:48:24
|
on the background of what? as the background of a dialog box, of a button, you could use directX or openGL to do this, many different ways. >From: "Danny Roelofs" <dro...@ho...> >To: <dev...@li...> >Subject: [Dev-C++] bitmap picture as background? >Date: Sun, 12 Jan 2003 23:57:12 +0100 > >Hi, > >I am not that kind of guy who want to use library's like MFC to make the >job easy. so who can tell me, or send me a source which >works whith DevC which can learn me how to show a picture on the >background.. preferable a bitmap image.. > >thanks, > >danny. > _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail |
|
From: Zachary U. <ne...@st...> - 2003-01-13 01:56:07
|
Hi Everyone! I have downloaded a zip file for a MS Visual C 6.0 project. It is a rather big project (2 MB) and I see the build.cmd file which normally would be run to build the source. Here are my questions: 1) What exactly must I do to make this a Dev-C++ project? 2) Once I make it a Dev-C++ project how do I compile it (will it use the existing build.cmd file?) ? 3) How can I tell Dev-C++ to make a program Installer for the project so I can distribute the program to others? 4) The source code is a for a client which communicates to a Linux game server. Thanks! Zach Zachary Uram John 3:16 <>< |
|
From: Sebastien M. <seb...@te...> - 2003-01-13 00:48:52
|
What kind of information do you want to get? I mean what kind of server? "To communicate with a server" is pretty vague :) On Sun, Jan 12, 2003 at 03:10:06PM +0100, Johan H=F6rnell wrote: > Hello everybody, I'm quite new at this list but not so new at C++ progr= amming. But, I want to move on with my programming so I wonder one little= thing. How should I do to communicate with a server. You know, getting i= nformation from a server. > Thanks in advance! > //Johan H=F6rnell --=20 Time remaining: 24 weeks 0 days 14 hours 50 minutes "L'absence est le plus grand des maux." [ La Fontaine ] |
|
From: Danny R. <dro...@ho...> - 2003-01-12 22:57:23
|
Hi, I am not that kind of guy who want to use library's like MFC to make the = job easy. so who can tell me, or send me a source which works whith DevC which can learn me how to show a picture on the = background.. preferable a bitmap image.. thanks, danny. |
|
From: Ioannis V. <no...@ho...> - 2003-01-12 18:53:37
|
-------Original Message-------=0D =0D From: Daniel Glenfield=0D Date: =CA=F5=F1=E9=E1=EA=DE, 12 =C9=E1=ED=EF=F5=DC=F1=E9=EF=F2 2003 6:45:= 38 =EC=EC=0D To: no...@ho...; dev...@li...=0D Subject: Re: [Dev-C++] templates in C++ : precisions=0D =0D I believe VC++ 6.0 has a problem with templates, hence template T not cla= ss T. r something=0D =0D =0D =3D> Well VC++ 6 is too old to mention it. After all it did not compile properly even the for loops.=0D =0D VC++ 7 however is OK.=0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys=20 |
|
From: <cg...@wo...> - 2003-01-12 17:43:48
|
Set the C++ include library to the correct path. I have mingw and dev installed separately, so I don't know how it's in your computer, for me it's in include/c++/3.2/ Senthil Kumaran wrote: >I Used <iostream> >and it reported iostream: No file or Directory.. > >I have been programming in DOS. >I would like to run programs similar in Dev C++. >I find it not so. >Any tips and suggestions and Advice , would be great help to me. >Regards, >Senthil >It is the nature of man to rise to greatness if greatness is expected of him. > > - John Steinbeck >___________________________________________________ >GO.com Mail >Get Your Free, Private E-mail at http://mail.go.com > > > > >------------------------------------------------------- >This SF.NET email is sponsored by: >SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! >http://www.vasoftware.com >_______________________________________________ >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: erwan a. <erw...@fr...> - 2003-01-12 17:22:55
|
>As far as why it didn't compile before, it is 100% certain that you did
some
>type of mistake (probably some typo).
Yes. pretty sure :)
thanks a lot.
Erwan
|
|
From: Daniel G. <sp...@ho...> - 2003-01-12 16:55:38
|
Hiya, what's a lookup table and how do I use one? I can't find info in my documentation (VC++) _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail |
|
From: Daniel G. <sp...@ho...> - 2003-01-12 16:45:44
|
I believe VC++ 6.0 has a problem with templates, hence template T not class T. r something >From: "Ioannis Vranos" <no...@ho...> >To: "Dev-C++ Mailing List" <dev...@li...> >Subject: Re: [Dev-C++] templates in C++ : precisions >Date: Sun, 12 Jan 2003 16:17:02 +0200 (GTB Standard Time) > >-------Original Message------- > >From: erwan ancel >Date: ÊõñéáêÞ, 12 ÉáíïõÜñéïò 2003 3:51:27 ìì >To: dev...@li... >Subject: Re: [Dev-C++] templates in C++ : precisions > >This is only a function declaration, not a call. > >==> Then you declared a function without a return type. > >Correct it to void B(); > > > Anyway, somebody on the >gcc-help mailing list gave me a solution that seems to work: replace >"template <class T>" by "template <typename T>". But I don't know why ... > > >==> The typename has exactly the same effect. They are both equivalents for >the definition of template arguments. > > >Ioannis Vranos > >* Programming pages: http://www.noicys.freeurl.com >* Alternative URL: http://run.to/noicys _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail |