dev-cpp-users Mailing List for Dev-C++ (Page 473)
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: erwan a. <erw...@fr...> - 2002-12-08 19:10:04
|
Hi,
I would like to compile a soft that uses mysql functions. I obtain an
unresolved symbol: "_chkstk"
The libraries I link with are mysqlclient, z, wsock32, msvcrt40. Should I
link an other library? I am looking for this library but do not find it ...
Thanks.
Erwan
|
|
From: Brenden T. <br...@rc...> - 2002-12-08 18:37:46
|
My nemesis is the auto indent feature. For being "smart tabs", they're
bloody stupid (and I hope I don't offend anyone's feelings).
Backspacing on a blank line doesn't skip the cursor through all
previous tab positions, and I wish it did. Pressing tab on an empty
line doesn't move to the previous line's indent. Both of these things
should be done, I believe. Also, if I enter a closing brace ("}") on a
single line, it'd be nice if that line was automatically moved left one
indent (or perhaps I should say indented correctly). I don't know if
it's on the to do list, but smart tabs are the most annoying thing on my
list right now.
The other thing is the left/right scrolling. The editor is not
agressive enough at scrolling the view window to the left when possible.
Too often my cursor is at the end of a long line, and all that is
showing is one or two characters. Please move my cursor as far to the
right as possible (keep it in the right hand 50% of the editor window at
least) and show me as much of that line as possible.
Also, my editor installed with selected text being black text on a black
background, and it took me a while to figure out there was an option for
this, and it wasn't just a hard coded bug. ;) Sensible defaults please. :)
Peace,
B.
Esa Vuokko wrote:
>Hi,
>
>I hope this is good place to post wishlist :-)
>
>There are couple of nits that annoy me (I use dev-cpp
>just as an editor, so this all about that)
>
>* Ablity to make ctrl+tab to work as in most windows apps.
> So that it would change between windows on single press
> and change between more if you keep ctrl pressed and
> press tab many times.
>* Ability to choose ctrl+f4 to close tab and alt+f4 to
> close the program
>
>Other nitpicks:
>
>* export keyword is not highlighted, as aren't alternative
> tokens (and,and_eq,bitand,bitor,compl,not,not_eq,or,
> or_eq,xor,xor_eq).
>* nor are trigraph sequences recognised, but this is really
> small thing ;-).
>
>(I am sure you will or have fixed the bug with
>certain characters beginning the line inside some classes
>and stuff, but for that crash I sent an bug report,
>it's by far most annoying problem for me atm.)
>
>
>Regards and thanks for the nice editor,
>Esa
>
>PS. CC me on replies as I am not subscribed.
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>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: <cg...@wo...> - 2002-12-08 17:06:54
|
I forgot to say that for borland the options are not identical, the -o of mingw is -e in borland (or another depending on which kind of file you're building), so I don't know wheter it could work, I'm afraid it won't. It seems that option is primarily for switch between different versions of mingw and cygwin |
|
From: <cg...@wo...> - 2002-12-08 17:06:50
|
Esa Vuokko wrote: >Hi, > >I hope this is good place to post wishlist :-) > >There are couple of nits that annoy me (I use dev-cpp >just as an editor, so this all about that) > >* Ablity to make ctrl+tab to work as in most windows apps. > So that it would change between windows on single press > and change between more if you keep ctrl pressed and > press tab many times. > It works for me, for applications, for windows within a MDI is used Ctrl+F6. >* Ability to choose ctrl+f4 to close tab and alt+f4 to > close the program > You can set it in tools->configure shortcuts > >Other nitpicks: > >* export keyword is not highlighted, as aren't alternative > tokens (and,and_eq,bitand,bitor,compl,not,not_eq,or, > or_eq,xor,xor_eq). > I agree. >* nor are trigraph sequences recognised, but this is really > small thing ;-). > What's that? :-) > >(I am sure you will or have fixed the bug with >certain characters beginning the line inside some classes >and stuff, but for that crash I sent an bug report, >it's by far most annoying problem for me atm.) > > >Regards and thanks for the nice editor, >Esa > >PS. CC me on replies as I am not subscribed. > > > > |
|
From: <cg...@wo...> - 2002-12-08 17:05:28
|
You must define __GNUWIN32__ (two underscores each), perhaps UNICODE or _UNICODE, depending on you are using it or not. The best for compile wxwindows was saidtwo months ago, make a makefile with CFLAGS= INC= LIB= TARGET= OBJS= $(TARGET) : $(OBJS) !include makeprog.g95. Jonatan wrote: >Hello! > >I'm currently looking into the wxWindows-framework. >Using the latest 4.9.7.0 IDE, I get 394 errors upon compiling a very simple program. >This is how my simple program looks like (taken from a tutorial at http://www.codelearn.com/cpp/icpp_wx1.html): > >main.cpp: >--------- >#include <wx/wx.h> >#include "basic.h" > >IMPLEMENT_APP(BasicApplication) > >bool BasicApplication::OnInit() >{ > BasicFrame > *frame = new BasicFrame("Basic", 50, 50, 450, 300); > > frame->Show(TRUE); > SetTopWindow(frame); > return TRUE; >} > >BasicFrame::BasicFrame > (const wxChar *title, > int xpos, int ypos, > int width, int height) > : wxFrame > ( (wxFrame *) NULL, > -1, > title, > wxPoint(xpos, ypos), > wxSize(width, height) > ) >{ > >} > >BasicFrame::~BasicFrame() >{ > >} > >basic.h >------- >#ifndef BASIC_H >#define BASIC_H > >class BasicApplication : public wxApp >{ > public: > virtual bool OnInit(); >}; > >class BasicFrame : public wxFrame >{ > public: > BasicFrame( const wxChar *title, > int xpos, int ypos, > int width, int height); > ~BasicFrame(); > >}; >#endif > >This program is pretty straightforward. >I've added the include paths, so the wx-headers are found. My first error is > >*** 320 C:\DEV-CPP\include\wx\defs.h >redeclaration of C++ built-in type `bool'*** > >I also get errors like: > >*** 6 C:\DEV-CPP\include\wx\wxchar.h:429 >#error "Please define string case-insensitive compare for your OS/compiler" *** > >and > >*** 99 C:\DEV-CPP\include\wx\font.h >virtual outside class declaration *** > >Is there some option(s) I should activate/deactivate in Dev-C++ that I've missed? Should I reinstall wxWindows or does it not work with 4.9.7.0? > >Hopefully you've had the same problems and there is some silly thing I've missed... > >TIA > >//Jonatan > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >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: Matthews <dem...@uw...> - 2002-12-08 16:51:19
|
Another thing I'd like to see:
support for borland style asm codeblocks. Dev-C++ doesn't seem to
recognise things like
asm {
}
as real assembly code, therefore it gives errors.
At 02:19 AM 08/12/2002 +0200, Esa Vuokko wrote:
>Hi,
>
>I hope this is good place to post wishlist :-)
>
>There are couple of nits that annoy me (I use dev-cpp
>just as an editor, so this all about that)
>
>* Ablity to make ctrl+tab to work as in most windows apps.
> So that it would change between windows on single press
> and change between more if you keep ctrl pressed and
> press tab many times.
>* Ability to choose ctrl+f4 to close tab and alt+f4 to
> close the program
>
>Other nitpicks:
>
>* export keyword is not highlighted, as aren't alternative
> tokens (and,and_eq,bitand,bitor,compl,not,not_eq,or,
> or_eq,xor,xor_eq).
>* nor are trigraph sequences recognised, but this is really
> small thing ;-).
>
>(I am sure you will or have fixed the bug with
>certain characters beginning the line inside some classes
>and stuff, but for that crash I sent an bug report,
>it's by far most annoying problem for me atm.)
>
>
>Regards and thanks for the nice editor,
>Esa
>
>PS. CC me on replies as I am not subscribed.
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>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: Jonatan <jon...@ho...> - 2002-12-08 13:47:50
|
Hello! I'm currently looking into the wxWindows-framework. Using the latest 4.9.7.0 IDE, I get 394 errors upon compiling a very simple= program. This is how my simple program looks like (taken from a tutorial at http://w= ww.codelearn.com/cpp/icpp_wx1.html): main.cpp: --------- #include <wx/wx.h> #include "basic.h" IMPLEMENT_APP(BasicApplication) bool BasicApplication::OnInit() { BasicFrame *frame =3D new BasicFrame("Basic", 50, 50, 450, 300); frame->Show(TRUE); SetTopWindow(frame); return TRUE;=09 } BasicFrame::BasicFrame (const wxChar *title, int xpos, int ypos, int width, int height) : wxFrame ( (wxFrame *) NULL, -1, title, wxPoint(xpos, ypos), wxSize(width, height) ) { } BasicFrame::~BasicFrame() { } basic.h ------- #ifndef BASIC_H #define BASIC_H class BasicApplication : public wxApp { public: =09virtual bool OnInit(); }; class BasicFrame : public wxFrame { public: =09BasicFrame( const wxChar *title, int xpos, int ypos, int width, int height); =09~BasicFrame(); }; #endif This program is pretty straightforward. I've added the include paths, so the wx-headers are found. My first error i= s *** 320 C:\DEV-CPP\include\wx\defs.h redeclaration of C++ built-in type `bool'*** I also get errors like: *** 6 C:\DEV-CPP\include\wx\wxchar.h:429 #error "Please define string case-insensitive compare for your OS/compiler"= *** and *** 99 C:\DEV-CPP\include\wx\font.h virtual outside class declaration *** Is there some option(s) I should activate/deactivate in Dev-C++ that I've m= issed? Should I reinstall wxWindows or does it not work with 4.9.7.0? Hopefully you've had the same problems and there is some silly thing I've m= issed... TIA //Jonatan |
|
From: Big P. <big...@li...> - 2002-12-08 11:37:45
|
I'm using the new 4.9.7.0 executable and I just noticed that whenever I press 'Build' the resource file is recompiled by the resource compiler (windres.exe). Is this a bug or something? -- ______________________________________________ http://www.linuxmail.org/ Now with POP3/IMAP access for only US$19.95/yr Powered by Outblaze |
|
From: <tc...@gm...> - 2002-12-08 06:52:18
|
Hi all,
I have a dynamic_cast problem and I am not comming forward since then in
my project. Therefore I decided too find some help here in ths ML.
OK,
I actually want to implement the iterator design Pattern in order to
iterate through abstract Elements of abstract CollectionObjects.
Therefore I have a class Element and CollectionObject.
Now I have written some concrete implementing classes Directory and File
that are supposed to be both Elements, with the supplement that
Directory is also a CollectionObject.
So I have sth. like
class Element{...}
class FileSystem : public Element { }
class File : public FileSystem {...}
class Directory : public CollectionObject, public FileSystem { ... }
Now I decided to include some Filters, Iteated elements should be
matched by Patterns (abstract class). I have created for this one a
PatternExtension concrete class. It all looks lie this:
class Pattern {
...
public:
virtual bool match( Element *p_Element ) = 0;
}
class PatternExtension : public Pattern
{
...
virtual bool match( Element *p_Element )
{
//here starts the problem:
//writing this instruction is causes an Error from the //compiler.
Therefore I have been looking in my doc.
//and I am convince to be doing it properly....
File *l_File;
if( l_File = dynamic_cast<File *>( p_Element ) != NULL )
{
...
}
/*
Compiler error message:
PatternExtension.cpp:19: cannot dynamic_cast `p_Element' (of type `class
fs::Element *') to type `class fs::File *'
make[1]: *** [PatternExtension.o] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/work/Projects/C++/Project1/fs«
make: *** [all] Fehler 2
*/
}
}
Why then?
I hope I wasn't too long and that I made myself clear enough. I would be
pleased for any hint, tip to help me comming forward.
Thanx
--
Eric Tchepannou
|
|
From: Esa V. <eiv...@bo...> - 2002-12-08 00:19:02
|
Hi, I hope this is good place to post wishlist :-) There are couple of nits that annoy me (I use dev-cpp just as an editor, so this all about that) * Ablity to make ctrl+tab to work as in most windows apps. So that it would change between windows on single press and change between more if you keep ctrl pressed and press tab many times. * Ability to choose ctrl+f4 to close tab and alt+f4 to close the program Other nitpicks: * export keyword is not highlighted, as aren't alternative tokens (and,and_eq,bitand,bitor,compl,not,not_eq,or, or_eq,xor,xor_eq). * nor are trigraph sequences recognised, but this is really small thing ;-). (I am sure you will or have fixed the bug with certain characters beginning the line inside some classes and stuff, but for that crash I sent an bug report, it's by far most annoying problem for me atm.) Regards and thanks for the nice editor, Esa PS. CC me on replies as I am not subscribed. |
|
From: <cg...@wo...> - 2002-12-07 21:05:07
|
Dev has the option for make a library, if you have the beta 5. If not the process is this: 1- gcc -c for each source file. 2- ar -cru libname.a object files. 3- ar -s libname.a You can have them in one directory and after the second step copy the library to the lib directory of dev, or any directory for libs of your own and then make the ar -s on its new location Wobien wrote: >Hello, >I made some functions and classes I want to reuse in other projects. > >I can add the directory with the header files to the include directories and >that works fine. >I also have some .cpp files. It works if I add their object files to the new >project, but then I have to add all the object files one by one to each new >project. > >It does not work if I add the directory with the object files to the library >directories. >Probably I need to make files with extention .a or .lib, but how do I do >that? > >How can I make a real new library directory? > >Wobien > > > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >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: <cg...@wo...> - 2002-12-07 21:05:02
|
I hope this helps a little. Use sys/stats.h, dirent.h and those files used for directory and file management. In sys/stat.h is defined an struct anf functions for files, this structs have three members of time: the creation date, last access and modification. Read at the documentation of libc (You can find it as chm file from a link in www.mingw.org documentation section, chapter 15) we...@ha... wrote: >Hi Guys, > >I need implement in my code a funciont that copy a directory recursively >(the directory and subdirectory) but only the updated files. Someone know >how to do it ?? > >ps.: I use always FileCopy() but it didn't copy updated files only i >think... :/ > >Thkz a lot... > >Best Regards.. > >[ ]'s > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >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: <cg...@wo...> - 2002-12-07 21:04:57
|
In your Borland directory you shall have a help file where it tells you what is each executable there. Here some tips, yes, I imagine you already know that, but anyway: Your suppositions are right (but not sure about windres equivalence, for resource files) gdb is the debugger, its equivalent is TD32.exe dllwrap is for building dlls. gprof is the profiler ilink32 is the linker, the equivalent of gcc's ld; coff2omf is for convert lib files in coff format (the one used by mingw) to omf (the one used by borland). trygraph sounds to be the profiler. Carl Franks wrote: >Hi, > >I'm trying to set up Dev-C++ to use the borland cbuilder 5.5 compiler. >I'm running win98 (rel. 2) >Dev-C++ 4.9.6.0 > >I have set the compiler directories to point to the relevent bcc55 >directories, but when it comes to setting the program filenames, I'm not >sure which bcc55 ones corresond to the gcc names. > >The filenames needing set are, >gcc, g++, make, gbd, windres, dllwrap, gprof > >The contents of my \Bcc55\Bin directory are, >bcc32.exe, brc32.exe, brcc32.exe, builtins.mak, cc3250.dll, cc3250mt.dll, >coff2omf.exe, cpp32.exe, fconvert.exe, grep.exe, ilink32.exe, impdef.exe, >implib.exe, lnkdfm50.dll, make.exe, rlink32.dll, rw32core.dll, tdump.exe, >tlib.exe, touch.exe, trigraph.exe > >I think that, >gcc should be set to bcc32.exe >g++ should be set to cpp32.exe >make should be set to make.exe >windres should be set to ws32.exe ??? >but can't figure out any others. > >I've been searching google for explanations of each file, to try figure it >out myself, but haven't come across anything. >Any help with this would be _most_ appreciated! > >(if anyone has done this already, a copy'n'paste of your DVCPP.ini file >would be great!) > >I posted this question to the dev-cpp-users forum at sourceforge several >days ago, but received no reply. >My apologies to anyone that has had to read this twice. > >Carl Franks > >-- >Barry White saved my life. >And if Barry White saved your life or got you back with your ex-wife, >sing Barry White... Barry White... it's alright... > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >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: <cg...@wo...> - 2002-12-07 21:04:38
|
At the end I achieved to make it work. With my own function, setprecision(n) and setiosflags(ios::fixed). Then I tried with the code using the standard functions and the result was the same, as it would be expected. I don't understand the reason for this, that setprecision doesn't affect the precision, and is ios::fixed which really affect it (although perhaps it would need setprecision be set before). But I understand that if I set the precission to 6, e.g, I want to print all the significants numbers till the sixth decimal, and with exact precission, so if it sees the number 175.240236845 it will print the six decimals, having so 175.240237, but I don't want it to cut the number in its second decimal, giving 175.24, or adjusting from the third and leaving the rest being wrong, as seeing 54.2548245 and give 54.255387. That shall be the mission of setprecision, the ios::fixed is for displaying not significant 0s till reaching the total of decimals especified by the precision option, so with number 2.24504800000 being this: setprecision[p](9) ios::fixed[f] not defined: 2.245048 p(2) f not 2.25 p(9) f yes 2.245048000 p(2) f yes 2.251558745 |
|
From: Eric R. <e.r...@pa...> - 2002-12-07 20:19:40
|
In the past month I have gone to linux, while this is no trouble, I could= =20 still help with C++ theory all thou the other day I help someone and I ha= d to=20 pull out my old school text book, I am still setting up Linux, then I cou= ld=20 use KDevelop to do C++ Someone told me in France they have gone to linux and all the school chil= dren=20 there can write computer program, while in New Zealand we have brown nose= d=20 the big "G" and our children do ?????? (it beats me) =20 --=20 =46rom Eric=20 (KMail 1.4.3 in Linux, SuSE 8.1) http://www.oh-bugger.net.nz http://homepages.paradise.net.nz/erichard/ NO ATTACHMENT WAS SENT WITH THIS EMAIL IF THERE IS ONE IT IS A UNDETEC= TED=20 VIRUS, IF THERE IS ONE PLEASE LET ME KNOW .... |
|
From: Zachary U. <ne...@st...> - 2002-12-07 18:59:13
|
At 06:32 AM 12/7/02, you wrote: >matrix.h was included in grpah-adj, graph.adj.h was included from >main.cpp. The only error is in matrix.h, line 76. I don't see what's in >this line or the previous, watch at them, perhaps some silly mistake like >having seen at it and pressed a key. (I assume you compiled it >successfully with 4.9.6.0). Are you using some non-english character? It >also sounds like you are using some bad syntax like saying Matrix(Type), >or using a wrong kind of variable there. Thanks Carlos. Yes it was a silly error I overlooked. I had "))" instead of what I needed was just ")" hehe. The code compiles fine now. Zach Zachary Uram John 3:16 <>< |
|
From: <or...@vp...> - 2002-12-07 18:31:33
|
Hi!
> Probably I need to make files with extention .a or .lib, but how do I do
> that?
> How can I make a real new library directory?
You need the archiver (ar.exe) tool. Read the attachments carefully! (or
your gcc documentation :)
But I think dev-cpp can 'compile' things into libraries, you just need
to set the project to "library".
Libraries are better than .o (object) files, because when you link from
a library, only those functions are put into the exe, which are needed.
If you link an object file to an exe, the whole stuff will be linked
into it, even if you don't use all the functions from the object file.
I think it would be best for you to create a Library project with those
files, and use the compiled library in your programs.
I hope that helps.
--
Best wishes
OROSZI Balázs
|
|
From: Matthews <dem...@uw...> - 2002-12-07 17:17:07
|
Add C:\<directory name here>\include\c++\mingw32 to your compiler options and it should work fine. At 12:23 AM 07/12/2002 +0100, you wrote: >Lahsen, > >Its an install problem.. here (4.9.7.0) it compile without problem. > >Luc > >At 23:34 06/12/2002 +0100, Lahsen BAALI wrote: >> Hello, >> The folowing code compile and run well with dev-cpp 4.9.6 > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >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: Matthews <dem...@uw...> - 2002-12-07 17:17:05
|
There's an updated version of commctrl.h that you can download with vUpdate. See if that helps. At 09:49 AM 06/12/2002 -0300, you wrote: > I have a problem whuen include commctrl.h header ina a project i.e. ><> When compile the project i obtain a lot of errors. Can you help me > Christian |
|
From: Matthews <dem...@uw...> - 2002-12-07 17:17:03
|
Wouldn't this line=20
>f2("an integer");
cause an error because it's passing a quoted string rather than an integer
name or value? Remember, the function was declared like so:
>void f2 (int);
At 10:38 AM 06/12/2002 -0200, you wrote:
>You should use prototypes to define the functions you need
>in your main function.=20
>Define your prototypes before the main function or
>in another file (.h). The code for your functions=20
>can be after your "main".
>
>In your case, the prototypes would be:
>void FuctionOne(void);
>void FuctionTwo(void);
>
>Basically, they are the headers of functions with
>a ";" at the end.
>
>So you have, for instance:
>1) prototypes
>void f1 (void);
>void f2 (int);
>
>2) main function
>void main() {
>...
> f1();
> f2("an integer");
>...
>}
>
>3) implementation of the functions you define
>void f1 (void) {
> int myInt;=20
>...
> f2(myInt);
>...
>}
>
>void f2 (int anInt) {
>...
>}
>
>Read more about prototypes and functions in
>http://www.cplusplus.com/doc/tutorial/tut2-2.html
>
>Regards,
>Rafael=20
>
>C=F3pia Dondolo Mpho <MDo...@OL...>:
>
>> Hi all,
>>=20
>> I am in the process of learning C++. I have been practising, writing my
>> own
>> functions and using main() only to call those function. I also use
>> those
>> functions to call up other function....
>>=20
>> //e.g.: function (1)
>>=20
>> void FuctionOne(void)
>> {
>> int Answer=20
>> cout<<"Are you ready...<press 1 for yes and 2 for no> ";
>> cin>>Answer;
>> if(Answer=3D=3D1)
>> {
>> cout<<"\nI am glad that you are";
>> }
>>=20
>> else
>> {
>> FuctionTwo();
>> }
>>=20
>> }
>>=20
>> //Here I have my=20
>> //FunctionTwo
>>=20
>> Now I find that the compiler flags
>> an
>> error msg that FunctionTwo has not been declared. it only works when I
>> take
>> FunctionTwo() and put it on top of =20
>> FunctionOne()....i am I doing
>> something
>> wrong? The thing is I might decide halfway through my functions That i
>> want
>> function x to call function=20
>> y. Now If i have to readjust my
>> functions half way through, i will loose track of what I am
>> doing.....Please
>> help anybody =20
>>=20
>> =20
>> Mpho Dondolo
>> Support Analyst
>> CSC Computer Sciences (South Africa) (Pty) Ltd
>> Tel: +27 21 503030164
>> cell: +27 84 3371468
>> Fax: +27 21 5095619
>> Email:MDo...@ol...
>> Email: MDo...@cs...
>> =20
>>=20
>>=20
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>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: Wobien <wo...@pl...> - 2002-12-07 16:53:39
|
Hello, I made some functions and classes I want to reuse in other projects. I can add the directory with the header files to the include directories and that works fine. I also have some .cpp files. It works if I add their object files to the new project, but then I have to add all the object files one by one to each new project. It does not work if I add the directory with the object files to the library directories. Probably I need to make files with extention .a or .lib, but how do I do that? How can I make a real new library directory? Wobien |
|
From: <cg...@wo...> - 2002-12-07 11:37:31
|
Add the directory to the include directories for C and for C++ in the compiler options dialog. Lahsen BAALI wrote: > Hello, > I try dev-cpp 4.9.7 with a default project console application without add >any code c++. > I have message: > "In file included from >main.cpp:1:c:/Dev-cpp/include/c++/iostream:44:28:bits/c++config.h: No such >file or directory" > >???????????????????????????????????????????!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! >!!!!!!! ;-))))))) > > I find file c++config.h but in c:/Dev-cpp/include/c++/mingw32/bits >;-)))!!!! > > How get all right for dev-cpp 4.9.7? > > Thuks for your help :-) > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >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: <cg...@wo...> - 2002-12-07 11:36:32
|
> > Compiler: Default compiler > Building Makefile: "C:\Dev-Cpp\Makefile.win" > Executing make... > make.exe -f "C:\Dev-Cpp\Makefile.win" all > g++.exe -c main.cpp -o main.o -I"C:/DEV-CPP/include" > -I"C:/DEV-CPP/include" > > In file included from graph-adj.h:12, > from main.cpp:9: > matrix.h: In method `Matrix<Type>::Matrix(int, int, const Type &)': > matrix.h:76: parse error before `)' matrix.h was included in grpah-adj, graph.adj.h was included from main.cpp. The only error is in matrix.h, line 76. I don't see what's in this line or the previous, watch at them, perhaps some silly mistake like having seen at it and pressed a key. (I assume you compiled it successfully with 4.9.6.0). Are you using some non-english character? It also sounds like you are using some bad syntax like saying Matrix(Type), or using a wrong kind of variable there. > > > g++.exe -c graph-adj.cpp -o graph-adj.o -I"C:/DEV-CPP/include" > -I"C:/DEV-CPP/include" > > In file included from graph-adj.h:12, > from graph-adj.cpp:8: > matrix.h: In method `Matrix<Type>::Matrix(int, int, const Type &)': > matrix.h:76: parse error before `)' The same error, which is reported twice. > > g++.exe main.o graph-adj.o -o "graph-adj.exe" -L"C:/DEV-CPP/lib" > -I"C:/DEV-CPP/include" -I"C:/DEV-CPP/include" > > G__~1.EXE: main.o: No such file or directory > G__~1.EXE: graph-adj.o: No such file or directory > G__~1.EXE: No input files Due to the error in the matrix.h graph.adj.cpp was not compiled, neither cpp, so when it tries to link it doesn't find the object files. Hope this helps |
|
From: Christian R. <cr...@da...> - 2002-12-07 02:25:13
|
#include <windows.h>=0D #include <commctrl.h> Work fine=0D =0D =0D #include <commctrl.h> =0D #include <windows.h> FAIL !!!!!!!!!!!!=0D =0D -------Original Message-------=0D =0D From: Christian Rossi=0D Date: Friday, December 06, 2002 23:16:45=0D To: dev...@li...=0D Subject: [Dev-C++] commctrl.h=0D =0D I have a problem whuen include commctrl.h header ina a project =0D i.e. =0D #include <commctrl.h>=0D =0D When compile the project i obtain a lot of errors.=0D Can you help me =0D =0D Christian |
|
From: Christian R. <cr...@da...> - 2002-12-07 02:23:35
|
Hello=0D =0D I try to use the message WM_KEYUP in the DIalogProc of the Dialog to intercept keybord activity in the dialog.=0D =0D WM_KEYUP never arrive.=0D =0D Thanks |