dev-cpp-users Mailing List for Dev-C++ (Page 50)
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: Chris M. <lor...@gm...> - 2007-09-26 16:26:53
|
On 9/25/07, Walter Ponevacs <wpo...@ya...> wrote: > I recently purchased a new computer running Windows Vista Home Basic and > installed Dev-Cpp version 4.9.9.2 on it. When trying to compile projects > (including examples) I get the following results. > > Compiler Log: > > Compiler: Default compiler > Building Makefile: > "C:\Dev-Cpp\Examples\WinTest\Makefile.win" > Executing make... > make.exe -f "C:\Dev-Cpp\Examples\WinTest\Makefile.win" all > windres.exe -i WinTest.rc --input-format=rc -o WinTest.res -O coff I am not an expert in the minutae of DOS, but I think that should be: make.exe /f "C:\Dev-Cpp\Examples\WinTest\Makefile.win" all windres.exe /i WinTest.rc /input-format=rc /o WinTest.res /O coff > gcc: installation problem, cannot exec `cc1': No such file or directory > windres.exe: no resources > make.exe: *** [WinTest.res] Error 1 > Execution terminated > > I have run Dev-Cpp Version 4.9.9.2 on a Windows XP platform in the past with > great results. > > Can anyone help with this problem? > > Thanks, > > > > ________________________________ > Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, > and more! > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > 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 > > -- Registered Linux Addict #431495 If You Know What's Good For You, You'll Install Linux John 3:16! |
From: Laura L. <lau...@gm...> - 2007-09-26 15:53:05
|
Hello, I would like to do a double reference, I mean, I have two classes Police and PoliceMan in two files: Police.h and PoliceMan.h , the class Police have a vector of pointers of PoliceMan: vector<PoliceMan*>, so Police.h include PoliceMan.h, and I would like include Police.h into PoliceMan.h but I have errors; This is that I would like to do: //Police.h #include "PoliceMan.h" class Police{ private: vector<PoliceMan*> policeMen; ...... //PoliceMan.h #include "Police.h" class PoliceMan{ private: Police* myPolice; .... Is there any way to do that? Thank you |
From: Walter P. <wpo...@ya...> - 2007-09-25 23:54:17
|
I recently purchased a new computer running Windows Vista Home Basic and installed Dev-Cpp version 4.9.9.2 on it. When trying to compile projects (including examples) I get the following results. Compiler Log: Compiler: Default compiler Building Makefile: "C:\Dev-Cpp\Examples\WinTest\Makefile.win" Executing make... make.exe -f "C:\Dev-Cpp\Examples\WinTest\Makefile.win" all windres.exe -i WinTest.rc --input-format=rc -o WinTest.res -O coff gcc: installation problem, cannot exec `cc1': No such file or directory windres.exe: no resources make.exe: *** [WinTest.res] Error 1 Execution terminated I have run Dev-Cpp Version 4.9.9.2 on a Windows XP platform in the past with great results. Can anyone help with this problem? Thanks, --------------------------------- Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more! |
From: Jonathan W. <jon...@gm...> - 2007-09-25 19:38:16
|
If you want other people to get to your computer with a name, you will have to register a domain name (have a look at www.dyndns.org) The hosts file ( /etc/hosts on *nix, C:\Windows\system32\drivers\etc\hosts on (duh) windows) allows you to give a name to an IP address, for use on the same computer as the hosts file. HTH Jonathan On 9/25/07, Fernando Lichtschein <fer...@gm...> wrote: > > Angel, > > Add it in your /etc/hosts file. > > On 9/25/07, angel dario <sci...@ho... > wrote: > > > Any body knows, if possible, how to rename a computer ip address, for > > example: > > > > - Instead of calling http://127.99.123.12 , call > > http://mycomputername? > > > > > > ------------------------------ > > Make your little one a shining star! Shine on!<http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us> > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > _______________________________________________ > > 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 > > > > > > > -- > Fernando Lichtschein > li...@fi... > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > 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 > > -- <Morpheus> linux, c'est une question de VI ou de MORE |
From: Fernando L. <fer...@gm...> - 2007-09-25 18:31:27
|
Angel, Add it in your /etc/hosts file. On 9/25/07, angel dario <sci...@ho...> wrote: > > Any body knows, if possible, how to rename a computer ip address, for > example: > > - Instead of calling http://127.99.123.12, call > http://mycomputername? > > > ------------------------------ > Make your little one a shining star! Shine on!<http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > 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 > > -- Fernando Lichtschein li...@fi... |
From: angel d. <sci...@ho...> - 2007-09-25 18:00:25
|
Any body knows, if possible, how to rename a computer ip address, for examp= le: Instead of calling http://127.99.123.12, call http://mycomputername? _________________________________________________________________ Capture your memories in an online journal! http://www.reallivemoms.com?ocid=3DTXT_TAGHM&loc=3Dus= |
From: matheus r. <mfr...@gm...> - 2007-09-25 02:15:11
|
Hola Mariel it will be easier if you show us the command line and the way you included sstream. regards 2007/9/24, Mariel Raggi <mar...@ya...>: > I need to compile 3 files hola1.cpp hola2.cpp and I made a .h file like > hola3.h( #include "hola3.h") > > When I try to compile all this files i received this error > > 1 tp0_switch.cpp > c:\documents and > settings\administrador\escritorio\mariel\descargas\tp > 0\hola3.h:3: sstream: No such file or directory > > Can please anybody help me with this??? > > I'm from argentina > > My english is not so good if you can't understand me anything just let me > know > > Thanks in advance! > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > 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: Mariel R. <mar...@ya...> - 2007-09-25 01:30:06
|
I need to compile 3 files hola1.cpp hola2.cpp and I made a .h file like hola3.h( #include "hola3.h") When I try to compile all this files i received this error 1 tp0_switch.cpp c:\documents and settings\administrador\escritorio\mariel\descargas\tp 0\hola3.h:3: sstream: No such file or directory Can please anybody help me with this??? I'm from argentina My english is not so good if you can't understand me anything just let me know Thanks in advance! |
From: <and...@su...> - 2007-09-24 17:41:38
|
Thank you guys! Now I can make refferences for elements in a N-D array dynamically allocated. Translating your help for the old school style, the final code became: /////////////////////////////////////////////////////////////////////// /* using a 2-row 3-column array */ #include <stdio.h> #include <stdlib.h> int main() { double **matriz; int i, j, k; matriz = (double **) malloc(2*sizeof(double)); for(j=0; j<3; j++) matriz[j] = (double *) malloc(3*sizeof(double)); k=0; for(i=0; i<2; i++) for(j=0; j<3; j++) matriz[i][j] = ++k; for(i=0; i<2; i++){ for(j=0; j<3; j++) printf(" %lf ", matriz[i][j]); printf("\n"); } free(matriz); system("PAUSE"); return 0; } ////////////////////////////////////////////////////////////////////// Best Regards Andre No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.30/1027 - Release Date: 24/9/2007 11:27 |
From: <Ulr...@ao...> - 2007-09-24 06:49:45
|
Hi everybody, the mfribeiro-code could (should?) be improved by avoiding the defines, and by avoiding any need to delete pointers if the array a is to be used in a body of a function other than main: #include <vector> void test(void){ using std::vector; int lin=3, col=5; vector<vector<double> > a(lin,vector<double>(col)); a[2][4]=123.4; cout<<"a[2][4]="<<a[2][4]<<", should be 123.4"<<endl; } No need for doing arithmetics for accessing the entries to doubled indexed structure. Who has to work a lot with multi-indexed structures, better defines classes for those, or gets the stuff from the boost library. Regards Ulrich |
From: matheus r. <mfr...@gm...> - 2007-09-23 17:12:13
|
Hi > Can anyone tell me what formula I > can use to referenciate one 2-D array > element dynamically allocated? #include <iostream> #define LIN 3 #define COL 2 using namespace std; int main(){ double **a; a = new double*[LIN]; for (unsigned int i=0;i<LIN;++i){ a[i] = new double[COL]; } a[2][1] = 5.0; cout << a[2][1] <<endl; } |
From: <and...@su...> - 2007-09-23 15:07:58
|
Dear users, Can anyone tell me what formula I can use to referenciate one 2-D array element dynamically allocated? Example: ... #include <stdlib.h> ... int main() { double *2d_array; /* I want to use a 3-row 2-column 2-D array */ 2d_array = (double *) malloc(3*2*sizeof(double)); /* 2d_array[0][0] 2d_array[0][1] 2d_array[1][0] 2d_array[1][1] 2d_array[2][0] 2d_array[2][1] becomes: *(2d_array+0), *(2d_array+1), *(2d_array+2), *(2d_array+3), *(2d_array+4), *(2d_array+5) */ ... /* I need to find a way to do assignments like this: 2d_array[2][1] = 4.0; but I need to do it by a GENERIC (for every MxN 2-D array, not just for a 3x2) linear combination of the indexes, something like *(2d_array + 5) = 4.0; */ } Any ideas? Regards Andre No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.28/1023 - Release Date: 22/9/2007 13:27 |
From: Per W. <pw...@ia...> - 2007-09-21 06:32:33
|
A http link should be written http://server/page if you want to access a different server. You must teach your server to correctly parse the http request and decide if it is an absolute or relative path, and you must then map that path against a directory on the server disk, or let the server know what data to auto-build depending on the path. Have you read about what http fields a http server is expected to unserstand and to emit when doing it's work? /pwm On Thu, 20 Sep 2007, angel dario wrote: > > So far, thanks to all of you who help me with the HTTP winsock2 code, i have enough info now to start building my server. > Everything seems to be working very good but there is only one problem: > > The server that i created works like this: > > I use ifstream() to get the frontgage.html and put it into a char *buffer variable. > I host on port[80] and listen(), waiting for any client to be connected. > when the client connects, i use send() function to send the buffer which contains the html code. > Client: > > > Clients opens a webpage and types 12.145.32.156/frontpage.html on the address bar. > > Then the pages (which is buffer itself) displays successfully. > Here is the problem: > > > Whenever i create a hypertext(link) in the html code, for example: > <a href="www.google.com">Index</a> > > and i pass it to the buffer variable, (first using ifstream). > > The browser goes to 12.145.32.156/www.google.com which doesn't exist, so the browser displays cannot find server. > Also: if i try to load a picture like this: > <img src="image.gif" name="image" alt="image" border="1" align="middle"> > > The browser tries to download the picture from 12.145.32.156/image.gif which doesn't exist. > So the question is, how do i tell the browser where to find the things , like the image, or where to go, like the link???? > Or how to upload the image so that when the frontpage.html displays, it display the image in it. > > I've been thinking about this for a while, and think i have a logic solution for the image thing: > > > > If i upload the image and call it image.gif, then when i link it through html, then the browser will find it. > > but problem is that the browser is trying to connect using the path: 12.145.32.156/ which is another place (no idea where) which is not where image.gif is. > Is there a way to manipulate the ip (12.145.32.156) as a folder so that i can drop images and icons, so that when the client connects to the > server, the browser gets the images and icons from the http://12.145.32.156/ path?? > > _________________________________________________________________ > Capture your memories in an online journal! > http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us |
From: angel d. <sci...@ho...> - 2007-09-21 04:47:55
|
=20 So far, thanks to all of you who help me with the HTTP winsock2 code, i hav= e enough info now to start building my server. Everything seems to be working very good but there is only one problem: =20 The server that i created works like this: I use ifstream() to get the frontgage.html and put it into a char *buffer v= ariable. I host on port[80] and listen(), waiting for any client to be connected. when the client connects, i use send() function to send the buffer which co= ntains the html code. Client: Clients opens a webpage and types 12.145.32.156/frontpage.html on the addre= ss bar. Then the pages (which is buffer itself) displays successfully. Here is the problem: Whenever i create a hypertext(link) in the html code, for example: =20 <a href=3D"www.google.com">Index</a> =20 and i pass it to the buffer variable, (first using ifstream). The browser goes to 12.145.32.156/www.google.com which doesn't exist, so th= e browser displays cannot find server. Also: if i try to load a picture like this: <img src=3D"image.gif" name=3D"image" alt=3D"image" bo= rder=3D"1" align=3D"middle"> The browser tries to download the picture from 12.145.32.156/image.gif whic= h doesn't exist. So the question is, how do i tell the browser where to find the things , li= ke the image, or where to go, like the link???? Or how to upload the image so that when the frontpage.html displays, it dis= play the image in it. =20 I've been thinking about this for a while, and think i have a logic solutio= n for the image thing: =20 If i upload the image and call it image.gif, then when i link it through ht= ml, then the browser will find it. but problem is that the browser is trying to connect using the path: 12.145= .32.156/ which is another place (no idea where) which is not where image.gi= f is. Is there a way to manipulate the ip (12.145.32.156) as a folder so that i c= an drop images and icons, so that when the client connects to the server, the browser gets the images and icons from the http://12.145.32.156= / path?? =20 _________________________________________________________________ Capture your memories in an online journal! http://www.reallivemoms.com?ocid=3DTXT_TAGHM&loc=3Dus= |
From: Younes O. <ou...@ei...> - 2007-09-20 18:03:05
|
Hi, Can you please provide the full output of the make command? Meanwhile, can you please double check that the function 'parse()' is defined in your ParserXML.cpp file. Thank you Younes On Thu, 2007-09-20 at 18:02 +0200, Laura Lozano wrote: > Hello, > > I'm building a xml parser using xerces-c++ , to simplify the > compilation, I've created a makefile, but I get the next error: > > /tmp/ccAin6yE.o: In function `main': > main.cpp:(.text+0xac): undefined reference to `ParserXML::parse()' > collect2: ld devolvió el estado de salida 1 > make: *** [main.o] Error 1 > > I only have three files: main.cpp, ParserXML.hpp and ParserXML.cpp and > the header file ParserXML.hpp is included in the .cpp files. > > This is the makefile content: > > GCC:=g++ > OPTIONS:=-L/home/laura/xerces-c_2_8_0-x86-linux-gcc_3_4/lib > -Wno-deprecated > INCLUDE:=-I/home/laura/xerces-c_2_8_0-x86-linux-gcc_3_4/include/ > OBJETOS:=main.o ParserXML.o > SOURCES:=main.cpp ParserXML.cpp > HEADERS:=ParserXML.hpp > LIBS:=-lxerces-c > > all:parser > > parser:$(OBJETOS) > $(GCC) $(OPTIONS) -o parser $(OBJETOS) $(LIBS) > > main.o:main.cpp $(HEADERS) > $(GCC) $(INCLUDE) main.cpp > > ParserXML.o:ParserXML.cpp ParserXML.hpp > $(GCC) $(INCLUDE) ParserXML.cpp > > limpiar:rm *.o > > > > Someone Knows what's the problem? > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ 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 -- Younes |
From: Laura L. <lau...@gm...> - 2007-09-20 16:02:04
|
Hello, I'm building a xml parser using xerces-c++ , to simplify the compilation, I've created a makefile, but I get the next error: /tmp/ccAin6yE.o: In function `main': main.cpp:(.text+0xac): undefined reference to `ParserXML::parse()' collect2: ld devolvi=F3 el estado de salida 1 make: *** [main.o] Error 1 I only have three files: main.cpp, ParserXML.hpp and ParserXML.cpp and the header file ParserXML.hpp is included in the .cpp files. This is the makefile content: GCC:=3Dg++ OPTIONS:=3D-L/home/laura/xerces-c_2_8_0-x86-linux-gcc_3_4/lib -Wno-deprecat= ed INCLUDE:=3D-I/home/laura/xerces-c_2_8_0-x86-linux-gcc_3_4/include/ OBJETOS:=3Dmain.o ParserXML.o SOURCES:=3Dmain.cpp ParserXML.cpp HEADERS:=3DParserXML.hpp LIBS:=3D-lxerces-c all:parser parser:$(OBJETOS) $(GCC) $(OPTIONS) -o parser $(OBJETOS) $(LIBS) main.o:main.cpp $(HEADERS) $(GCC) $(INCLUDE) main.cpp ParserXML.o:ParserXML.cpp ParserXML.hpp $(GCC) $(INCLUDE) ParserXML.cpp limpiar:rm *.o Someone Knows what's the problem? |
From: angel d. <sci...@ho...> - 2007-09-19 01:26:00
|
Can somebody give me a link that has reference of how to create a WEB HOSTI= NG server using C++ winsock2?? _________________________________________________________________ Capture your memories in an online journal! http://www.reallivemoms.com?ocid=3DTXT_TAGHM&loc=3Dus= |
From: hhh h. <the...@ho...> - 2007-09-18 12:52:49
|
>Science Math Angel : > > Yes, and it is quite simple. I have done a small HTTP Server and it is >easy once you get the basics. The only thing u need to get started is to >learn the Beej's Guide to Networking Tutorial . If u want to use Windows' >specific functions, u gotta go to MSDN Lib to research them. ( Socket API >2.0 and such )... A word of wise... I wouldn't bother with that... > > Then search for the RFCs of HTTP protocols. Either 1.0 or 1.1, and >start >experimenting. I should advice that you should read through the materials >available to choose the one [ protocol ] that suits you the best. > Another thing I found usefull when using/developing my HTTP server was >a >output of the requests made onto the server... And once u get it to handle >the most basic requests... "GET / HTTP/1.0" ( that should compute to >index.html ), I'd run some funny software, the likings nmap to see your >proggy interactions with "not-so-friendly" requests. _________________________________________________________________ Transfira JÁ a última versão do Windows Live Messenger! http://get.live.com/pt-pt/messenger/overview |
From: Jonathan W. <jon...@gm...> - 2007-09-18 07:29:09
|
Indeed, it is possible, and even not extremely complicated. The global idea would be: set a 'server' socket to listen on the desired port. and wait for connections. when you get a connection, it should spawn a new socket dedicated to that connection (and the server one will keep listening) then read the data in throught the socket, parse it according to the HTTP spec, do whatever processing is required (generating data, finding files, whatever your application is to serve) and then post your awnser back into the socket. All/most of the "low" level transport will be dealt with by the sockets (as long as you give them the right parameters). Good luck Jonathan On 9/18/07, Per Westermark <pw...@ia...> wrote: > > How? That is not possible to answer without presenting full source. > > Yes, it is possible but you must know how to write a HTTP server. Quite > little code is transport-related. > > /pwm > > On Mon, 17 Sep 2007, angel dario wrote: > > > Is it possible to build a very simple HTTP server using Windows Sockets= ? > > If so, how? > > _________________________________________________________________ > > More photos; more messages; more whatever =96 Get MORE with Windows Liv= e=99 > Hotmail(r). NOW with 5GB storage. > > > http://imagine-windowslive.com/hotmail/?locale=3Den-us&ocid=3DTXT_TAGHM_m= igration_HM_mini_5G_0907 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > 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 <Morpheus> linux, c'est une question de VI ou de MORE |
From: Per W. <pw...@ia...> - 2007-09-17 23:18:34
|
How? That is not possible to answer without presenting full source. Yes, it is possible but you must know how to write a HTTP server. Quite little code is transport-related. /pwm On Mon, 17 Sep 2007, angel dario wrote: > Is it possible to build a very simple HTTP server using Windows Sockets? > If so, how? > _________________________________________________________________ > More photos; more messages; more whatever =96 Get MORE with Windows Live= =99 Hotmail=AE. NOW with 5GB storage. > http://imagine-windowslive.com/hotmail/?locale=3Den-us&ocid=3DTXT_TAGHM_m= igration_HM_mini_5G_0907 |
From: Reid T. <rei...@at...> - 2007-09-17 22:53:24
|
angel dario wrote: > Is it possible to build a very simple HTTP server using Windows Sockets? > If so, how? > > ------------------------------------------------------------------------ > More photos; more messages; more whatever – Get MORE with Windows Live™ > Hotmail®. NOW with 5GB storage. Get more! > <http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_5G_0907> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 yes -- google for a copy of the http protocol and code your application to meet it's definition. |
From: angel d. <sci...@ho...> - 2007-09-17 20:30:13
|
Is it possible to build a very simple HTTP server using Windows Sockets? If so, how? _________________________________________________________________ More photos; more messages; more whatever =96 Get MORE with Windows Live=99= Hotmail=AE. NOW with 5GB storage. http://imagine-windowslive.com/hotmail/?locale=3Den-us&ocid=3DTXT_TAGHM_mig= ration_HM_mini_5G_0907= |
From: Jonathan W. <jon...@gm...> - 2007-09-17 07:23:26
|
You could try using the Nullsoft Installer System (NSIS), made by the winamp team (Nullsoft...) googling for NSIS will get you there Cheers, Jonathan On 9/17/07, angel dario <sci...@ho...> wrote: > > How do i bundle my C++ Applications (.exe) in a Setup .exe? > ------------------------------ > Can you find the hidden words? Take a break and play Seekadoo! Play now!<http://club.live.com/seekadoo.aspx?icid=seek_wlmailtextlink> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > 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 > > -- <Morpheus> linux, c'est une question de VI ou de MORE |
From: angel d. <sci...@ho...> - 2007-09-16 22:38:09
|
How do i bundle my C++ Applications (.exe) in a Setup .exe? _________________________________________________________________ Can you find the hidden words?=A0 Take a break and play Seekadoo! http://club.live.com/seekadoo.aspx?icid=3Dseek_wlmailtextlink= |
From: Adam J. <aj...@i-...> - 2007-09-14 01:39:53
|
>>You wrote: >>my teacher give me a problem,but m not able 2 solve this one. >> problem statement is as: >> you have a positive number and you have to break it into its all >>possible s= >> um combinations. >> no pair of combinations is to be repeated. >> eg. >> 5 can be broken as: >> 1+1+1+1+1 >> 2+1+1+1,2+2+1 >> 3+1+1,3+2 >> 4+1 >> 6 can be broken as: >> 1+1+1+1+1+1 >> 2+1+1+1+1,2+2+1+1,2+2+2 >> 3+1+1+1,3+2+1,3+3 >> 4+1+1,4+2 >> 5+1 >> all these combinations is to be printed on console >> thank you in advance People on this mailing list are here to help. We are all very busy with our lives. You need to put some effort forward to do your own work. We can help answer questions, and even suggest ways of solving the problem, but ultimately it is your problem and you need to figure it out. We can't do your homework for you..... As someone has already told you, this problem is very simple and straight forward. If you analyze the numbers, a pattern will emerge...... -Adam Jones i-softwarproducts.com |