dev-cpp-users Mailing List for Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
1
|
2
|
3
|
4
|
|
5
(1) |
6
|
7
|
8
|
9
(1) |
10
|
11
|
|
12
(2) |
13
|
14
|
15
(1) |
16
|
17
|
18
(3) |
|
19
|
20
|
21
(1) |
22
(2) |
23
(5) |
24
|
25
(2) |
|
26
(2) |
27
|
28
(2) |
29
(2) |
30
(1) |
31
|
|
|
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 |
|
From: Eric <eri...@wo...> - 2008-10-21 17:13:21
|
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. |
|
From: Fernando L. <fer...@gm...> - 2008-10-18 22:40:26
|
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 >> >> >> >> >> >> >> THIS IS THE QUESTION ...SOO PLZZZZZ IF ANYYONE HERE KNOWS THE ANSWER >> JUST MSG IT TO ME .....AND HERE IS MY HOTMAIL ADDRES..U CAN SEND THE >> PROGRAM TO ME ..SOU...@HO... >> >> ________________________________ >> Discover the new Windows Vista Learn more! >> ------------------------------------------------------------------------- >> 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: Philip B. <ph...@bl...> - 2008-10-18 21:10:18
|
Hello there. I doubt that anyone on this list is going to write the program and send it to you... That would completely defeat the point of a "school assignment". However, I'll be glad to give you some pointers in the right direction so that you can then try to write the program based on that information. Let us assume that the number of possible characters is 128. If you think of a character in the string as a number (which is what it really is), a number from 0 to 127, an easy approach would be to create an array of ints to hold the number of times that the particular symbol has so far occured. To give a quick example... int my_array[128]; for int i=0; i<strlen(my_string); i++) my_array[my_string[i]]+=1; Then after you've looped through the entire string and incremented the corresponding array entry for each character that appears in the string, you can simply loop through it again and print out the results. Of course, you don't want to print out the ones that are 0. Hope this clears things up a bit. If not, feel free to ask again and I will try to explain it further. Regards Philip Bennefall ----- Original Message ----- From: 7amood joker To: dev...@li... Sent: Saturday, October 18, 2008 9:25 PM Subject: [Dev-C++] help 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 THIS IS THE QUESTION ...SOO PLZZZZZ IF ANYYONE HERE KNOWS THE ANSWER JUST MSG IT TO ME .....AND HERE IS MY HOTMAIL ADDRES..U CAN SEND THE PROGRAM TO ME ..SOU...@HO... ------------------------------------------------------------------------------ Discover the new Windows Vista Learn more! ------------------------------------------------------------------------------ ------------------------------------------------------------------------- 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: 7amood j. <sou...@ho...> - 2008-10-18 19:25:55
|
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 THIS IS THE QUESTION ...SOO PLZZZZZ IF ANYYONE HERE KNOWS THE ANSWER JUST MSG IT TO ME .....AND HERE IS MY HOTMAIL ADDRES..U CAN SEND THE PROGRAM TO ME ..SOU...@HO... _________________________________________________________________ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE |
|
From: João M. R. S. T. <ta...@fe...> - 2008-10-15 18:10:18
|
---------------------------------------------------------------------------- ------------------------------------------------------- (Apologies for cross-posting) International ECCOMAS Thematic Conference VipIMAGE 2009 - II ECCOMAS THEMATIC CONFERENCE ON COMPUTATIONAL VISION AND MEDICAL IMAGE PROCESSING 21-23th October 2009, FEUP, Porto, Portugal www.fe.up.pt/~vipimage FIRST ANNOUNCE We would appreciate if you could distribute this information by your colleagues and co-workers. ---------------------------------------------------------------------------- ------------------------------------------------------- Dear Colleague, We are glad to announce the International Conference VipIMAGE 2009 - II ECCOMAS THEMATIC CONFERENCE ON COMPUTATIONAL VISION AND MEDICAL IMAGE PROCESSING will be held in the Faculty of Engineering of University of Porto, Porto, Portugal, on October 21-23, 2009. Possible Topics (not limited to) Image Processing and Analysis Segmentation, Tracking and Analyze of Objects in Images 3D Vision Signal Processing Data Interpolation, Registration, Acquisition and Compression Objects Simulation Virtual Reality Software Development for Image Processing and Analysis Computer Aided Diagnosis, Surgery, Therapy and Treatment Computational Bioimaging and Visualization Telemedicine Systems and their Applications Invited Lecturers Alejandro Frangi - Pompeu Fabra University, Spain Christos E. Constantinou - Stanford University School of Medicine, USA Demetri Terzopoulos - University of California, USA Joaquim A. Jorge - Instituto Superior Técnico, Portugal José Carlos Príncipe - University of Florida, USA Lionel Moisan - Université Paris V, France Tony Chan - University of California, USA Thematic Sessions Proposals to organize Thematic Session within VipIMAGE 2009 are mostly welcome. The organizers of the selected thematic sessions will be included in the conference scientific committee and will have a reduced registration fee. They will be responsible for the dissemination of their thematic session, may invite expertise researches to have invited keynotes during their session and will participate in the review process of the submitted contributions. Proposals for Thematic Sessions should be submitted by email to the conference co-chairs (ta...@fe..., rn...@fe...) Publications The proceedings book will be published by the Taylor & Francis Group, as happened with VipIMAGE 2007 (ISBN: 9780415457774). The organizers will encourage the submission of extended versions of the accepted papers to related International Journals; in particular for special issues dedicated to the conference. One possibility already confirmed is the International Journal for Computational Vision and Biomechanics (IJCV&B). As what happened with VipIMAGE 2007, the organizers will also propose the publishing of a book by SPRINGER (ISBN: 978-1-4020-9085-1), under the Computational Methods in Applied Sciences series, with invited works from the most important ones presented in conference. Important dates Deadline for Thematic Sessions proposals: January 15, 2009 Submission of extended abstracts: March 15, 2009 Lectures and Final Papers: June 15, 2009 We are looking forward to see you in Porto next year. Kind regards, João Manuel R. S. Tavares Renato Natal Jorge (conference co-chairs) PS. For further details please see the conference website at: www.fe.up.pt/~vipimage |
|
From: Philip B. <ph...@bl...> - 2008-10-12 14:33:34
|
It would be a logical thing to do, if I had in fact received a valid window handle but the window just wasn't showing. Calling ShowWindow with a NULL handle, which is the case right now, wouldn't do much good.
Regards
Philip Bennefall
----- Original Message -----
From: toa...@ya...
To: Philip Bennefall
Sent: Sunday, October 12, 2008 4:27 PM
Subject: Re: [Dev-C++] CreateDialog issues
try using ShowWindow(hwnd, SW_SHOW) after creating the dialog box.
--- Em dom, 12/10/08, Philip Bennefall <ph...@bl...> escreveu:
De: Philip Bennefall <ph...@bl...>
Assunto: [Dev-C++] CreateDialog issues
Para: dev...@li...
Data: Domingo, 12 de Outubro de 2008, 11:53
Dear list,
I'm having a very strange problem with a seemingly simple piece of code. I'm simply loading a dialog box from a resource, and building it with CreateDialog. It's finding the resource fine, but for some reason CreateDialog returns NULL. According to Msdn, you can get extended information for this particular function with GetLastError so that's exactly what I did. However, GetLastError returns 0 (success)... And still the window is not being created!
If anyone has the time to take a look at the scode snippet, I would appreciate it very much!
Thanks in advance.
Regards
Philip Bennefall
-------------------------------------------------------------------------
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
------------------------------------------------------------------------------
Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com. |
|
From: Philip B. <ph...@bl...> - 2008-10-12 13:53:57
|
#include <windows.h>
#include <stdio.h>
#include <commctrl.h>
#ifdef __cplusplus
extern "C" {
#endif
HWND hwnd;
/* From Msdn */
void ErrorExit(LPTSTR pszFunction)
{
LPTSTR pszMessage;
DWORD dwLastError = GetLastError();
FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
dwLastError,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPTSTR)&pszMessage,
0, NULL );
char cp[1024];
sprintf(cp, "%s failed with error %d: %s\n", pszFunction, dwLastError, pszMessage);
MessageBox(0,cp,"Error",16);
LocalFree(pszMessage);
ExitProcess(dwLastError);
}
BOOL CALLBACK DialogProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message)
{
case WM_INITDIALOG:
/* May want to do things here later... */
return TRUE;
case WM_COMMAND:
switch (LOWORD(wParam))
{
/* Will want to do things here... */
default:
break;
}
return TRUE;
case WM_DESTROY:
PostQuitMessage(0);
return TRUE;
case WM_CLOSE:
DestroyWindow (hwnd);
return TRUE;
default:
return FALSE;
}
return FALSE;
}
int WINAPI WinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszArgument, int nFunsterStil)
{
hwnd = CreateDialog(hThisInstance, "DIALOG_0", 0, (DLGPROC)DialogProc);
if(hwnd==NULL)
{
ErrorExit("CreateDialog");
return 1;
}
MSG msg;
while(GetMessage(&msg, NULL, 0, 0))
{
if(!IsDialogMessage(hwnd, &msg))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
return msg.wParam;
}
#ifdef __cplusplus
}
#endif
|
|
From: Patrick D. <dy...@ya...> - 2008-10-09 20:56:06
|
For over a week I have benn trying to work with COM. Currently I am trying to make a component DLL (a DLL that has interfaces and the DllGetClassObject() method) but so far my attempts have not worked. If someone could give me a good example to get me started I would be so relieved.
Thank you so much!
Patrick
|
|
From: João M. R. S. T. <ta...@fe...> - 2008-10-05 18:29:12
|
---------------------------------------------------------------------------- -------------------- (Apologies for cross-posting) International Journal of Imaging (IJI) http://www.ceser.res.in/iji.html ISSN 0974-0627 We would appreciate if you could distribute this information by your colleagues and co-workers. ---------------------------------------------------------------------------- -------------------- CALL FOR PAPERS The main aim of the International Journal of Imaging (ISSN 0974-0627) is to publish refereed, well-written original research articles, and studies that describe the latest research and developments in the area of imaging. This is a broad-based journal covering all branches of imaging, its application in technology and interdisciplinary research. International Journal of Imaging (IJI) is a peer-reviewed online journal and is published in Spring and Autumn i.e. two times a year. The areas of interest include (but are not limited to): - Signal and Image Processing, - Image Acquisition and Calibration, - Pattern Analysis and Recognition, - Feature Extraction and Detection, - Filters, Algorithms, Video Coding and Watermarking, - Video Processing and Analysis, - Reconstruction, Restoration, and Enhancement, - Image Understanding, Registration, Tracking, Segmentation and Classification, - 3D Vision, - Statistical Imaging & Tomography, - Face Recognition and Facial Expression Analysis, - Human-Machine Interfaces, - Virtual Reality and Augmented Reality, - Inverse Problem & Imaging, - Medical Imaging, - Software Development for Image Processing and Analysis, - Computer Aided Diagnosis, Surgery, Therapy, and Treatment, - Computational Bioimaging and Visualization, - Telemedicine Systems and their Applications, and - Software Development. Manuscripts can also be sent to the Editor-in-Chief International Journal of Imaging, via e-mail (tavares[at]fe.up.pt). Detailed instructions on how to prepare your manuscript are available at Author Instructions (http://www.ceser.res.in/iji.html). Sincerely yours, João Manuel R. S. Tavares (University of Porto, Portugal) Editor-in-Chief International Journal of Imaging (IJI) http://www.ceser.res.in/iji.html E-mail: tavares[at]fe.up.pt |