dev-cpp-users Mailing List for Dev-C++ (Page 149)
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: Per W. <pw...@ia...> - 2005-02-24 07:10:10
|
Don't you want to link the libraries? In that case, the options should be like: -lglut i.e. -l means link library and glut means select library libglut.a /Per W On Thu, 24 Feb 2005, Gabor Kalman wrote: > As so many other, I have problem with glui!!! > =A0 > As recommended I downloaded/installed:=A0=A0 glut.3.7.6+=A0 and=A0 glui.2= =2E2-1 > =A0 > Added to Project-Options-Paramaters: -glui, -glut, -glue and -opengl32 > =A0 > linked the directories: > =A0\include\gl\ > \lib\ > =A0 > =A0 > Yet I get the following comiler messages: > =A0 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > Compiler: Default compiler > Building Makefile: "C:\ccc\Makefile.win" > Executing=A0 make... > make.exe -f "C:\ccc\Makefile.win" all > g++.exe example1.o=A0 -o "Project_glui.exe" -L"C:/Dev-Cpp/lib" -L"C:/Dev-= Cpp_2/lib" -glui -glut -glue -opengl32=A0 > example1.o(.text+0x7):example1.cpp: undefined reference to `glutGetWindow= @0' > example1.o(.text+0x1c):example1.cpp: undefined reference to `glutSetWindo= w@4' > ---- > ... > --- > example1.o(.text+0x3d1):example1.cpp: undefined reference to `GLUI_Master= ' > example1.o(.text+0x3d6):example1.cpp: undefined reference to `GLUI_Master= _Object::create_glui(char*, long, int, int)' > --- > ... > ---- > example1.o(.text+0x471):example1.cpp: undefined reference to `GLUI::set_m= ain_gfx_window(int)' > example1.o(.text+0x480):example1.cpp: undefined reference to `GLUI_Master= ' > example1.o(.text+0x485):example1.cpp: undefined reference to `GLUI_Master= _Object::set_glutIdleFunc(void (*)())' > example1.o(.text+0x48a):example1.cpp: undefined reference to `glutMainLoo= p@0' > collect2: ld returned 1 exit status > make.exe: *** [Project_glui.exe] Error 1 > Execution terminated > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =A0 > Could someone please help with an appropriate tutorial/desription/instruc= tions > =A0 > Thanks > ------------------------------------------------------- SF email is spons= ored by - The IT Product Guide Read honest & candid reviews on hundreds > of IT Products from real users. Discover which products truly live up to = the hype. Start reading now. > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick ___________= ____________________________________ Dev-cpp-users mailing list > Dev...@li... TO UNSUBSCRIBE: http://www23.brinkste= r.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Gabor K. <kal...@ms...> - 2005-02-24 06:12:52
|
<html><div style='background-color:'><DIV class=RTE>As so many other, I have problem with glui!!!</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>As recommended I downloaded/installed: glut.3.7.6+ and glui.2.2-1</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>Added to Project-Options-Paramaters: -glui, -glut, -glue and -opengl32</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>linked the directories:</DIV> <DIV class=RTE> \include\gl\</DIV> <DIV class=RTE>\lib\</DIV> <DIV class=RTE> </DIV> <DIV class=RTE> </DIV> <DIV class=RTE>Yet I get the following comiler messages:</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>============================</DIV> <DIV class=RTE>Compiler: Default compiler<BR>Building Makefile: "C:\ccc\Makefile.win"<BR>Executing make...<BR>make.exe -f "C:\ccc\Makefile.win" all<BR>g++.exe example1.o -o "Project_glui.exe" -L"C:/Dev-Cpp/lib" -L"C:/Dev-Cpp_2/lib" -glui -glut -glue -opengl32 </DIV> <DIV class=RTE>example1.o(.text+0x7):example1.cpp: undefined reference to <A href="mailto:`glutGetWindow@0'">`glutGetWindow@0'</A><BR>example1.o(.text+0x1c):example1.cpp: undefined reference to <A href="mailto:`glutSetWindow@4'">`glutSetWindow@4'</A><BR><A href="mailto:`glEnable@4'"></A>----</DIV> <DIV class=RTE>...</DIV> <DIV class=RTE>---<BR>example1.o(.text+0x3d1):example1.cpp: undefined reference to `GLUI_Master'<BR>example1.o(.text+0x3d6):example1.cpp: undefined reference to `GLUI_Master_Object::create_glui(char*, long, int, int)'<BR>---</DIV> <DIV class=RTE>...</DIV> <DIV class=RTE>----</DIV> <DIV class=RTE>example1.o(.text+0x471):example1.cpp: undefined reference to `GLUI::set_main_gfx_window(int)'<BR>example1.o(.text+0x480):example1.cpp: undefined reference to `GLUI_Master'<BR>example1.o(.text+0x485):example1.cpp: undefined reference to `GLUI_Master_Object::set_glutIdleFunc(void (*)())'<BR>example1.o(.text+0x48a):example1.cpp: undefined reference to <A href="mailto:`glutMainLoop@0'">`glutMainLoop@0'</A><BR>collect2: ld returned 1 exit status</DIV> <DIV class=RTE>make.exe: *** [Project_glui.exe] Error 1</DIV> <DIV class=RTE>Execution terminated<BR></DIV> <DIV class=RTE>=============</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>Could someone please help with an appropriate tutorial/desription/instructions</DIV> <DIV class=RTE> </DIV> <DIV class=RTE>Thanks</DIV></div></html> |
|
From: Bhuvaneswaran A <bh...@sy...> - 2005-02-24 04:24:35
|
> > Just wondering if it is possible to get a file's last modified date, > or the created date ? I need this for a server side project that I am > working on, but the program will have to check the actual date of the > file. How can I do this in C or C++ using MS Windows ? You can use stat function to get all the attributes of a file. It includes, file size, creation time, modification time, access time, etc. -- Regards, Bhuvaneswaran A |
|
From: Wayne J M. <wj...@ul...> - 2005-02-24 02:43:42
|
Hey, Just wondering if it is possible to get a file's last modified date, or the created date ? I need this for a server side project that I am working on, but the program will have to check the actual date of the file. How can I do this in C or C++ using MS Windows ? -- This email was scanned for a virus with an up to date virus database, on the sender's PC. We will not be held responsible, should this email become infected. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 2/22/2005 |
|
From: Ferro <fer...@ya...> - 2005-02-24 02:06:17
|
Is there a library/package for smart card PC/SC reader in Dev-C++? For example in Visual C we can use WINSCARD.LIB. Regards, ferro |
|
From: Daniel D. <dan...@pl...> - 2005-02-23 23:16:12
|
Hi all Does anyone have some links to good documentation on constraint = satisfactory algorithms ? Thanx anyways DD |
|
From: Alfred P. R. <al...@ya...> - 2005-02-23 23:12:16
|
Thanks for the help, Matthew, but it was to no avail! The closest I got was: WINDOWS/inf/apps.inf:INSIGHT.BAT=%INSIGHT.BAT%,moricons.dll,1,,INSIGHT.BAT WINDOWS/inf/apps.inf:[INSIGHT.BAT] WINDOWS/inf/apps.inf:INSIGHT.BAT="Insight" The actual commands where: cd /c grep -r -E [Ii][Nn][Ss][Ii][Gg][Hh][Tt] * > /d/search.txt I'll try on the Insight mailing list! Mat...@Ve... wrote: My advice is that (take a coffee break when you do this) you try the following with Cygwin: find -print0 /cygdrive/c -type f | xargs -0 grep -E [Ii][Nn][Ss][Ii][Gg][Hh][Tt] <snip> Alfred P. Reaud |
|
From: <Mat...@Ve...> - 2005-02-23 23:07:56
|
Must use the build command after using the compile command, I think. -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Austin Scholze Sent: Wednesday, February 23, 2005 3:05 PM To: dev...@li... Subject: [Dev-C++] (no subject) Hi, I'm just getting started with Dev-C++ and I just need a simple question answered. how do you make and .exe file? , it compiles and all that, I just cant get it to make a .exe file, like one I could send to my friend. if you could tell me how I would be most grateful. Thank you. ___________________________________________________________________ The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. |
|
From: Austin S. <Aus...@co...> - 2005-02-23 23:04:39
|
Hi,=20 I'm just getting started with Dev-C++ and I just need a simple question = answered. how do you make and .exe file? , it compiles and all that, I = just cant get it to make a .exe file, like one I could send to my = friend. if you could tell me how I would be most grateful. Thank you. |
|
From: <Mat...@Ve...> - 2005-02-23 21:33:34
|
My advice is that (take a coffee break when you do this) you try the following with Cygwin: find -print0 /cygdrive/c -type f | xargs -0 grep -E [Ii][Nn][Ss][Ii][Gg][Hh][Tt] That will search for the string Insight (in any combination of case) in all of C:. Surely somewhere in there something will come up if you pick the right string. Make sure to pick something you know it ought to be storing based on what it brings up when it starts. Note that what might look like "capital oh" above is actually "zero". -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Alfred P. Reaud Sent: Wednesday, February 23, 2005 1:15 PM To: Dev-Cpp UserList Subject: Re: [Dev-C++] strange things ? I've a question for anybody who uses Insight, though this isn't the proper list. Where does Insight place the initialization information for windows positions and the file being debugged on? I can't seem to reset the Insight environment, even with de and re-installation. I've scanned through all folders with find, and have even looked in the Windows registry with a registry editor to no avail. Any help would be appreciated! ___________________________________________________________________ The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. |
|
From: Alfred P. R. <al...@ya...> - 2005-02-23 21:15:35
|
Check to see that nothing is running from yesterday that accessed the files. I.e. look in Task Manager (I'm assuming Windows) for a still active process that used those files. I've had that problem before using PrintKey 2000 (a screen capture program) and with the Insight debugger if it is active and had accessed the exe that you where compiling. I've a question for anybody who uses Insight, though this isn't the proper list. Where does Insight place the initialization information for windows positions and the file being debugged on? I can't seem to reset the Insight environment, even with de and re-installation. I've scanned through all folders with find, and have even looked in the Windows registry with a registry editor to no avail. Any help would be appreciated! HG <hen...@ho...> wrote: Hi :) I compiled without problems since yesterday... But today i have a funny thing : i can't clean the project for " permission denied " ? i tried to delete it in cmd.. but i got the same problem ? anyhelp thanks Henri <snip> Alfred P. Reaud |
|
From: HG <hen...@ho...> - 2005-02-23 17:28:18
|
Hi :) I compiled without problems since yesterday... But today i have a funny thing : i can't clean the project for " permission denied " ? i tried to delete it in cmd.. but i got the same problem ? anyhelp thanks Henri |
|
From: <Mat...@Ve...> - 2005-02-23 15:51:57
|
I have had funny problems with those things as well. I report bugs whenever I get error screens, but I don't know of a fix for them. Sorry I can't help, but just wanted to substantiate your points with another supporter. -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Josh Matthews Sent: Tuesday, February 22, 2005 7:49 PM To: dev...@li... Subject: [Dev-C++] Large projects are bad for Dev-C++ I just updated to 4.9.9.2 (not the most recent fix for project options build, but the official release before that) and now I'm having problems with the Half-Life SDK projects I use for modding. Prior to this version, Dev-C++ was relatively stable, it would take a while to save and load and all that, but it was manageable. In the new build, it is impossible for me to save at least hud.cpp from the Half-Life client SDK (maybe other files, I haven't tested), because the parser gets stuck in an infinite loop between demo_api.h and cl_entity.h. This didn't happen before, and I am relegated to making all my changes and compiling in order to save the file without having Dev-C++ crash on me. The only fix I can think of is turning off the class browser and code completion, which I'd rather not do for a project this large. Any suggestions or workarounds? Josh ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ 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 ___________________________________________________________________ The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. |
|
From: <Mat...@Ve...> - 2005-02-23 15:50:17
|
The compiler is confused because you never defined that exception class.
The base exception classes in GNU compilers are in the header <stdexcept>.
Here are the ones available, in an inheritance hierarchy (all are in std
namespace of course):
Parent: exception
Middle Level: logic_error runtime_error
Children: domain_error range_error
length_error overflow_error
invalid_argument underflow_error
out_of_range
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of
A_B...@gm...
Sent: Tuesday, February 22, 2005 6:44 PM
To: dev...@li...
Subject: [Dev-C++] Exceptions
Hi,
in standart C/C++ I learned this syntax:
try{
// some code
}catch(CFileException* e){
// some code
e->Delete();
}
but Dev says "syntax error before '*' token" !!!
Well, I think CFileException was not declared !?!?!
What is the correct use of "catch" with Dev-C++ ????
thx, Acki
___________________________________________________________________
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof. Thank you.
|
|
From: <Mat...@Ve...> - 2005-02-23 15:46:49
|
Not quite correct here on point (2). The conflict only appears if you include STL headers like <map> where the pair class is brought in. There are however some issues to consider that this point brings up: Don't reuse library identifiers for incorrect purposes. Make sure to follow the conventions on capitalizing things to avoid this. For example, normally your "pair" class would be called Pair. Also, don't import the std namespace globally level. Import it only in functions where it's necessary. NEVER import std into library functions or header files, because it could be very confusing for people who come after you if your code forces them to include the std namespace when they are not expecting this behavior. Another thing, if your code imports std, import it in a consistent manner across all functions so that people know what to expect. -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Michal Molhanec Sent: Tuesday, February 22, 2005 5:13 PM To: Gabor Kalman Cc: dev...@li... Subject: Re: [Dev-C++] Can "class templates" be handled by Version 4.9.9.1 ? 2) the std namespace contains class pair, so because you have > using namespace std; at the top of the file it creates conflict. You must either rename your class or stop using "using namespace std;" ___________________________________________________________________ The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. |
|
From: Salvador P. C. <sal...@co...> - 2005-02-23 13:35:23
|
Estimado Slackrat, Con fecha miércoles, 23 de febrero de 2005, 3:46:53, escribió: S> Windows newbie Hello: S> I searched and didn't seem to find a GUI Resource Editor S> Can anyone recommend one? Try this: http://radasm.visualassembler.com/projects/ResEd.zip Or, search in: http://radasm.visualassembler.com/ Project: ResEd version 1.1.0.6 (02-20-2005) S> Muchos gracias Hasta pronto. -- Saludos, Salvador mailto:sal...@co... Con Clase: http://www.conclase.net |
|
From: Bhuvaneswaran A <bh...@sy...> - 2005-02-23 10:11:06
|
> Maybe you should explain exactly why it is important to check the file > modify time. Isn't it enough for the B app to just check size and read the > new information - similar to the "tail" program. > Thankx a lot for your reply! The need is something like, i have the start time & end time. I should locate the portion of the data belonging to this duration. It would be located anywhere in that file. So, as you suggest i would re-write my code in such a way that it would locate the data based on current file size instead of the file modification time. But, my doubt is, if this is the case, is it wise to depend of the file attribute ? Will it be consistent ? Is there any other smart way to do this ? Regards, Bhuvaneswaran A |
|
From: <Bah...@ao...> - 2005-02-23 08:28:50
|
is there any way to edit the script of an already compiled exe file? in other words, is there a way i can get the c++ script for a program i am using.... |
|
From: Per W. <pw...@ia...> - 2005-02-23 08:27:23
|
Directory updates are a OS-related thing, and not so much we can do anything about. Maybe you should explain exactly why it is important to check the file modify time. Isn't it enough for the B app to just check size and read the new information - similar to the "tail" program. Also, remember that for Windows you can add a supervision subscription for a file or director and get events when something happens with the file without constantly polling the file. /Per W On 22 Feb 2005, Bhuvaneswaran A wrote: > Hi, > > I am using winxp & dev cpp 4.9.8. I have an application, say 'A' to > write binary data to a file continuously. I have another application, > say 'B' to read data from that file. Application B uses the file > attributes (ctime & mtime) to read a portion of that file. > > The problem here is, the file size is increasing, but mtime is always > set to ctime + 2 seconds, till, either we terminate the application or > close that file. The problem exists either when we browse the attributes > of the file through windows explorer or from application 'B'. > > Why is the mtime of the file not changing ? Should i have to use any > other option while writing data to that file ? Please help. > > I have googled for details, but couldn't find a solution. > -- > Regards, > Bhuvaneswaran A > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Per W. <pw...@ia...> - 2005-02-23 07:37:38
|
The try/catch code looks correct.
However, you must either declare the class CFileException, or #include a
file that declares it. The MFC application framework has a CFileException
class.
/Per W
On Wed, 23 Feb 2005 A_B...@gm... wrote:
> Hi,
> in standart C/C++ I learned this syntax:
>
> try{
> // some code
> }catch(CFileException* e){
> // some code
> e->Delete();
> }
>
> but Dev says "syntax error before '*' token" !!!
> Well, I think CFileException was not declared !?!?!
> What is the correct use of "catch" with Dev-C++ ????
>
> thx, Acki
>
>
|
|
From: Josh M. <mrl...@gm...> - 2005-02-23 03:48:45
|
I just updated to 4.9.9.2 (not the most recent fix for project options build, but the official release before that) and now I'm having problems with the Half-Life SDK projects I use for modding. Prior to this version, Dev-C++ was relatively stable, it would take a while to save and load and all that, but it was manageable. In the new build, it is impossible for me to save at least hud.cpp from the Half-Life client SDK (maybe other files, I haven't tested), because the parser gets stuck in an infinite loop between demo_api.h and cl_entity.h. This didn't happen before, and I am relegated to making all my changes and compiling in order to save the file without having Dev-C++ crash on me. The only fix I can think of is turning off the class browser and code completion, which I'd rather not do for a project this large. Any suggestions or workarounds? Josh |
|
From: Slackrat <ab...@to...> - 2005-02-23 03:08:30
|
Windows newbie I searched and didn't seem to find a GUI Resource Editor Can anyone recommend one? Muchos gracias --=20 Slackrat |
|
From: <A_B...@gm...> - 2005-02-23 02:41:52
|
Hi,
in standart C/C++ I learned this syntax:
try{
// some code
}catch(CFileException* e){
// some code
e->Delete();
}
but Dev says "syntax error before '*' token" !!!
Well, I think CFileException was not declared !?!?!
What is the correct use of "catch" with Dev-C++ ????
thx, Acki
|
|
From: Michal M. <mi...@mo...> - 2005-02-23 01:12:33
|
Hello,
there are two problems with your code:
1) the line
> pair<T>::getmax ()
should be
T pair<T>::getmax ()
2) the std namespace contains class pair, so because you have
> using namespace std;
at the top of the file it creates conflict. You must either rename your
class or stop using "using namespace std;"
--
Regards,
Michal
|
|
From: Alfred P. R. <al...@ya...> - 2005-02-22 23:53:18
|
Yes, they are used throughout the implementation as tcc files. Look in devcpp/include/c++/3.3.1/bits for examples. Gabor Kalman <kal...@ms...> wrote: Can "class templates" be handled by Version 4.9.9.1 ? I am testing a sample from: http://www.cplusplus.com/doc/tutorial/tut5-1.html <snip> Alfred P. Reaud |