dev-cpp-users Mailing List for Dev-C++ (Page 2)
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
(5) |
2
|
3
(3) |
4
(1) |
5
|
|
6
|
7
(3) |
8
|
9
(1) |
10
|
11
|
12
|
|
13
|
14
|
15
|
16
|
17
(1) |
18
(5) |
19
(2) |
|
20
(2) |
21
(1) |
22
(1) |
23
(1) |
24
(4) |
25
|
26
|
|
27
(2) |
28
|
29
|
30
|
31
|
|
|
|
From: Benson M. <ben...@gm...> - 2008-01-03 17:20:18
|
Thank you Per for your reply... The image is in PGI (portable Greymap Image) and I am stuck in converting the image to a 2D array inorder to do the various needed manipulations. Kind Regards Benson. On 22/12/2007, Per Westermark <pw...@ia...> wrote: > > Too little information given! > > If the image is in any known image format (GIF, JPEG, TIFF, PCX, BMP, ...) > then you need to locate a graphics library that contains code to read that > format. > > If the data is in a raw binary file or stored as ASCII, then you have to > write your own code. > > There is no way anyone can help you, if you don't take your time and > clearly specify your problem! > > /pwm > > On Sat, 22 Dec 2007, Benson Mwangi wrote: > > > Hello Everyone, > > > > Is anyone aware of how to read a greyscale image and convert it into a > 2D > > array of 256 by 256 in C++. > > > > I would appreciate your contribution on this. > > > > Kind regards > > Benson. > > > > |
|
From: Brian W. <bri...@gm...> - 2008-01-03 13:37:55
|
I actually figured it out last night. Used a while loop with a flag that was set pos/neg depending on whether it found a duplicate and a for loop inside to read through the array. I knew about using break for switch, but didn't realize it could be used for while loops. Thanks! On Jan 3, 2008 8:26 AM, Wobien Doyer <wo...@pl...> wrote: > Look here http://www.cppreference.com/keywords/break.html (for instance). > > > ----- Original Message ----- > From: "Brian Weeden" <bri...@gm...> > To: "cpp" <dev...@li...> > Sent: Tuesday, January 01, 2008 11:20 PM > Subject: [Dev-C++] Searching and adding items to an array > > > >I am writing a piece of code that is calculating values. That part is > > done and works. The problem is that as the code goes through the > > process it will generate duplicate answers. I want to filter those > > out and end up with just the solutions that are unique at the end of > > the whole process. > > > > What I was thinking of doing was writing the first solution to an > > array. Then with each additional solution a loop would read through > > the array checking to see if the new solution matches any of the > > existing solutions. If yes, exit. If no, it continues reading. When > > it reaches the end it would write the new solution to the end of the > > array since it didn't find a match. > > > > I am having trouble diagramming the logic flow and writing out the > > algorithm. I know I will need to keep one int counter of how many > > items are in the array and another for the loop counter that will get > > initialized to zero and iterated each time the loop is called. I'm > > not sure how to write the loop exit for a duplicate. > > > > Any help would be appreciated. Thanks! > > > > > > -- > > Brian Weeden > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > -- Brian Weeden |
|
From: Brian W. <bri...@gm...> - 2008-01-01 22:20:39
|
I am writing a piece of code that is calculating values. That part is done and works. The problem is that as the code goes through the process it will generate duplicate answers. I want to filter those out and end up with just the solutions that are unique at the end of the whole process. What I was thinking of doing was writing the first solution to an array. Then with each additional solution a loop would read through the array checking to see if the new solution matches any of the existing solutions. If yes, exit. If no, it continues reading. When it reaches the end it would write the new solution to the end of the array since it didn't find a match. I am having trouble diagramming the logic flow and writing out the algorithm. I know I will need to keep one int counter of how many items are in the array and another for the loop counter that will get initialized to zero and iterated each time the loop is called. I'm not sure how to write the loop exit for a duplicate. Any help would be appreciated. Thanks! -- Brian Weeden |
|
From: Per W. <pw...@ia...> - 2008-01-01 17:48:22
|
Does your "little program" happen to be a school assignment? /pwm On Tue, 1 Jan 2008, Sam Mryyan wrote: > Hi everyone: > I am working on developing a small program would like someone to help me with it. I am willing to pay!! If you are interested please email me. |
|
From: Per W. <pw...@ia...> - 2008-01-01 17:47:21
|
Look at wxWidgets for a nice framework for developing GUI-based applications. For developing/debugging your applications, I would recommend that you either switch from Dev-C++ to Code::Blocks or downloads a free-standing debugger. The debugger in Dev-C++ is a bit lacking :( Check out the MinGW site for a graphical debugger. /pwm On Tue, 1 Jan 2008, Brian Weeden wrote: > Hi everyone. I'm a new subscriber and wanted to ask a general > question. I learned basic C programming back in college about 10 > years ago and have written a dozen or so simple programs. But it was > only a 1 semester course and only covered DOS. I never learned how to > write programs that run under windows and that use GUIs. What are > some good references that I can use to bring my knowledge into the > modern era? > > I'm not looking to do anything major, most of what I write is orbital > mechanics software working numbers and calculations. Really the only > graphical output I would need is plotting functions and some decent > dialog boxes and lists to arrange and enter data. > > Also, are there any FAQs or guides that can show how to use watch > variables and the debugging tools in Dev-cpp? I was messing around > with them in my current code and tried setting a watch variable but it > didn't show up in the left column and I'm not sure what I did wrong. > > Thanks! > > -- > Brian Weeden > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Sam M. <s_m...@ya...> - 2008-01-01 15:57:00
|
Hi everyone: I am working on developing a small program would like someone to help me with it. I am willing to pay!! If you are interested please email me. |
|
From: Brian W. <bri...@gm...> - 2008-01-01 15:03:59
|
Hi everyone. I'm a new subscriber and wanted to ask a general question. I learned basic C programming back in college about 10 years ago and have written a dozen or so simple programs. But it was only a 1 semester course and only covered DOS. I never learned how to write programs that run under windows and that use GUIs. What are some good references that I can use to bring my knowledge into the modern era? I'm not looking to do anything major, most of what I write is orbital mechanics software working numbers and calculations. Really the only graphical output I would need is plotting functions and some decent dialog boxes and lists to arrange and enter data. Also, are there any FAQs or guides that can show how to use watch variables and the debugging tools in Dev-cpp? I was messing around with them in my current code and tried setting a watch variable but it didn't show up in the left column and I'm not sure what I did wrong. Thanks! -- Brian Weeden |