Re: [Dev-C++] Dev-cpp-users Digest, Vol 25, Issue 5
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: angel d. <sci...@ho...> - 2008-06-22 17:48:53
|
I tried this http://portforward.com/english/routers/port_forwarding/Linksys/WAG54G/HTTP.htm still doesn't work! I already have my static IP tho.... > From: dev...@li...> Subject: Dev-cpp-users Digest, Vol 25, Issue 5> To: dev...@li...> Date: Sun, 22 Jun 2008 07:17:12 -0700> > Send Dev-cpp-users mailing list submissions to> dev...@li...> > To subscribe or unsubscribe via the World Wide Web, visit> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users> or, via email, send a message with subject or body 'help' to> dev...@li...> > You can reach the person managing the list at> dev...@li...> > When replying, please edit your Subject line so it is more specific> than "Re: Contents of Dev-cpp-users digest..."> > > Today's Topics:> > 1. Re: Task Manager Process (Per Westermark)> 2. I?d like to know your hints about file manipulations> (Andr? Mac?rio Barros)> 3. Need to view execution results (Noel Wallen)> 4. Re: Need to view execution results (Brad Woosley)> 5. C++ Sockets (angel dario)> 6. Re: C++ Sockets (angel dario)> > > ----------------------------------------------------------------------> > Message: 1> Date: Thu, 19 Jun 2008 19:10:09 +0200 (CEST)> From: Per Westermark <pw...@ia...>> Subject: Re: [Dev-C++] Task Manager Process> To: Mat...@bm...> Cc: sci...@ho...,> dev...@li...> Message-ID: <Pin...@ia...>> Content-Type: TEXT/PLAIN; charset=ISO-8859-1> > TerminateProcess is a very, very brutal call and should be avoided at all> costs. Termination means that the program may not perform any cleanup.> > The best way to ask a Windows application to end is to post a WM_CLOSE> message to it. In some situations a WM_QUIT message may also be used.> > /pwm> > On Thu, 19 Jun 2008 Mat...@bm... wrote:> > > If you are using win32 you can use the TerminateProcess API call.> >> > http://msdn.microsoft.com/en-us/library/ms686714(VS.85).aspx> >> >> >> > ________________________________________> > From: dev...@li... [mailto:dev...@li...] On Behalf Of angel dario> > Sent: 18 June 2008 21:36> > To: Dev-C++ Mainling> > Subject: [Dev-C++] Task Manager Process> >> > ?> > Is there a way to end a?process (Task Manager, Process)?programmatically using C++?> > ________________________________________> > Need to know now? Get instant answers with Windows Live Messenger. IM on your terms.> > This email was sent from an email account of BMW (UK) Manufacturing Limited. BMW (UK) Manufacturing Limited is a company registered in England and Wales with company number 3950868; and has its offices at Ellesfield Avenue, Bracknell, Berkshire, RG12 8TA; registered in England and Wales. The contents of this e-mail are confidential and may be privileged and subject to internal monitoring. If you are not the addressee indicated in this message, you may not copy, forward, disclose, deliver or otherwise use it or any part of it in any form whatsoever. You should then kindly notify the sender by replying to this message and destroy it thereafter. Opinions, conclusions and other information in this message that do not relate to the official business of any BMW Group Company shall be understood as neither given nor endorsed by them.> >> > -------------------------------------------------------------------------> > Check out the new SourceForge.net Marketplace.> > It's the best place to buy or sell services for> > just about anything Open Source.> > http://sourceforge.net/services/buy/index.php> > _______________________________________________> > 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> >> > > > > > ------------------------------> > Message: 2> Date: Sat, 21 Jun 2008 14:37:55 -0300> From: Andr? Mac?rio Barros <and...@su...>> Subject: [Dev-C++] I?d like to know your hints about file> manipulations> To: "Lista do Dev-C++" <dev...@li...>> Message-ID: <FNE...@su...>> Content-Type: text/plain; charset="iso-8859-1"> > Dear users,> > I like this list because we can ask questions> regarding not only about Dev-cpp, like the one> that I present to you now.> > Consider the following restrictions:> -only ANSI-C commands;> -not C++;> -for file manipulation, only the following> commands: fopen(), fscanf(), fgets(),> feof(), and fclose();> > Inside this scenario, people can easly work> read and write files containing integers and floating> point numbers. Situations like names, sex (male/female),> option (yes/no), etc, can be replaced by integer codes.> > My question is:> What is your style to work with strings, i.e., names> for example: for a program that expects to read a name from> a file (with spaces, variable size, etc), do you previosly> indicate a fixed number of characters (40, for example) and> use fgets twice (to read the 40 characters and read the '\n')?> > Thanks a lot in advance> Andr?> > > > > ------------------------------> > Message: 3> Date: Sat, 21 Jun 2008 17:47:22 -0400> From: "Noel Wallen" <nw...@ny...>> Subject: [Dev-C++] Need to view execution results> To: <dev...@li...>> Message-ID: <060501c8d3e8$635e58a0$ee76494a@WAREMBLEM>> Content-Type: text/plain; charset="windows-1250"> > > Dear Forum;> I would like your help how to configure this> product so that I can see my execution results in a window> Thanks> > Noel> -----Original Message-----> From: dev...@li...> [mailto:dev...@li...] On Behalf Of> dev...@li...> Sent: Saturday, June 21, 2008 12:24 PM> To: nw...@ny...> Subject: Welcome to the "Dev-cpp-users" mailing list> > > Welcome to the Dev...@li... mailing list!> > To post to this list, send your email to:> > dev...@li...> > General information about the mailing list is at:> > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users> > If you ever want to unsubscribe or change your options (eg, switch to or> from digest mode, change your password, etc.), visit your subscription> page at:> > > https://lists.sourceforge.net/lists/options/dev-cpp-users/nwallen%40nyc.> rr.com> > > You can also make such adjustments via email by sending a message to:> > Dev...@li...> > with the word `help' in the subject or body (don't include the quotes),> and you will get back a message with instructions.> > You must know your password to change your options (including changing> the password, itself) or to unsubscribe. It is:> > redash> > Normally, Mailman will remind you of your lists.sourceforge.net mailing> list passwords once every month, although you can disable this if you> prefer. This reminder will also include instructions on how to> unsubscribe or change your account options. There is also a button on> your options page that will email your current password to you.> > Internal Virus Database is out-of-date.> Checked by AVG Free Edition. > Version: 7.5.472 / Virus Database: 269.11.2/931 - Release Date: 8/1/2007> 4:53 PM> > > Internal Virus Database is out-of-date.> Checked by AVG Free Edition. > Version: 7.5.472 / Virus Database: 269.11.2/931 - Release Date: 8/1/2007> 4:53 PM> > > > > > ------------------------------> > Message: 4> Date: Sat, 21 Jun 2008 14:51:58 -0700 (PDT)> From: Brad Woosley <c_b...@ya...>> Subject: Re: [Dev-C++] Need to view execution results> To: dev...@li..., Noel Wallen> <nw...@ny...>> Message-ID: <244...@we...>> Content-Type: text/plain; charset="us-ascii"> > There are two things that you can do, either add the line system("PAUSE"); to the end of your code, add the line cin >> temp; or something similar to make a key be hit, or launch the program from inside the computers command prompt> > _______> > > > visit utb.zoomshare.com to read my different stories that I have written. > > > > "If at first the idea is not absurd, there is no hope for it"> > -Albert Einstein> > --- On Sat, 6/21/08, Noel Wallen <nw...@ny...> wrote:> From: Noel Wallen <nw...@ny...>> Subject: [Dev-C++] Need to view execution results> To: dev...@li...> Date: Saturday, June 21, 2008, 4:47 PM> > Dear Forum;> I would like your help how to configure this> product so that I can see my execution results in a window> Thanks> > Noel> -----Original Message-----> From: dev...@li...> [mailto:dev...@li...] On Behalf Of> dev...@li...> Sent: Saturday, June 21, 2008 12:24 PM> To: nw...@ny...> Subject: Welcome to the "Dev-cpp-users" mailing list> > > Welcome to the Dev...@li... mailing list!> > To post to this list, send your email to:> > dev...@li...> > General information about the mailing list is at:> > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users> > If you ever want to unsubscribe or change your options (eg, switch to or> from digest mode, change your password, etc.), visit your subscription> page at:> > > https://lists.sourceforge.net/lists/options/dev-cpp-users/nwallen%40nyc.> rr.com> > > You can also make such adjustments via email by sending a message to:> > Dev...@li...> > with the word `help' in the subject or body (don't include the quotes),> and you will get back a message with instructions.> > You must know your password to change your options (including changing> the password, itself) or to unsubscribe. It is:> > redash> > Normally, Mailman will remind you of your lists.sourceforge.net mailing> list passwords once every month, although you can disable this if you> prefer. This reminder will also include instructions on how to> unsubscribe or change your account options. There is also a button on> your options page that will email your current password to you.> > Internal Virus Database is out-of-date.> Checked by AVG Free Edition. > Version: 7.5.472 / Virus Database: 269.11.2/931 - Release Date: 8/1/2007> 4:53 PM> > > Internal Virus Database is out-of-date.> Checked by AVG Free Edition. > Version: 7.5.472 / Virus Database: 269.11.2/931 - Release Date: 8/1/2007> 4:53 PM> > > > -------------------------------------------------------------------------> Check out the new SourceForge.net Marketplace.> It's the best place to buy or sell services for> just about anything Open Source.> http://sourceforge.net/services/buy/index.php> _______________________________________________> 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> > > > -------------- next part --------------> An HTML attachment was scrubbed...> > ------------------------------> > Message: 5> Date: Sun, 22 Jun 2008 00:53:11 -0600> From: angel dario <sci...@ho...>> Subject: [Dev-C++] C++ Sockets> To: Dev-C++ Mainling <dev...@li...>> Message-ID: <BAY...@ph...l>> Content-Type: text/plain; charset="windows-1252"> > > Hello....> > I created a simple Sockets server that's hosting on port 80.> I created an account for DynDNS and I created dynamically DNS with my computer IP address.> > When I test my server using 192.168.1.102 it works perfectly however when I test my server with > my computer IP (same as http://whatsmyip.org/ which is the same as DynDNS DNS) it doesn't work.> > When I try to create a socket with my computer Ip (http://whatsmyip.org/), it doesn't even work. It give me this error:> > WSAEADDRNOTAVAIL10049> > > Cannot assign requested address. > > The requested address is not valid in its context. This normally results from an attempt to bind to an address that is not valid for the local computer. This can also result from connect, sendto, WSAConnect, WSAJoinLeaf, or WSASendTo when the remote address or port is not valid for a remote computer (for example, address or port 0).> Can someone help me on how can I host my C++ server using my own computer ip (http://whatsmyip.org/).?> _________________________________________________________________> The i?m Talkathon starts 6/24/08.? For now, give amongst yourselves.> http://www.imtalkathon.com?source=TXT_EML_WLH_LearnMore_GiveAmongst> -------------- next part --------------> An HTML attachment was scrubbed...> > ------------------------------> > Message: 6> Date: Sun, 22 Jun 2008 08:17:03 -0600> From: angel dario <sci...@ho...>> Subject: Re: [Dev-C++] C++ Sockets> To: Dev-C++ Mainling <dev...@li...>> Message-ID: <BAY...@ph...l>> Content-Type: text/plain; charset="iso-8859-1"> > Thanks for the reply......I'll search for (tracert) on google and see what's that about... First time I hear it. Yes, I am connected through a router (Linksys) and I already set it up with DynDNS so that whenever I type my DNS the router looks for my computer (only my real IP Address). Also, I have this program called (DynDNS updater) that I downloaded from DynDNS website which automatically sets my dynamic IP (EX: 192.167.1.102) with my DNS. My question is: is it possible to create a Socket Server using my real Computer IP Address (http://whatsmyip.org/)?or do I have to set my router to look for my dynamic IP (192.167.1.102) whenever I request my DNS or Real IP Address?> _________________________________________________________________> Introducing Live Search cashback . It's search that pays you back!> http://search.live.com/cashback/?&pkw=form=MIJAAF/publ=HMTGL/crea=introsrchcashback> -------------- next part --------------> An HTML attachment was scrubbed...> > ------------------------------> > -------------------------------------------------------------------------> Check out the new SourceForge.net Marketplace.> It's the best place to buy or sell services for> just about anything Open Source.> http://sourceforge.net/services/buy/index.php> > ------------------------------> > _______________________________________________> 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> > > End of Dev-cpp-users Digest, Vol 25, Issue 5> ******************************************** _________________________________________________________________ The other season of giving begins 6/24/08. Check out the i’m Talkathon. http://www.imtalkathon.com?source=TXT_EML_WLH_SeasonOfGiving |