dev-cpp-users Mailing List for Dev-C++ (Page 22)
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: Derek C. <de...@ci...> - 2008-12-05 16:30:37
|
In C++ the only difference between a struct and a class is that in a class the default access is private whereas in a struct it is public. in all other aspects they are the same. On Fri, Dec 5, 2008 at 12:43 PM, Andre Macario Barros <and...@su...> wrote: > Dear users, > > When we need to develop a OO app, one way is to create > classes, with attributes and methods. After this we instanciate > the class in our program, as it is, or with some specialization. > > Thinking only about ANSI-C, we can create structs with the > usual fields (attributes), but we can associate functions inside > the struct too. After this operation, putting this struct definition > in a .h file, we can make a variable declaration defining it as > a struct type (the one created in the .h file). > > In this scenario, disconsidering the protected/public/private > features, please talk to me abou what a OO app can > do that a struct like .c program can´t. > > Regards > Andre > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > 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: Andre M. B. <and...@su...> - 2008-12-05 13:05:42
|
Dear users, When we need to develop a OO app, one way is to create classes, with attributes and methods. After this we instanciate the class in our program, as it is, or with some specialization. Thinking only about ANSI-C, we can create structs with the usual fields (attributes), but we can associate functions inside the struct too. After this operation, putting this struct definition in a .h file, we can make a variable declaration defining it as a struct type (the one created in the .h file). In this scenario, disconsidering the protected/public/private features, please talk to me abou what a OO app can do that a struct like .c program can´t. Regards Andre |
From: matheus r. <mfr...@gm...> - 2008-12-04 19:18:24
|
Hi there is a pthread for windows: http://sourceware.org/pthreads-win32/ About the socket, there is a socket library for windows too. Check this tutorial: http://beej.us/guide/bgnet/ hope it helps 2008/12/4 Kanito 73 <kan...@ho...> > Hello list > > I have a library developed in C++ with GNU C++ (Linux) and want to port it > to Windows. In the earlier versions tried using Visual C++ and was a bit > difficult to maintain since some OS and hardware dependent functions were > quite different or unavailable. > > In particular I had to modify my threads and sockets code for windows and > create some kind of simple MUTEX_LOCK for multithreading, so aparently for > the programmer it was enough to call the library functions in the same way > under Linux and Windows, but was hard to maintain both versions so the > windows version was deprecated and continued working on the *NIX version > only. > > Recently I found dev-c++ and that it is based on the GNU C++ compiler and > it atracted my attention again, most of my code works 100% without changes > except the threads and sockets code that has no available functions in the > included libraries. > > My question is if it is possible in some way to integrate *NIX socket > support (socket, inet_addr, gethostbyname, etc) with dev-c++ and it would be > nice to have some kind of pthreads support maybe by adding an extra module > or library. > > Any coment or help on this? > > > Thanks, > Miguel > > > ------------------------------ > Explore the seven wonders of the world Learn more!<http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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: Kanito 73 <kan...@ho...> - 2008-12-04 18:54:22
|
Hello list I have a library developed in C++ with GNU C++ (Linux) and want to port it to Windows. In the earlier versions tried using Visual C++ and was a bit difficult to maintain since some OS and hardware dependent functions were quite different or unavailable. In particular I had to modify my threads and sockets code for windows and create some kind of simple MUTEX_LOCK for multithreading, so aparently for the programmer it was enough to call the library functions in the same way under Linux and Windows, but was hard to maintain both versions so the windows version was deprecated and continued working on the *NIX version only. Recently I found dev-c++ and that it is based on the GNU C++ compiler and it atracted my attention again, most of my code works 100% without changes except the threads and sockets code that has no available functions in the included libraries. My question is if it is possible in some way to integrate *NIX socket support (socket, inet_addr, gethostbyname, etc) with dev-c++ and it would be nice to have some kind of pthreads support maybe by adding an extra module or library. Any coment or help on this? Thanks, Miguel _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE |
From: hhh h. <the...@ho...> - 2008-11-25 15:03:04
|
Hello everyone, I, once again, need your help :D This time, my question is related with the GCC... Well, I am in the process of writting a simple freestanding application, and I wish to have access to a small part of the C library, to be used with a hosted application. I have found, by googling, that I can either write myself the subset I require, or port a free one, already existing. To save time I have decided to port a existing one, however before I start doing so, the design of the API has to be decided... This left me with some questions... Ex : With the GCC, how can I define a target? I can compile PE, COFF, ELF .... how can I compile "insert_my_format_here" ? Is there a way to define my target, and compile it? Please advice. Frederico Marques _________________________________________________________________ Cansado de espaço para só 50 fotos? Conheça o Spaces, o site de relacionamentos com até 6,000 fotos! http://www.amigosdomessenger.com.br |
From: Deepesh K. <dee...@gm...> - 2008-11-21 08:54:38
|
Hello ppl, I have just upgraded Dev-c++ to version 4.9.9.2...But i have a problem Iam not able to convert an int to char in a stack of type char... stack<char> s; int dData; while(dData!=13) { dData = getche(); if(dData==8) s.pop(char(dData)); else s.push(char(dData)); } However this was working fine in Dev-c++ version 4...but does not work in dev-c++ version 4.9.9.2 I get the error: "no matching function for call to 'stack<char>::pop(char)' " PLiz help guys... Cheers... -- ---Deepesh Kapadia--- |
From: Per W. <pw...@ia...> - 2008-11-12 17:01:03
|
There are two separate installations of Dev-C++. One with just the IDE - i.e. the editor. And another installation that contains both the IDE and the MinGW compiler. Have you selected the full installation file, so you have any compiler to use? /pwm On Tue, 11 Nov 2008, Davain Davis wrote: > I am new to programming. I have studied c++ and am trying to create games. I am formiliar with allegro and haven't started to use it yet. Im simply just practicing my c++ skills for now... I have dev-c++ 4.9.9.2 and i am having some problems with it. It is asking me to make sure i have "make file" in my bin. And im not able to compile anything could u help me > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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: Davain D. <sty...@ya...> - 2008-11-12 02:28:06
|
I am new to programming. I have studied c++ and am trying to create games. I am formiliar with allegro and haven't started to use it yet. Im simply just practicing my c++ skills for now... I have dev-c++ 4.9.9.2 and i am having some problems with it. It is asking me to make sure i have "make file" in my bin. And im not able to compile anything could u help me |
From: Michal M. <mi...@mo...> - 2008-11-10 19:17:12
|
Geraldo de Bem napsal(a): > Good morning, > > Have Dev-C++ 4.9.9.2 and it works fine. > > Installed on it the Allegro 4.2.2 graphic library. how? from the sources ? if so, than did you "mingw32-make install" ? > > Doesn't compile or links even the demo programs (C:\Dev-Cpp\allegro\demo). > > Guess has something to do with "Add the following commands when calling > compiler" and/or "Add these commands to the linker command line". Project\Project Options\Parameters tab and in the Linker textbox add -lalleg |
From: Geraldo de B. <gd...@la...> - 2008-10-30 23:09:47
|
Good morning, Have Dev-C++ 4.9.9.2 and it works fine. Installed on it the Allegro 4.2.2 graphic library. Doesn't compile or links even the demo programs (C:\Dev-Cpp\allegro\demo). Guess has something to do with "Add the following commands when calling compiler" and/or "Add these commands to the linker command line". Would like to hear the advice from someone who actually succeeded making an exe from Allegro and Dev-C++. Best, Geraldo |
From: Per W. <pw...@ia...> - 2008-10-29 15:41:12
|
First of all, the question is if MinGW can be used to write an Excel plugin. Dev-C++ is just an IDE. MinGW is the compiler. But a more important question is what you want to solve, and why you think a plugin written using MinGW is the way to reach your goal. /pwm On Wed, 29 Oct 2008, John Nolan wrote: > > Is it possible to make an Excel add-on with Dev-C++? > If so, a link to an example would be helpful. > > Thanks, John |
From: John N. <jp...@am...> - 2008-10-29 13:52:08
|
Is it possible to make an Excel add-on with Dev-C++? If so, a link to an example would be helpful. Thanks, John |
From: Per W. <pw...@ia...> - 2008-10-28 23:03:57
|
Don't know if that is possible to correct with the SourceForge system. It could have been worse. A couple of years ago, a Spanish ISP decided to send out auto-responses for any list mail, with the request that the list - and all posters to the list - had to register with their mail service to not be considered spam. They could not understand why I called their mails spam... /pwm On Tue, 28 Oct 2008, Jai Nayak wrote: > So sweet. Admin, kindly ensure that auto-replies to this list are banned. > > On Sun, Oct 26, 2008 at 8:14 AM, <an...@in...> wrote: > > > Dear Sir/Madam, > > I have received your mail, and I am on vacation, i > > will contact you as soon as possible. > > > > > > > > > > > > > > > > > > > > > > Thanks & Regards > > > > Anjan Das. > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > 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: Jai N. <jai...@gm...> - 2008-10-28 20:23:11
|
So sweet. Admin, kindly ensure that auto-replies to this list are banned. On Sun, Oct 26, 2008 at 8:14 AM, <an...@in...> wrote: > Dear Sir/Madam, > I have received your mail, and I am on vacation, i > will contact you as soon as possible. > > > > > > > > > > > Thanks & Regards > > Anjan Das. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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: Volkan G. <vol...@gm...> - 2008-10-26 15:02:49
|
Hello, I have just subscribed to your mailing list. When I try to compile a code with the last version of dev cpp it shows me an error message: Dev-C++ - [Build *Error*] [*main.o*] *Error* 1 Compiler: Default compiler Building Makefile: "C:\Dev-Cpp\Current_Project\Makefile.win" Executing make... make.exe -f "C:\Dev-Cpp\Current_Project\Makefile.win" all g++.exe -D__DEBUG__ -c main.cpp -o *main.o* -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -pg -g3 The system cannot find the path specified. make.exe: *** [main.o] *Error* 1 Execution terminated How can i correct this. Thank you... -- En İyi Dileklerimle... Volkan Gezer vol...@gm... http://wakeup.icr38.net |
From: <an...@in...> - 2008-10-26 12:22:49
|
Dear Sir/Madam,<br> I have received your mail, and I am on vacation, i will contact you as soon as possible.<br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br>Thanks & Regards <br> <br>Anjan Das.<br> |
From: Per W. <pw...@ia...> - 2008-10-25 22:24:09
|
MinGW documentation can be reached from: http://www.mingw.org/wiki/HOWTO Compiler and library manuals: http://gcc.gnu.org/onlinedocs/ But if you are looking for specific documentation, then you really have to be more specific in your request. /pwm On Sat, 25 Oct 2008, Christian Strubel wrote: > What is the exact link to the documentation for using the > compiler that comes with Dev C++? > I already did some looking, but I couldn't find it. > > Thanks in advance! > > Sincerely, > > -- > Mr. Christian Strubel > cws...@gm... > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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: Christian S. <cws...@gm...> - 2008-10-25 12:00:48
|
What is the exact link to the documentation for using the compiler that comes with Dev C++? I already did some looking, but I couldn't find it. Thanks in advance! Sincerely, -- Mr. Christian Strubel cws...@gm... |
From: Per W. <pw...@ia...> - 2008-10-23 13:06:09
|
You ask the question "Does this problem need the "C++ feature" to solve or could just be done with C or C/C++ hybrid?" and get angry that people on the list doesn't answers the question. Of course you can count symbols using C or using C++ objects or anything in between. The original problem is trivial and most batch script languages can even be used to solve it. But only the original poster can possibly know exactly what language choices his professor expects to receive the solution in. Or are you saying that you "Eric" is the same person as "Fernando Lichtschein"? /pwm On Fri, 24 Oct 2008, Eric wrote: > IT DOES NOT MATTER ANY MORE, I DONT NEED TO KNOW ANYTHING FROM THIS GROUP > > > INTERESTING HOW THERE IS A TEACHER IN THE GROUP, I TAKE IT HE DOES NOT NOT > TEACH C++ > > > ----- Original Message ----- > > Sent: Wednesday, October 22, 2008 6:12 AM > Subject: Re: [Dev-C++] help > > > Does this problem need the "C++ feature" to solve or could just be done with > C or C/C++ hybrid? > it seem to me you omly need C or C/C++ hybrid, and classes would only > confuse the issue. > > > > >From Eric > > > ----- Original Message ----- > From: Fernando Lichtschein <fer...@gm...> > To: Dev-C++ Mailing <Dev...@li...> > Sent: Sunday, October 19, 2008 11:40 AM > Subject: Re: [Dev-C++] help > > > On Sat, Oct 18, 2008 at 5:24 PM, Fernando Lichtschein > <fer...@gm...> wrote: > > > > Dear Whatever is your name (you did not sign), > > > > If you read carefully and look at the example, what the professor meant > with "symbol" is actually a "character". > > > > Try reading the characters one by one from the input string and comparing > them with a list of previously read characters (how you store them is up to > you, maybe another string). If it is not there, it is a new symbol, add it > to the string and increment the symbol ocunt. > > > > If it is, you already counted it, move on. > > > > Have fun (I am also a teacher, so I am not going to solve it for you, you > can do it). > > > > Best regards, > > > > Fernando > > > > 2008/10/18 7amood joker <sou...@ho...> > >> > >> hi....i really need help .....i have an assighnment > >> in c++ ; > >> > >> > >> the professor wants me to write a program which counts the symbols of a > >> string.... here is the question.... > >> > >> > >> > >> > >> A string is any combination of > >> blanks, letters, digits and/or special characters. > >> > >> Write a C++ program to calculate and print the number of different > >> symbols used in a given string. A blank space counts as one symbol. > >> > >> Input: Any string. The length is limited to 60 characters. For > >> example: > >> > >> Enter a string: Mississipi > >> > >> Test data: > >> #1. "Say good bye!" > >> #2. "The world is > >> round" > >> > >> Output: The number of different symbols. For example, the output for the > >> string "Mississipi" is > >> > >> Number of symbols for the string "Mississippi" is: 4 > > >> The contents of this Email and any files transmitted with it are not > >> confidential and intended for the use of the individual or entity to > >> whom this Email is addressed to. The views stated herein do not > necessarily > >> represent the view of myself been in sound mind and body it the time I > >> composed this Email. I knew what I was doing when I selected your Email > >> address, so you are the intended recipient of this Email, GET A GRIP!!! > >> don't procrastinate with endless excuses. You may copy, forward, > >> disclose, print, delete it or otherwise use it or any part of it, in any > >> form you can think of. After you have received this mail please feel > >> free to Email the sender (me) with a personnel Email anytime, but NOT > >> black text on white background HTML format. if you been the sender > >> intend to send me a Email in HTML format, please add some living color > >> to compensate the slightly wasted internet bandwidth, longer download > >> time and wasted space of my hard drive as if I decide to save that Email > >> (only for archive purposes), due to the fact that HTML Emails are two > >> and half times bigger than the same Email content posted in plain text > >> format. If you been the sender decide to send me been the receiver a > >> attachment file larger than 200Kb in file size please give me prior > >> courtesy to ask if I would like to receive it, as I been the receiver > >> have a slow dial up connection speed and often other members of the > >> household want to use the phone only when I go on Internet. > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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 > > > -- > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.549 / Virus Database: 270.8.2/1735 - Release Date: 20-Oct-08 > 14:52 > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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: Eric <eri...@wo...> - 2008-10-23 11:20:17
|
IT DOES NOT MATTER ANY MORE, I DONT NEED TO KNOW ANYTHING FROM THIS GROUP INTERESTING HOW THERE IS A TEACHER IN THE GROUP, I TAKE IT HE DOES NOT NOT TEACH C++ ----- Original Message ----- Sent: Wednesday, October 22, 2008 6:12 AM Subject: Re: [Dev-C++] help Does this problem need the "C++ feature" to solve or could just be done with C or C/C++ hybrid? it seem to me you omly need C or C/C++ hybrid, and classes would only confuse the issue. >From Eric ----- Original Message ----- From: Fernando Lichtschein <fer...@gm...> To: Dev-C++ Mailing <Dev...@li...> Sent: Sunday, October 19, 2008 11:40 AM Subject: Re: [Dev-C++] help On Sat, Oct 18, 2008 at 5:24 PM, Fernando Lichtschein <fer...@gm...> wrote: > > Dear Whatever is your name (you did not sign), > > If you read carefully and look at the example, what the professor meant with "symbol" is actually a "character". > > Try reading the characters one by one from the input string and comparing them with a list of previously read characters (how you store them is up to you, maybe another string). If it is not there, it is a new symbol, add it to the string and increment the symbol ocunt. > > If it is, you already counted it, move on. > > Have fun (I am also a teacher, so I am not going to solve it for you, you can do it). > > Best regards, > > Fernando > > 2008/10/18 7amood joker <sou...@ho...> >> >> hi....i really need help .....i have an assighnment >> in c++ ; >> >> >> the professor wants me to write a program which counts the symbols of a >> string.... here is the question.... >> >> >> >> >> A string is any combination of >> blanks, letters, digits and/or special characters. >> >> Write a C++ program to calculate and print the number of different >> symbols used in a given string. A blank space counts as one symbol. >> >> Input: Any string. The length is limited to 60 characters. For >> example: >> >> Enter a string: Mississipi >> >> Test data: >> #1. "Say good bye!" >> #2. "The world is >> round" >> >> Output: The number of different symbols. For example, the output for the >> string "Mississipi" is >> >> Number of symbols for the string "Mississippi" is: 4 >> The contents of this Email and any files transmitted with it are not >> confidential and intended for the use of the individual or entity to >> whom this Email is addressed to. The views stated herein do not necessarily >> represent the view of myself been in sound mind and body it the time I >> composed this Email. I knew what I was doing when I selected your Email >> address, so you are the intended recipient of this Email, GET A GRIP!!! >> don't procrastinate with endless excuses. You may copy, forward, >> disclose, print, delete it or otherwise use it or any part of it, in any >> form you can think of. After you have received this mail please feel >> free to Email the sender (me) with a personnel Email anytime, but NOT >> black text on white background HTML format. if you been the sender >> intend to send me a Email in HTML format, please add some living color >> to compensate the slightly wasted internet bandwidth, longer download >> time and wasted space of my hard drive as if I decide to save that Email >> (only for archive purposes), due to the fact that HTML Emails are two >> and half times bigger than the same Email content posted in plain text >> format. If you been the sender decide to send me been the receiver a >> attachment file larger than 200Kb in file size please give me prior >> courtesy to ask if I would like to receive it, as I been the receiver >> have a slow dial up connection speed and often other members of the >> household want to use the phone only when I go on Internet. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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 -- No virus found in this incoming message. Checked by AVG. Version: 7.5.549 / Virus Database: 270.8.2/1735 - Release Date: 20-Oct-08 14:52 |
From: Per W. <pw...@ia...> - 2008-10-23 06:19:24
|
If you want to find faults with this list, you should instead note that Dev-C++ is a dead product, and that most people are using Code::Blocks or similar instead. Compare number of posts on this list now, and maybe five-six years ago. Last month had 18 posts. September 2002 had 362 posts. All-time high was 597 posts in October 2002. People with interesting questions normally ask them on other forums/lists, while a large percentage of the remaining posts to this forum really do represent attempts to cheat on school work with the same question dropped off to a large number of forums/lists just to find someone who is ready (stuid enough) to give a "turn-key" answer. With 15 pots/day, it is meaningful to spend the time to write good and complete answers since there will be many who may read the answer. With one post/day, the incentive to spend the time has dropped quite a lot. /pwm On Thu, 23 Oct 2008, Eric wrote: > This group reminds me of the Java forum > everyone says how they pass with 90%+ > you ask them a basic question and nobody knows > > > > ----- Original Message ----- > From: Per Westermark <pw...@ia...> > To: Eric <er...@du...> > Cc: <dev...@li...> > Sent: Thursday, October 23, 2008 6:33 PM > Subject: Re: [Dev-C++] How to test methods with system calls > > > The simplest questions to this list is normally school work that shouldn't > really be answered... The last one was just days ago by someone who didn't > understod the "me" of "the professor wants me to write a program [...]" > > read(2) and write(2) do not normally fail unexpectedly. > > Note that they may return with EINTR or EAGAIN (depending on what OS) > requiring them to be restarted. This isn't an error, but a result of how > signaling is designed, i.e. to allow a process to immediately respond to a > signal instead of being stuck waiting for input/output. > > You would normally create a small loop to repeatedly restart the > read/write if it returns -1 and errno is EAGAIN or EINTR. If you have > signal handlers that sets flag, then you may have to take a peek at these > flags before restarting the operation - for example if your process has > received a signal that it should end, or reopen any log files or reload > configuration... > > Function calls that does not have a timeout are often used together with > alarm() to get a SIGALRM after the intended timeout, in case no data is > available. > > You may also get these functions to "fail" by manually using the kill or > killall commands and send signals to the application. > > With the exception of EIO, all other errors can be produced by sending > incorrect parameters to read()/write() or by manipulating the target that > fd references, such as by closing the other end of a pipe, limiting the > amount of disk space available, ... > > /pwm > > On Thu, 23 Oct 2008, Eric wrote: > > > GOOD QUESTION > > BUT THIS GROUP CAN NOT EVEN ASWER SIMPLE QUESTIONS > > > > > > > > > > > > > > > > ----- Original Message ----- > > From: Hiroyuki Yamada <yam...@gm...> > > To: <Dev...@li...> > > Sent: Thursday, October 23, 2008 1:35 AM > > Subject: [Dev-C++] How to test methods with system calls > > > > > > I'm testing some c++ programs having some methods with system calls, which > > are like write(2) and read(2). > > (I use googletest for the test.) > > > > Those write(2) and read(2) can fail for some reason, but > > it's not predicable, so I'm wondering how I can test error handling codes > > for errors by those system calls. > > > > Is there any way I can simulate those system call' errors without > > modification in source code ? > > How do you usually test those ? > > > > Thanks in advance, > > > > Hiroyuki > > > > *********************************************************** > > PLEASE READ: > > > > The contents of this Email and if any files transmitted with it are not > > confidential and intended for the use of the individual or entity to whom > > this Email is addressed. The views stated herein do not necessarily > > represent the view of myself been in sound mind and body & non intoxicated > > at the time I composed this Email. I knew what I was doing when I selected > > your Email address, so YOU are the correct intended recipient of this > Email, > > you did NOT receive this email in error, GET A GRIP!!! don't procrastinate > > with endless excuses. You may copy, forward, disclose, print, delete it or > > otherwise use it or any part of it, in any > > form you can think of. > > After you have received this mail please feel free to Email the sender > (me) > > with a personnel Email anytime, but NOT black text on white background > HTML > > format. if you been the sender > > intend to send me a Email in HTML format, please add some living color to > > compensate the slightly wasted internet bandwidth, longer download time > and > > wasted space of my hard drive as if I decide to save that Email (only for > > archive purposes), due to the fact that HTML Emails are two and half times > > bigger than the same Email content posted in plain text > > format. > > If you been the sender decide to send me been the receiver a attachment > file > > larger than 200Kb in file size please give me prior courtesy to ask if I > > would like to receive it, as I been the receiver have a slow dial up > > connection speed and often other members of the > > household want to use the phone only when I go on Internet. > > *********************************************************** > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > 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 > > > > > > > -- > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.549 / Virus Database: 270.8.2/1740 - Release Date: 22-Oct-08 > 19:24 > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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: Per W. <pw...@ia...> - 2008-10-23 06:03:24
|
The simplest questions to this list is normally school work that shouldn't really be answered... The last one was just days ago by someone who didn't understod the "me" of "the professor wants me to write a program [...]" read(2) and write(2) do not normally fail unexpectedly. Note that they may return with EINTR or EAGAIN (depending on what OS) requiring them to be restarted. This isn't an error, but a result of how signaling is designed, i.e. to allow a process to immediately respond to a signal instead of being stuck waiting for input/output. You would normally create a small loop to repeatedly restart the read/write if it returns -1 and errno is EAGAIN or EINTR. If you have signal handlers that sets flag, then you may have to take a peek at these flags before restarting the operation - for example if your process has received a signal that it should end, or reopen any log files or reload configuration... Function calls that does not have a timeout are often used together with alarm() to get a SIGALRM after the intended timeout, in case no data is available. You may also get these functions to "fail" by manually using the kill or killall commands and send signals to the application. With the exception of EIO, all other errors can be produced by sending incorrect parameters to read()/write() or by manipulating the target that fd references, such as by closing the other end of a pipe, limiting the amount of disk space available, ... /pwm On Thu, 23 Oct 2008, Eric wrote: > GOOD QUESTION > BUT THIS GROUP CAN NOT EVEN ASWER SIMPLE QUESTIONS > > > > > > > > ----- Original Message ----- > From: Hiroyuki Yamada <yam...@gm...> > To: <Dev...@li...> > Sent: Thursday, October 23, 2008 1:35 AM > Subject: [Dev-C++] How to test methods with system calls > > > I'm testing some c++ programs having some methods with system calls, which > are like write(2) and read(2). > (I use googletest for the test.) > > Those write(2) and read(2) can fail for some reason, but > it's not predicable, so I'm wondering how I can test error handling codes > for errors by those system calls. > > Is there any way I can simulate those system call' errors without > modification in source code ? > How do you usually test those ? > > Thanks in advance, > > Hiroyuki > > *********************************************************** > PLEASE READ: > > The contents of this Email and if any files transmitted with it are not > confidential and intended for the use of the individual or entity to whom > this Email is addressed. The views stated herein do not necessarily > represent the view of myself been in sound mind and body & non intoxicated > at the time I composed this Email. I knew what I was doing when I selected > your Email address, so YOU are the correct intended recipient of this Email, > you did NOT receive this email in error, GET A GRIP!!! don't procrastinate > with endless excuses. You may copy, forward, disclose, print, delete it or > otherwise use it or any part of it, in any > form you can think of. > After you have received this mail please feel free to Email the sender (me) > with a personnel Email anytime, but NOT black text on white background HTML > format. if you been the sender > intend to send me a Email in HTML format, please add some living color to > compensate the slightly wasted internet bandwidth, longer download time and > wasted space of my hard drive as if I decide to save that Email (only for > archive purposes), due to the fact that HTML Emails are two and half times > bigger than the same Email content posted in plain text > format. > If you been the sender decide to send me been the receiver a attachment file > larger than 200Kb in file size please give me prior courtesy to ask if I > would like to receive it, as I been the receiver have a slow dial up > connection speed and often other members of the > household want to use the phone only when I go on Internet. > *********************************************************** > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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: Eric <eri...@wo...> - 2008-10-23 05:40:39
|
This group reminds me of the Java forum everyone says how they pass with 90%+ you ask them a basic question and nobody knows ----- Original Message ----- From: Per Westermark <pw...@ia...> To: Eric <er...@du...> Cc: <dev...@li...> Sent: Thursday, October 23, 2008 6:33 PM Subject: Re: [Dev-C++] How to test methods with system calls The simplest questions to this list is normally school work that shouldn't really be answered... The last one was just days ago by someone who didn't understod the "me" of "the professor wants me to write a program [...]" read(2) and write(2) do not normally fail unexpectedly. Note that they may return with EINTR or EAGAIN (depending on what OS) requiring them to be restarted. This isn't an error, but a result of how signaling is designed, i.e. to allow a process to immediately respond to a signal instead of being stuck waiting for input/output. You would normally create a small loop to repeatedly restart the read/write if it returns -1 and errno is EAGAIN or EINTR. If you have signal handlers that sets flag, then you may have to take a peek at these flags before restarting the operation - for example if your process has received a signal that it should end, or reopen any log files or reload configuration... Function calls that does not have a timeout are often used together with alarm() to get a SIGALRM after the intended timeout, in case no data is available. You may also get these functions to "fail" by manually using the kill or killall commands and send signals to the application. With the exception of EIO, all other errors can be produced by sending incorrect parameters to read()/write() or by manipulating the target that fd references, such as by closing the other end of a pipe, limiting the amount of disk space available, ... /pwm On Thu, 23 Oct 2008, Eric wrote: > GOOD QUESTION > BUT THIS GROUP CAN NOT EVEN ASWER SIMPLE QUESTIONS > > > > > > > > ----- Original Message ----- > From: Hiroyuki Yamada <yam...@gm...> > To: <Dev...@li...> > Sent: Thursday, October 23, 2008 1:35 AM > Subject: [Dev-C++] How to test methods with system calls > > > I'm testing some c++ programs having some methods with system calls, which > are like write(2) and read(2). > (I use googletest for the test.) > > Those write(2) and read(2) can fail for some reason, but > it's not predicable, so I'm wondering how I can test error handling codes > for errors by those system calls. > > Is there any way I can simulate those system call' errors without > modification in source code ? > How do you usually test those ? > > Thanks in advance, > > Hiroyuki > > *********************************************************** > PLEASE READ: > > The contents of this Email and if any files transmitted with it are not > confidential and intended for the use of the individual or entity to whom > this Email is addressed. The views stated herein do not necessarily > represent the view of myself been in sound mind and body & non intoxicated > at the time I composed this Email. I knew what I was doing when I selected > your Email address, so YOU are the correct intended recipient of this Email, > you did NOT receive this email in error, GET A GRIP!!! don't procrastinate > with endless excuses. You may copy, forward, disclose, print, delete it or > otherwise use it or any part of it, in any > form you can think of. > After you have received this mail please feel free to Email the sender (me) > with a personnel Email anytime, but NOT black text on white background HTML > format. if you been the sender > intend to send me a Email in HTML format, please add some living color to > compensate the slightly wasted internet bandwidth, longer download time and > wasted space of my hard drive as if I decide to save that Email (only for > archive purposes), due to the fact that HTML Emails are two and half times > bigger than the same Email content posted in plain text > format. > If you been the sender decide to send me been the receiver a attachment file > larger than 200Kb in file size please give me prior courtesy to ask if I > would like to receive it, as I been the receiver have a slow dial up > connection speed and often other members of the > household want to use the phone only when I go on Internet. > *********************************************************** > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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 > -- No virus found in this incoming message. Checked by AVG. Version: 7.5.549 / Virus Database: 270.8.2/1740 - Release Date: 22-Oct-08 19:24 |
From: Eric <eri...@wo...> - 2008-10-22 16:00:59
|
GOOD QUESTION BUT THIS GROUP CAN NOT EVEN ASWER SIMPLE QUESTIONS ----- Original Message ----- From: Hiroyuki Yamada <yam...@gm...> To: <Dev...@li...> Sent: Thursday, October 23, 2008 1:35 AM Subject: [Dev-C++] How to test methods with system calls I'm testing some c++ programs having some methods with system calls, which are like write(2) and read(2). (I use googletest for the test.) Those write(2) and read(2) can fail for some reason, but it's not predicable, so I'm wondering how I can test error handling codes for errors by those system calls. Is there any way I can simulate those system call' errors without modification in source code ? How do you usually test those ? Thanks in advance, Hiroyuki *********************************************************** PLEASE READ: The contents of this Email and if any files transmitted with it are not confidential and intended for the use of the individual or entity to whom this Email is addressed. The views stated herein do not necessarily represent the view of myself been in sound mind and body & non intoxicated at the time I composed this Email. I knew what I was doing when I selected your Email address, so YOU are the correct intended recipient of this Email, you did NOT receive this email in error, GET A GRIP!!! don't procrastinate with endless excuses. You may copy, forward, disclose, print, delete it or otherwise use it or any part of it, in any form you can think of. After you have received this mail please feel free to Email the sender (me) with a personnel Email anytime, but NOT black text on white background HTML format. if you been the sender intend to send me a Email in HTML format, please add some living color to compensate the slightly wasted internet bandwidth, longer download time and wasted space of my hard drive as if I decide to save that Email (only for archive purposes), due to the fact that HTML Emails are two and half times bigger than the same Email content posted in plain text format. If you been the sender decide to send me been the receiver a attachment file larger than 200Kb in file size please give me prior courtesy to ask if I would like to receive it, as I been the receiver have a slow dial up connection speed and often other members of the household want to use the phone only when I go on Internet. *********************************************************** |
From: Hiroyuki Y. <yam...@gm...> - 2008-10-22 12:35:26
|
I'm testing some c++ programs having some methods with system calls, which are like write(2) and read(2). (I use googletest for the test.) Those write(2) and read(2) can fail for some reason, but it's not predicable, so I'm wondering how I can test error handling codes for errors by those system calls. Is there any way I can simulate those system call' errors without modification in source code ? How do you usually test those ? Thanks in advance, Hiroyuki |