dev-cpp-users Mailing List for Dev-C++ (Page 12)
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: William Mc C. <wil...@ms...> - 2010-10-06 10:16:10
|
http://web121000.rex13.flatbooster.com/f1.html |
From: William Mc C. <wil...@ms...> - 2010-10-04 21:31:52
|
http://studiokmg.com/44_7.html |
From: dragomir n. <dne...@ya...> - 2010-09-14 08:59:04
|
// // // Random1.h // // #ifndef Random1_h #define Random1_h double GetOneGaussianBySummation(); double GetOneGaussianByBoxMuller(); #endif /* * * Copyright (c) 2002 * Mark Joshi * * Permission to use, copy, modify, distribute and sell this * software for any purpose is hereby * granted without fee, provided that the above copyright notice * appear in all copies and that both that copyright notice and * this permission notice appear in supporting documentation. * Mark Joshi makes no representations about the * suitability of this software for any purpose. It is provided * "as is" without express or implied warranty. */ |
From: Derek C. <de...@ci...> - 2010-09-13 11:54:01
|
The characters that you actually get will depend upon the code page installed on your particular machine and the font currently in use. A FAR better way to get general language support is to use Unicode. That way a certain character code always means the same character! The snag is that the characters are 4 bytes long instead of 1. Look at http://evanjones.ca/unicode-in-c.html Another reference I just found is rather more scientific about this issue: http://www.linuxselfhelp.com/gnu/glibc/html_chapter/libc_6.html <http://www.linuxselfhelp.com/gnu/glibc/html_chapter/libc_6.html>This should apply to Dev-C++ as gcc is used as the compiler. On 13 September 2010 12:28, Filip Palle <fil...@ya...> wrote: > > Hey to all,I have huge problem which,I'm sure,has a simple solution. :) > > I'm having trouble displaying croatian letters in printf line.. Since i > cannot write letter č or š or đ etc directly (because all i get are strange > signs),i have to do it through ANSII codes..which for letter č is 159 (I > think). > > printf("Upi%ci re%cenicu:\n",sh,ch); //*"Upiši rečenicu" means basically > "write a sentence" ;) *// > gets(rec); ... > > in which ch=159 and sh=231. > This used to work year ago when i was doing this for something,and now even > that won't work and I don't know why... So do I have to do something in the > options tab? I don't get it why it wont accept not even here or in terminal > these letters.. > > Thx alot. > Winxp,devcpp 4992. > > Filip. > > > > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > 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: Filip P. <fil...@ya...> - 2010-09-13 11:28:41
|
Hey to all,I have huge problem which,I'm sure,has a simple solution. :) I'm having trouble displaying croatian letters in printf line.. Since i cannot write letter č or š or đ etc directly (because all i get are strange signs),i have to do it through ANSII codes..which for letter č is 159 (I think). printf("Upi%ci re%cenicu:\n",sh,ch); //*"Upiši rečenicu" means basically "write a sentence" ;) *// gets(rec); ... in which ch=159 and sh=231. This used to work year ago when i was doing this for something,and now even that won't work and I don't know why... So do I have to do something in the options tab? I don't get it why it wont accept not even here or in terminal these letters.. Thx alot. Winxp,devcpp 4992. Filip. |
From: Kathleen E. <k.a...@at...> - 2010-09-07 10:22:23
|
http://lonewolf21.lo.funpic.de/en.php |
From: Per W. <pw...@ia...> - 2010-09-04 14:00:56
|
Many schools are known for monitoring web forums, mailing lists etc to catch people who try to get someone else to make their work or who try to copy source code fro the net. As already mentioned earlier, the assignments are very easy. So you are either able to solve these problems yourself or you have a strong reason to consider switching to doing something else. A different question is of course if you want to live your life as a cheater? If you cheat with school assignments, will you also cheat with other peoples money? Lending items from "friends" but nut returning the items? Running from dinner bills? /pwm |
From: <mi...@na...> - 2010-09-03 18:17:16
|
No one is going to do a homework question for you. You joined the class to learn something, not have someone else write your code for you. Either write it yourself, or drop out of the class. Sometimes you just have to man up and do some work in your life. Especially if you plan to do this professionally some day. As for your homework, all of those are extremely easy, trivial coding problems that can be solved in any language in a matter of minutes. Open your text book and look into allocations, I/O and parsing. All you need to know will be there. ----- Original Message ----- From: Ronnill Delos Reyes To: dev...@li... Sent: Friday, September 03, 2010 11:53 AM Subject: [Dev-C++] need help can you make me a program.. just a easy one not that complicated one.... PROBLEM 1 Write a program that displays the menu such as the following: [A] Input integers [B] Input strings [C] Exit program Enter your choice: If choice A or B is selected, the program prompts the user to input a positive integer value, say n, which determines the number of elements (either integers or string) to input. It then prompts the user to input n elements and stores them in an array with a maximum size of 100. After the input, the program displays a menu that looks like the one below (choices A and B should have the same menu): [1] Search an element [2] Display elements [3] Insert an element [4] Delete an element [5] Edit an element [6] Sort elements [7] Back to main menu What do you want to do? If option 1 is selected, the user is prompted with the element to be searched. If the element is found, its position number (index+1) is displayed (e.g. element is found at position 1). Otherwise, an error message is displayed. If there are elements that are the same, all the position numbers are displayed. If option 2 is selected, it displays all the elements currently stored in the array. If option 6 is not yet selected, the elements are displayed in unsorted order. If option 6 has already been selected, the elements are displayed in sorted order. If option 3 is selected, the user is prompted with the element to be inserted and the position number to which the element is inserted. The element is then inserted at the specified position thereby increasing the number of elements currently stored in the array. If option 4 is selected, the user is prompted with the element to be deleted. It uses the search routine to search for the element to be deleted. If found, the element is then deleted which decreases the number of elements in the array. If not found, an error message is displayed. If option 5 is selected, the user is prompted with the position number. Using the search routine, the program displays the current element stored in the position number specified. It then prompts the user for the new element to replace thus replacing the original element stored in the position number specified. If option 6 is selected, it prompts whether the elements are to be sorted in ascending or descending order. Given the choice, the elements are then displayed in sorted order using the display routine. If option 7 is selected, the program goes back to the main menu. The program exits only when choice C is selected from the main menu. Every after routine execution, the program displays the MAIN MENU. PROBLEM 2 Write a program that inputs a string. It then counts and displays the number of characters (including white spaces), and words in a string. Sample run: Input string: My name is Maui! Characters: 16 Words: 4 PROBLEM 3 Write a program that inputs a string. It then displays the string first with the words reversed and the second with the characters reversed in each word. Sample run: Input string: My name is Maui! Maui! is name My !iuaM si eman yM PROBLEM 4 Write a program that inputs a string. It then deletes all the white spaces, punctuations and other special characters leaving and displaying only the letters and digits. Sample run: Input string: My name is Maui! The date today is 02/15/08. MynameisMauiThedatetodayis021508 plzz.... plz repz as much as possible.. i'm going to need this program this monday... ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ------------------------------------------------------------------------------ _______________________________________________ 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: Frederico M. <the...@ho...> - 2010-09-03 17:33:22
|
This list is not for homework assignments. No one will do this for you. If You read this far, you should really have started typing by now. Good luck. -- ****** uProtect ******* checkout my now project at http://code.google.com/p/uprotect/ Win SO flash worms protection Date: Fri, 3 Sep 2010 09:53:29 -0700 From: ron...@ya... To: dev...@li... Subject: [Dev-C++] need help can you make me a program.. just a easy one not that complicated one.... PROBLEM 1 Write a program that displays the menu such as the following: [A] Input integers [B] Input strings [C] Exit program Enter your choice: If choice A or B is selected, the program prompts the user to input a positive integer value, say n, which determines the number of elements (either integers or string) to input. It then prompts the user to input n elements and stores them in an array with a maximum size of 100. After the input, the program displays a menu that looks like the one below (choices A and B should have the same menu): [1] Search an element [2] Display elements [3] Insert an element [4] Delete an element [5] Edit an element [6] Sort elements [7] Back to main menu What do you want to do? If option 1 is selected, the user is prompted with the element to be searched. If the element is found, its position number (index+1) is displayed (e.g. element is found at position 1). Otherwise, an error message is displayed. If there are elements that are the same, all the position numbers are displayed. If option 2 is selected, it displays all the elements currently stored in the array. If option 6 is not yet selected, the elements are displayed in unsorted order. If option 6 has already been selected, the elements are displayed in sorted order. If option 3 is selected, the user is prompted with the element to be inserted and the position number to which the element is inserted. The element is then inserted at the specified position thereby increasing the number of elements currently stored in the array. If option 4 is selected, the user is prompted with the element to be deleted. It uses the search routine to search for the element to be deleted. If found, the element is then deleted which decreases the number of elements in the array. If not found, an error message is displayed. If option 5 is selected, the user is prompted with the position number. Using the search routine, the program displays the current element stored in the position number specified. It then prompts the user for the new element to replace thus replacing the original element stored in the position number specified. If option 6 is selected, it prompts whether the elements are to be sorted in ascending or descending order. Given the choice, the elements are then displayed in sorted order using the display routine. If option 7 is selected, the program goes back to the main menu. The program exits only when choice C is selected from the main menu. Every after routine execution, the program displays the MAIN MENU. PROBLEM 2 Write a program that inputs a string. It then counts and displays the number of characters (including white spaces), and words in a string. Sample run: Input string: My name is Maui! Characters: 16 Words: 4 PROBLEM 3 Write a program that inputs a string. It then displays the string first with the words reversed and the second with the characters reversed in each word. Sample run: Input string: My name is Maui! Maui! is name My !iuaM si eman yM PROBLEM 4 Write a program that inputs a string. It then deletes all the white spaces, punctuations and other special characters leaving and displaying only the letters and digits. Sample run: Input string: My name is Maui! The date today is 02/15/08. MynameisMauiThedatetodayis021508 plzz.... plz repz as much as possible.. i'm going to need this program this monday... ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ 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: Ronnill D. R. <ron...@ya...> - 2010-09-03 16:53:37
|
can you make me a program.. just a easy one not that complicated one.... PROBLEM 1 Write a program that displays the menu such as the following: [A] Input integers [B] Input strings [C] Exit program Enter your choice: If choice A or B is selected, the program prompts the user to input a positive integer value, say n, which determines the number of elements (either integers or string) to input. It then prompts the user to input n elements and stores them in an array with a maximum size of 100. After the input, the program displays a menu that looks like the one below (choices A and B should have the same menu): [1] Search an element [2] Display elements [3] Insert an element [4] Delete an element [5] Edit an element [6] Sort elements [7] Back to main menu What do you want to do? If option 1 is selected, the user is prompted with the element to be searched. If the element is found, its position number (index+1) is displayed (e.g. element is found at position 1). Otherwise, an error message is displayed. If there are elements that are the same, all the position numbers are displayed. If option 2 is selected, it displays all the elements currently stored in the array. If option 6 is not yet selected, the elements are displayed in unsorted order. If option 6 has already been selected, the elements are displayed in sorted order. If option 3 is selected, the user is prompted with the element to be inserted and the position number to which the element is inserted. The element is then inserted at the specified position thereby increasing the number of elements currently stored in the array. If option 4 is selected, the user is prompted with the element to be deleted. It uses the search routine to search for the element to be deleted. If found, the element is then deleted which decreases the number of elements in the array. If not found, an error message is displayed. If option 5 is selected, the user is prompted with the position number. Using the search routine, the program displays the current element stored in the position number specified. It then prompts the user for the new element to replace thus replacing the original element stored in the position number specified. If option 6 is selected, it prompts whether the elements are to be sorted in ascending or descending order. Given the choice, the elements are then displayed in sorted order using the display routine. If option 7 is selected, the program goes back to the main menu. The program exits only when choice C is selected from the main menu. Every after routine execution, the program displays the MAIN MENU. PROBLEM 2 Write a program that inputs a string. It then counts and displays the number of characters (including white spaces), and words in a string. Sample run: Input string: My name is Maui! Characters: 16 Words: 4 PROBLEM 3 Write a program that inputs a string. It then displays the string first with the words reversed and the second with the characters reversed in each word. Sample run: Input string: My name is Maui! Maui! is name My !iuaM si eman yM PROBLEM 4 Write a program that inputs a string. It then deletes all the white spaces, punctuations and other special characters leaving and displaying only the letters and digits. Sample run: Input string: My name is Maui! The date today is 02/15/08. MynameisMauiThedatetodayis021508 plzz.... plz repz as much as possible.. i'm going to need this program this monday... |
From: Patrick B. <pat...@fr...> - 2010-06-24 07:24:59
|
Good Day, I need using lex yacc to program my next project I just need to know how to improve lex yacc in a devC++ interface Could you help me for that Full thank Best regards Patrick Brunel |
From: João M. R. S. T. <ta...@fe...> - 2010-04-02 18:25:07
|
Dear Colleague, We are pleased to announce the TMSi2010 6th International Conference on Technology and Medical Sciences (www.fe.up.pt/tmsi2010) that will be held at the Faculty of Engineering of University of Porto, Porto, Portugal, on October 21-23, 2010. Possible Topics (but not limited to) - Analysis and diagnosis; - Applications in medicine; - Applications in veterinary; - Artificial organs; - Bioengineering; - Biofluid; - Biomedical devices Computational methods; - Computer aided diagnosis; - Computer assisted surgery; - Imaging; - Implantology; - Medical robotics; - Minimally invasive devices and techniques; - Prosthesis and orthosis; - Rehabilitation; - Simulation; - Software development; - Technical aids; - Telemedicine; - Virtual reality. Invited Lecturers - Paulo Jorge Bártolo, Polytechnic Institute of Leiria, Leiria, Portugal - Jose M. García Aznar, University of Zaragoza, Spain - Todd Pataky, Shinshu University, Japan - Paola Lecca, The Microsoft Research - University of Trento, Italy (to be confirmed) Publications The proceedings book will be published by the Taylor & Francis Group. 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). Important dates - Submission of abstracts: May 15, 2010 - Authors notification: May 30, 2010 - Final Papers: July 15, 2010 We look forward to seeing you in Porto in October. Kind regards, Renato Natal Jorge, University of Porto, Portugal (rn...@fe...) João Manuel R. S. Tavares, University of Porto, Portugal (ta...@fe...) Marcos Pinotti Barbosa, Federal University of Minas Geral, Brazil (pi...@uf...) Alan Slade, University of Dundee, Scotland (a.p...@du...) (conference organizers) PS. For further details please visit the conference website at: www.fe.up.pt/tmsi2010 |
From: Frederico M. <the...@ho...> - 2010-03-24 15:10:44
|
Hello All : Long time since I posted anything, but here I am again, hoping that You'll help me out :$ So, I am trying to develop some form of instrumentation for my projects. Since all my projects are win32 oriented, these daysm i turned to the Windows API. I found that Windows has a way to export the symbols contained in a executable, to a .dbg file, by the API "SplitSymbols" ( http://msdn.microsoft.com/en-us/library/ms680644%28VS.85%29.aspx ). As I use mingw as a main compiler suite, I do not have all the necessary header files, or lib files, so I load the DLLs at run-time. ( I do not have the patience to track down the headers and adjust them to mingw. ) So, the problem is : When I do use the "SplitSymbols" Api, the returned value is FALSE, with error set to 0xc0000005 ( Access error, if i am not mistaken. ) Here is how i use the api. // ImageHlp.dll typedef BOOL (*pSplitSymbols)( PSTR, PSTR, PSTR, DWORD ); //... bool Debug::LoadImageHlpMod() { if ( NULL == ( hImagehlpDLL = LoadLibrary("Imagehlp.dll") ) ) return false; if ( NULL == ( SplitSymbols = ( pSplitSymbols ) GetProcAddress( hImagehlpDLL, "SplitSymbols" ) ) ) return false; return true; } // ... char *DebugFile = NULL; DebugFile =(char *) HeapAlloc( hHeapHandle, HEAP_ZERO_MEMORY, MAX_PATH ); if ( NULL == DebugFile ) { std::cerr << "Debug::StartupSymbolSystem - HeapAlloc falhou. Impossivel reservar memoria no heap. Erro : " << GetLastError() << std::endl; return false; } if ( FALSE == SplitSymbols( (PSTR)&("compression++1.exe"), NULL, (PSTR)DebugFile, 0 ) ) { std::cerr << "Debug::StartupSymbolSystem - SplitSymbol falhou. Nao foi criado o ficheiro " << std::hex << DebugFile << ". Erro : " << GetLastError() << std::endl; return false; } ( note : I do know that (PSTR)&("") and std:: are not necessary. I do use them as a mnemonic to fixup later. ) The function returns false, and GetLastError() reports 0xc0000005. I am using Windows Vista x32 Basic. The compiler is Mingw fully patched. The DLL version I do not know, but I may look it up later. Please advise. Thank you all in advance for the help you always provide. _________________________________________________________________ Navegue sem medo: O Internet Explorer 8 te deixa mais protegido. Baixe gratuitamente. http://go.microsoft.com/?linkid=9707132 |
From: Patricio A. <do...@ho...> - 2010-03-23 03:20:02
|
My e-mail is Do...@ho... Thanks. _________________________________________________________________ ¿Cuánto espacio necesitas para guardar tus emails? Con Hotmail tienes 5GB y puede ampliarse a más. http://www.descubrewindowslive.com/hotmail/almacenamiento.asp |
From: Roland C. S. <he...@bi...> - 2010-03-05 17:34:50
|
; semicolons don't work when set in Hungarian mode Windows XP Pro. |
From: Philip B. <ph...@bl...> - 2010-03-04 15:02:35
|
Hi folks, I am having a bit of an issue with a multiline edit control that I am making with the CreateWindow function. I'm basically creating a dialog box with a large multiline edit field and a few buttons, and I want the user to be able to tab between these. If I make it a single line edit field it works fine (e.g. the tabbing behavior is just like in any standard dialog box which is what I want), but as soon as I change it to multiline then it captures the keyboard focus and then won't let go of it. In short, if I set default focus to one of the buttons then I can tab around, but as soon as the edit field gets the keyboard focus then it keeps it exclusively. This, of course, is what one would expect in an application such as notepad where the idea is to be able to do text processing, but this is not what I want in this case; I want standard dialog box tabbing functionality but with the multiline edit field. Any advice would be highly appreciated. Thanks! Kind regards, Philip Bennefall |
From: Per W. <pw...@ia...> - 2010-02-07 14:18:22
|
Yes, the binary do get quite big as soon as the linker has to start add in the C++ libraries. This is a big bump, but then you will be able to add a lot of code again with quite small increase in the size of the binary. But for doing a tiny utility application, it seems like a waste to get so large binaries. I normally use my own implementations of most function when creating smaller applications. /pwm On Sun, 7 Feb 2010, Philip Bennefall wrote: > Hi Chris, > > Sounds logical, though no less annoying. Grins. Thank you for the > clarification. > > Kind regards, > > Philip Bennefall > ----- Original Message ----- > From: "Chris Miller" <lor...@gm...> > To: "Philip Bennefall" <ph...@bl...> > Cc: <dev...@li...> > Sent: Sunday, February 07, 2010 8:21 AM > Subject: Re: [Dev-C++] Executable size with stl > > > > On Sat, Feb 6, 2010 at 4:17 PM, Philip Bennefall <ph...@bl...> > > wrote: > >> Hi all, > >> > >> I noticed that when using MinGw and the stl (e.g. iostream, string, > >> vector > >> etc) the executable gets ridiculously large - sometimes over 1 mb! My > >> project settings are set to the "Optimize More" option, no debugging or > >> profiling information is generated, and the executable is set to be > >> stripped. Yet, we get these huge files and it simply does not seem > >> logical. > >> Is there any way to reduce this? Perhaps if I could find an alternate > >> implementation of the stl somewhere? > > > > IIRC, this is because it has to include the GNU STL implementation > > into the binary, otherwise you'd need to have the applicable DLL's > > installed on the client machine as well as your application > > executable. > > > > I could be wrong, I haven't used DevC++ in a while, but that's what I > > remember. > > > > HTH. > > > > -- > > Registered Linux Addict #431495 > > For Faith and Family! | John 3:16! > > http://www.fsdev.net/ > > > -------------------------------------------------------------------------------- > > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.432 / Virus Database: 271.1.1/2662 - Release Date: 02/01/10 > 12:37:00 > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-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: Philip B. <ph...@bl...> - 2010-02-07 07:55:08
|
Hi Chris, Sounds logical, though no less annoying. Grins. Thank you for the clarification. Kind regards, Philip Bennefall ----- Original Message ----- From: "Chris Miller" <lor...@gm...> To: "Philip Bennefall" <ph...@bl...> Cc: <dev...@li...> Sent: Sunday, February 07, 2010 8:21 AM Subject: Re: [Dev-C++] Executable size with stl > On Sat, Feb 6, 2010 at 4:17 PM, Philip Bennefall <ph...@bl...> > wrote: >> Hi all, >> >> I noticed that when using MinGw and the stl (e.g. iostream, string, >> vector >> etc) the executable gets ridiculously large - sometimes over 1 mb! My >> project settings are set to the "Optimize More" option, no debugging or >> profiling information is generated, and the executable is set to be >> stripped. Yet, we get these huge files and it simply does not seem >> logical. >> Is there any way to reduce this? Perhaps if I could find an alternate >> implementation of the stl somewhere? > > IIRC, this is because it has to include the GNU STL implementation > into the binary, otherwise you'd need to have the applicable DLL's > installed on the client machine as well as your application > executable. > > I could be wrong, I haven't used DevC++ in a while, but that's what I > remember. > > HTH. > > -- > Registered Linux Addict #431495 > For Faith and Family! | John 3:16! > http://www.fsdev.net/ -------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.432 / Virus Database: 271.1.1/2662 - Release Date: 02/01/10 12:37:00 |
From: Chris M. <lor...@gm...> - 2010-02-07 07:21:39
|
On Sat, Feb 6, 2010 at 4:17 PM, Philip Bennefall <ph...@bl...> wrote: > Hi all, > > I noticed that when using MinGw and the stl (e.g. iostream, string, vector > etc) the executable gets ridiculously large - sometimes over 1 mb! My > project settings are set to the "Optimize More" option, no debugging or > profiling information is generated, and the executable is set to be > stripped. Yet, we get these huge files and it simply does not seem logical. > Is there any way to reduce this? Perhaps if I could find an alternate > implementation of the stl somewhere? IIRC, this is because it has to include the GNU STL implementation into the binary, otherwise you'd need to have the applicable DLL's installed on the client machine as well as your application executable. I could be wrong, I haven't used DevC++ in a while, but that's what I remember. HTH. -- Registered Linux Addict #431495 For Faith and Family! | John 3:16! http://www.fsdev.net/ |
From: Philip B. <ph...@bl...> - 2010-02-07 02:04:05
|
Hi all, I noticed that when using MinGw and the stl (e.g. iostream, string, vector etc) the executable gets ridiculously large - sometimes over 1 mb! My project settings are set to the "Optimize More" option, no debugging or profiling information is generated, and the executable is set to be stripped. Yet, we get these huge files and it simply does not seem logical. Is there any way to reduce this? Perhaps if I could find an alternate implementation of the stl somewhere? Kind regards, Philip Bennefall |
From: Derek C. <de...@ci...> - 2010-02-01 19:20:27
|
If all you want is an IDE then look at code:blocks which has Dev-C++ as an ancestor but is still being maintained. Code:blocks has very good compiler integration, so you can use any toolset you like and in fact have multiple installed toolsets to allow for both native and cross development. On 1 February 2010 05:46, Kevin Ross <pro...@gm...> wrote: > Michal, > > Thanks much for the recommendation of wxDev-C++ 7.3.0 and for the links to > the old "bloodshed.net" versions. (Although the latter are old, C++ is > old too, it doesn't make it obsolete ;-) ) > > Judging by the the http://wxdsgn.sourceforge.net/ description, it seems > that, rather than exactly a successor bloodshed.net's version 4.01 or 5 > beta, it is (at least primarily) an addition of a visual designer that > integrates wxWidgets. Does anybody think taht, for someone who doesn't care > about RAD/visual gui design/wxWidgets capabilities, wxDev-C++ 7.3.0 provides > other useful advances over Bloodshed's 4.x or 5 beta versions? > > I had not been aware of wxDev-C++ and had been looking only specifically > for "Bloodshed Dev-C++" which had been recommended as good and free (either > the 4.x stable or uncertainly buggy 5 beta, both apparently abandoned > considering, as you say, their age). > > Bloodshed's version was recommended for a college course I'm taking > that doesn't cover RAD or probably any GUI design, which probably explains > why it was recommended. > > Cheers, > > Kevin > > On Wed, Jan 27, 2010 at 3:43 PM, Michal Molhanec <mol...@se...> > wrote: > > On Wed, 27 Jan 2010 23:47:53 +0100 (CET) Kevin Ross > > <pro...@gm...> wrote: > > > >> ver. 4.x is supposed to be downloadable (see links from > >> http://www.bloodshed.net/devcpp.html) from sourceforge and from Simtel > >> but I got nada from either source: > > > > You can download it here: > > > > > http://sourceforge.net/projects/dev-cpp/files/Binaries/Dev-C%2B%2B%204.0%20full%20package%20includes%20Mingw%20compiler/ > > http://sourceforge.net/projects/dev-cpp/files/Binaries/4.01%20update/ > > > > however I wonder what would you do with such an outdated version. > > > > I recommend wxDev-C++ 7.3.0 which is the latest version of Dev-C++. It > > is available at http://wxdsgn.sourceforge.net/ > > > > > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-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: Michal M. <mol...@se...> - 2010-02-01 16:20:17
|
On Mon, 01 Feb 2010 06:46:33 +0100 (CET) Kevin Ross <pro...@gm...> wrote: > Judging by the the http://wxdsgn.sourceforge.net/ description, it > seems that, rather than exactly a successor bloodshed.net's version > 4.01 or 5 beta, it is (at least primarily) an addition of a visual > designer that integrates wxWidgets. Does anybody think taht, for > someone who doesn't care about RAD/visual gui design/wxWidgets > capabilities, wxDev-C++ 7.3.0 provides other useful advances over > Bloodshed's 4.x or 5 beta versions? I would recomend wxDev-C++ over Dev-C++ 5 betas mainly because of many bugfixes. I personally don't do wxWidgets development either. Dev-C++ 4 IIRC does not have integrated debugger (it can use external Insight/gdb debugger). |
From: Per W. <pw...@ia...> - 2010-02-01 09:08:22
|
I would recommend that you take a peek at Code::Blocks instead. A very, very good IDE, that supports a number of compilers. /pwm On Sun, 31 Jan 2010, Kevin Ross wrote: > Michal, > > Thanks much for the recommendation of wxDev-C++ 7.3.0 and for the links to > the old "bloodshed.net" versions. (Although the latter are old, C++ is old > too, it doesn't make it obsolete ;-) ) > > Judging by the the http://wxdsgn.sourceforge.net/ description, it seems > that, rather than exactly a successor bloodshed.net's version 4.01 or 5 > beta, it is (at least primarily) an addition of a visual designer that > integrates wxWidgets. Does anybody think taht, for someone who doesn't care > about RAD/visual gui design/wxWidgets capabilities, wxDev-C++ 7.3.0 provides > other useful advances over Bloodshed's 4.x or 5 beta versions? > > I had not been aware of wxDev-C++ and had been looking only specifically for > "Bloodshed Dev-C++" which had been recommended as good and free (either the > 4.x stable or uncertainly buggy 5 beta, both apparently abandoned > considering, as you say, their age). > > Bloodshed's version was recommended for a college course I'm taking > that doesn't cover RAD or probably any GUI design, which probably explains > why it was recommended. > > Cheers, > > Kevin > > On Wed, Jan 27, 2010 at 3:43 PM, Michal Molhanec <mol...@se...> > wrote: > > On Wed, 27 Jan 2010 23:47:53 +0100 (CET) Kevin Ross > > <pro...@gm...> wrote: > > > >> ver. 4.x is supposed to be downloadable (see links from > >> http://www.bloodshed.net/devcpp.html) from sourceforge and from Simtel > >> but I got nada from either source: > > > > You can download it here: > > > > > http://sourceforge.net/projects/dev-cpp/files/Binaries/Dev-C%2B%2B%204.0%20full%20package%20includes%20Mingw%20compiler/ > > http://sourceforge.net/projects/dev-cpp/files/Binaries/4.01%20update/ > > > > however I wonder what would you do with such an outdated version. > > > > I recommend wxDev-C++ 7.3.0 which is the latest version of Dev-C++. It > > is available at http://wxdsgn.sourceforge.net/ > > > |
From: Kevin R. <pro...@gm...> - 2010-02-01 05:47:01
|
Michal, Thanks much for the recommendation of wxDev-C++ 7.3.0 and for the links to the old "bloodshed.net" versions. (Although the latter are old, C++ is old too, it doesn't make it obsolete ;-) ) Judging by the the http://wxdsgn.sourceforge.net/ description, it seems that, rather than exactly a successor bloodshed.net's version 4.01 or 5 beta, it is (at least primarily) an addition of a visual designer that integrates wxWidgets. Does anybody think taht, for someone who doesn't care about RAD/visual gui design/wxWidgets capabilities, wxDev-C++ 7.3.0 provides other useful advances over Bloodshed's 4.x or 5 beta versions? I had not been aware of wxDev-C++ and had been looking only specifically for "Bloodshed Dev-C++" which had been recommended as good and free (either the 4.x stable or uncertainly buggy 5 beta, both apparently abandoned considering, as you say, their age). Bloodshed's version was recommended for a college course I'm taking that doesn't cover RAD or probably any GUI design, which probably explains why it was recommended. Cheers, Kevin On Wed, Jan 27, 2010 at 3:43 PM, Michal Molhanec <mol...@se...> wrote: > On Wed, 27 Jan 2010 23:47:53 +0100 (CET) Kevin Ross > <pro...@gm...> wrote: > >> ver. 4.x is supposed to be downloadable (see links from >> http://www.bloodshed.net/devcpp.html) from sourceforge and from Simtel >> but I got nada from either source: > > You can download it here: > > http://sourceforge.net/projects/dev-cpp/files/Binaries/Dev-C%2B%2B%204.0%20full%20package%20includes%20Mingw%20compiler/ > http://sourceforge.net/projects/dev-cpp/files/Binaries/4.01%20update/ > > however I wonder what would you do with such an outdated version. > > I recommend wxDev-C++ 7.3.0 which is the latest version of Dev-C++. It > is available at http://wxdsgn.sourceforge.net/ > |
From: Michal M. <mol...@se...> - 2010-01-27 23:43:53
|
On Wed, 27 Jan 2010 23:47:53 +0100 (CET) Kevin Ross <pro...@gm...> wrote: > ver. 4.x is supposed to be downloadable (see links from > http://www.bloodshed.net/devcpp.html) from sourceforge and from Simtel > but I got nada from either source: You can download it here: http://sourceforge.net/projects/dev-cpp/files/Binaries/Dev-C%2B%2B%204.0%20full%20package%20includes%20Mingw%20compiler/ http://sourceforge.net/projects/dev-cpp/files/Binaries/4.01%20update/ however I wonder what would you do with such an outdated version. I recommend wxDev-C++ 7.3.0 which is the latest version of Dev-C++. It is available at http://wxdsgn.sourceforge.net/ |