dev-cpp-users Mailing List for Dev-C++ (Page 534)
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: Carlos d. M. <cg...@wo...> - 2002-08-28 12:46:39
|
I was using template functions, I experimented without template and then it worked. It is prohibited using templates for libraries? |
|
From: joanna j. <joa...@ya...> - 2002-08-28 11:34:48
|
create a program that would translate 1 to 100 to words. __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com |
|
From: <Met...@ao...> - 2002-08-28 10:03:09
|
no...@ho... wrote
> I do not think it runs.
>
Yes it works, but not as mudeth wrote it.
I made this tiny modification to his code and it runs ok for me here :
argv[1]="-output";
argv[2]="foo.bar";
for(int i=0;i<=2;i++)
cout<<argv[i];
And of course, argv[0] is initialised with the exec name by the application
itself.
But however, it would be nice to get a menu option to set these startup
parameters instead of doing this not-so-clean hack.
Kind regards
Seb
|
|
From: <Met...@ao...> - 2002-08-28 09:53:13
|
Go to Project Options, and check the "Compile as C++" box. Your source file must be part of a project to set this option. Kind regards Seb |
|
From: <TC...@sg...> - 2002-08-28 09:33:24
|
---------------------------------------------------------- Any opinions, express or implied, presented are solely those of the author and do not necessarily represent those of Standard Chartered Group. --------------------------------------------------------- |
|
From: Ioannis V. <no...@ho...> - 2002-08-28 09:13:30
|
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf
> Of Abhijit Shylanath
> Sent: Wednesday, August 28, 2002 11:38 AM
> To: Piotr Collins Olszewski; Dev-C++ Mailing List
> Subject: Re: [Dev-C++] How to set program arguments?
>
> As of now, Dev doesn't have support for specifying args using the IDE,
> you'll have to do something like this:
>
> int main(int argc, char *argv[])
> {
> argc = 3;
> argv =
> {
> argv[0],
> "-output",
> "foo.bar"
> };
> }
I do not think it runs.
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.cjb.net
* Alternative URL: http://run.to/noicys
|
|
From: Abhijit S. <mu...@gm...> - 2002-08-28 08:39:49
|
> Hi all!
>
> I want to debbug my app, but I can't find how
> to set program arguments in Dev-C++ 4.9.5.0.
> Please, help.
>
> Piotr
As of now, Dev doesn't have support for specifying args using the IDE,
you'll have to do something like this:
int main(int argc, char *argv[])
{
argc = 3;
argv =
{
argv[0],
"-output",
"foo.bar"
};
}
|
|
From: Piotr C. O. <co...@ps...> - 2002-08-28 07:44:07
|
Hi all! I want to debbug my app, but I can't find how to set program arguments in Dev-C++ 4.9.5.0. Please, help. Piotr |
|
From: <Met...@ao...> - 2002-08-28 07:03:09
|
Do you compile in C++ mode in DevCpp ? Anyway, can you cut and paste your error messages here, just to see what's really happening ? "It doesn't work, I've got plenty of error messages" just doesn't help us too much to understand what's going wrong... Kind regards -- Seb |
|
From: <Met...@ao...> - 2002-08-28 07:01:20
|
Yes, I've seen that there are some bugs in the LCC-WIN32 res editor You can't check whatever you like when you try to design a listview control for example, the dialog box for this seems to be a bit buggy. And I cannot center an control into a dialog box, clicking on the button just doesn't do anything. But, this is a free product and these bugs are not really cumbersome. If anyone knows about another good *free* resource editor, I would be glad to hear from it. Any URL ? Kind regards -- Seb |
|
From: Adam M. <ada...@sk...> - 2002-08-28 06:51:51
|
Hi. lcc-win32 is OK but have you noticed big disadvantage? In lcc-win32 some of flags doesn't work. For example button - you can't use every check box in properties window. Of course you can click every check box but some of them does not make any differences to button and after next opening properties window the are not checked. Why ? Maybe I am doing something wrong. Same properties (flags) witch does not work in lcc-win32 work in Visual C++ What's going on? Upanie. |
|
From: Saba K. T. <sab...@vu...> - 2002-08-28 06:43:45
|
Hi. i am new to dev-c++. i am facing some problems e.g. i am getting = exactly 31 parsing errors in iostream.h file. please let me know any = solution to this problem rgd. |
|
From: <Met...@ao...> - 2002-08-27 16:37:26
|
Hi Napoleon There is a good WYSIWYG resource editor in the LCC-WIN32 package. I use it as a tool menu entry from DevCpp IDE Just download it at : http://www.cs.virginia.edu/~lcc-win32/ Kind regards -- Seb |
|
From: Napoleon A. <nah...@so...> - 2002-08-27 13:58:11
|
Hello Elizabeth, I have tried your solution without success. I think it's me doing something wrong so I will elaborate my problem below exactly as it is then may be you can point me in the right direction. I have 3 main paths I'm dealing with they are: (1)C:\Projects\Windows, (2)C:\Projects\Windows\Lib, and (3)C:\Projects\Resources. Path 1 contains the files Main.cpp,Ctrl.cpp,Ctrl.h, View.h. Path 2 contains the files Maker.cpp, Maker.h, Window.h, Procedure.cpp, Procedure.h, Class.cpp, Class.h, Icon.cpp, Icon.h, Control.h and Canvas.h Path 3 contains Main.Ico, Script.rc, Resource.h This is the way I tried to biuld the library. I created a DLL project and added all the files from path 2 to it as they are. But I get loads of error messaged when I compile. The need to create a personal libary I guess becomes inevitable with time. as it becomes obvious that certain classes and functions lend themselves to reuse. If any one can write a little tutorial on how to build such a library It will be much appreciated. Up untill now I have only written programs with all the files in one directory but now I feel the need to start writting libraries. Thanks to anyone who will help. Napoleon. |
|
From: Napoleon A. <nah...@so...> - 2002-08-27 13:58:11
|
Hello, It just hit me that some features of the the resource editor of DevCpp = ver 4 are missing from the latest DevCpp Beta 5. It came tools required = including a resource editor which has wizards for creating dialog boxes, = menus, adding icons and so on. This seems to be missing. The command to = edit the resource editor brings up a regular edit screen. Was this an oversight or delibrate ? Napoleon. |
|
From: Rob <ro...@us...> - 2002-08-27 12:51:12
|
I trust someone will correct if I'm mistaken, but you should be able to uninstall 4.9.3.0 and then install the new version immediately afterward without expected problems. Rob http://uselesspython.com > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of Wilmar O. > Guday > Sent: Tuesday, August 27, 2002 12:15 AM > To: Dev...@li... > Subject: [Dev-C++] Upgrading > > > Hi List, > > I currently have Dev-C++ version 4.9.3.0 and just downloaded binaries > devcpp4950.exe and devcpp4950exe.exe. How to upgrade my existing version. > > TIA/Wilmar > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Carlos d. M. <cg...@wo...> - 2002-08-27 10:34:19
|
Thanks, I did what you say, but it does not work. This is what I get: undefined reference to all the functions that are used in the main source file. Perhaps I am wrong in respect to the process of building the a file and I am being idiot. There is some site where I can see if there is something special for write static libraries? In the Bruce Eckel's "Thinking in C++" it is suggested that simply do what I do, take the .o files, give them to librarian and passing it to the lib dir and the h to the include dir, just what I do. d:\devpro\newf\containtry.o: In function `main': //d/devpro/newf/containtry.cpp:16: undefined reference to `container<int>::container(void)' //d/devpro/newf/containtry.cpp:16: undefined reference to `container<int>::~container(void)' //d/devpro/newf/containtry.cpp:19: undefined reference to `container<int>::addcontainer(int)' //d/devpro/newf/containtry.cpp:44: undefined reference to `container<int>::operator[](int)' //d/devpro/newf/containtry.cpp:53: undefined reference to `container<int>::killcontainer(void)' //d/devpro/newf/containtry.cpp:56: undefined reference to `container<int>::~container(void)' If I make #include <container.cpp> then it works perfectly. |
|
From: Ioannis V. <no...@ho...> - 2002-08-27 10:20:57
|
Or 7-Zip mentioned already in the subject. :) Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys > -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Carlos Garc=EDa del Monte > Sent: Tuesday, August 27, 2002 1:05 PM > To: Louis Godio; dev-cpp-users-list > Subject: Re: [Dev-C++] 7-ZIP Source code >=20 >=20 > PowerArchiver www.powerarchiver.com >=20 > > > > Do you know where can I get a program to unZIP .tar.bz2 files ? >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=3Dsourceforge1&refcode1=3Dvs3390 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >=20 |
|
From: Carlos d. M. <cg...@wo...> - 2002-08-27 10:10:20
|
PowerArchiver www.powerarchiver.com > > Do you know where can I get a program to unZIP .tar.bz2 files ? |
|
From: Gerardo E. P. <ge...@mu...> - 2002-08-27 06:18:29
|
Is anyone aware of libraries for DevCpp that interface with MySQL++??? |
|
From: Wilmar O. G. <wo...@sp...> - 2002-08-27 05:04:39
|
Hi List, I currently have Dev-C++ version 4.9.3.0 and just downloaded binaries devcpp4950.exe and devcpp4950exe.exe. How to upgrade my existing version. TIA/Wilmar |
|
From: Elizabeth B. <sog...@ya...> - 2002-08-26 22:29:56
|
Carlos =?iso-8859-1?Q?Garc=EDa?= del Monte <cg...@wo...> writes: > I have a couple of files: file.h and file.cpp which I want add to a > project, but which I'll want add to other projects, too. So I think > make a library file, libfile.a. I compile in command line g++ -c > file.cpp Then I do ar -r libfile.a file.o Then ar -s libfile.a I copy > it to c:\dev-cpp\lib\ I put in options (either project if it is > organized as project or compiler if simply mainfile.cpp #include > "file.cpp") -lfile, or -llibfile or -libfile or -lfile.a or > -llibfile.a, but depending on what I use I get or it does not find it > or undefined references. It happens the same if I leave libfile in the > same directory than the rest of the project (one single more file, > mainfile.cpp). > > What's my error? I mistake binutil? (ar -s = ranlib) It would be -lfile as the linker inserts 'lib' and adds on '.a'. You'd need to add in the library directory C:\dev-cpp\lib, however, for the linker to find it. For example, g++ -o test test.cpp -LC:\dev-cpp\lib -lfile The -L says to look in C:\dev-cpp\lib for the library file "libfile.a". If the library file is in the same directory, you could use -L. . Elizabeth |
|
From: Carlos d. M. <cg...@wo...> - 2002-08-26 19:18:57
|
I don't know if I sent this message to the right direction or not, I post it again. I have a couple of files: file.h and file.cpp which I want add to a project, but which I'll want add to other projects, too. So I think make a library file, libfile.a. I compile in command line g++ -c file.cpp Then I do ar -r libfile.a file.o Then ar -s libfile.a I copy it to c:\dev-cpp\lib\ I put in options (either project if it is organized as project or compiler if simply mainfile.cpp #include "file.cpp") -lfile, or -llibfile or -libfile or -lfile.a or -llibfile.a, but depending on what I use I get or it does not find it or undefined references. It happens the same if I leave libfile in the same directory than the rest of the project (one single more file, mainfile.cpp). What's my error? I mistake binutil? (ar -s = ranlib) P.S. - In my computer (windows 2000, Intel III x86 6.5.5), when I type in the command line ar -pv file it starts beeping continuosly, the command line does not respond anymore and that continues after it has printed all. I had to restart the computer. (I didn't proved without v[verbose], but surely it would do the same). |
|
From: Elizabeth B. <sog...@ya...> - 2002-08-26 18:25:00
|
Look under: Project->Project Options->Files/Directories In that dialog there is a sub-tabbed thing, and the tabs are: Library Directories, Include Directories, Resource Files, Resource Directories If the libraries you need to link in to your application reside somewhere beside the normal place ([DEV-C++_HOME]/lib or the mingw-specific area) then you need to tell the linker about that directory else it won't know where to look. You add these directories using: Project->Project Options->Files/Directories->Library Directories These are *library* files and are not the same as include files. Include files just tell the compiler (and your code) certain function definitions (the signature of the function) and say to the compiler "look, I don't have this code *now* but later on, when this program is linked into an executable, somehow, someway, a function that matches the signature in the header file will be provided". So, anyway, after you compile your code using these header files (often times referred to as "include files"), it's time to link it all together. This is where the libraries come in - libraries provide the actual code itself (not 100% accurate in that DLL's are used, but the concept is the same: the library provides the implementation of the functions defined in the header/include files). > Are you saying that the name of the directory makes a difference ? > The *** in my mail stans for projects. If by *** you are implying > Dev-Cpp, then that is what I don't want to do. I would not like to > mix my files with those that came with the compiler. My full path is > C:\Projects\Lib. Do you mean I should change Lib to include and add > the path to where please explain. Right, you don't want to mix them with the standard header files; the C:\Projects\lib is probably just an example. Let's say I want to build a project entitled "terminal_library" so I make a special directory (or folder) entitled "terminal_library_project" mkdir terminal_library_project cd terminal_library_project I then hack away and build a DLL that resides within terminal_library_project: terminal_library_project: terminal_library_a.c terminal_library_a.h terminal_library_a.o terminal_library_b.c terminal_library_b.h terminal_library_b.o terminal_library.dll terminal_library.dll.a terminal_library.a terminal_library.def Anyway, that is done so then I go over to a different folder to work on the "terminal project" itself (which uses code in the terminal_library). cd .. mkdir terminal_project cd terminal_project In the source files of terminal_project are things like this: #include "terminal_library_a.h" The problem with just stating this is that during the compile, the compiler cannot automatically determine where to find "terminal_library_a.h". In order for it to find it, I need to tell the compiler where it is located, which is where: Project->Project Options->Files/Directories->Include Directories comes into play. I add "terminal_library_project" to this list of include directories and it compiles into object code fine *but* it fails to link with those nasty error messages you mentioned earlier. Why is this? Because in the same way that the compiler needed to know where to find the include files it also needs to know where to find the library files, so I add "terminal_library_project" to the Project->Project Options->Files/Directories->Library Directories And this tells the *linker* where to find the *libraries*. Elizabeth |
|
From: Napoleon A. <nah...@so...> - 2002-08-26 17:47:49
|
----- Original Message ----- From: "Abhijit Shylanath" <mu...@gm...> To: "Napoleon Ahiable" <nah...@so...>; "Dev-C++ Mailing List" <dev...@li...> Sent: Monday, August 26, 2002 6:22 PM Subject: Re: [Dev-C++] Adding my own Lib files to Project > I think you're getting confused between libraries and header files. Copy > these files to `c:\***\include'. They should work. A reply explaining all > this was posted by Elizabeth, but it seems to have missed you, so I'm > sending this to your account directly also. > > > Abhijit Shylanath > > E-mail: mu...@gm... || ibr...@bi... > Web-site: http://mudeth.tripod.com/ Hi, Are you saying that the name of the directory makes a difference ? The *** in my mail stans for projects. If by *** you are implying Dev-Cpp, then that is what I don't want to do. I would not like to mix my files with those that came with the compiler. My full path is C:\Projects\Lib. Do you mean I should change Lib to include and add the path to where please explain. Thanks. Napoleon. |