dev-cpp-users Mailing List for Dev-C++ (Page 443)
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: <ru...@wp...> - 2003-02-08 00:11:55
|
I recently tried to switch to the "official" MinGW/MSYS, so I:
- uninstalled Dev-C++
- deleted everything (except my current works) from Dev-Cpp dir
- installed MingW
- installed MSYS
- compiled wxWindows with MSYS to check if everything works :-)
Now vUpdate complains (not allowing to copy and paste the error message,
so retyping here, AAARGHH!):
* Error: Your devcpp.cfg file is missing
the $INCLUDE field in its
[VUPDATE] section...
Well, the devcpp.cfg file is *missing* in the first place. I deleted it
when uninstalling the compiler-equipped version, and the installer of
the exe-only version didn't recreate it. Too bad. I can't autoupdate.
Please help ASAP.
Best regards,
Szczepan Holyszewski
|
|
From: Matthews <dem...@uw...> - 2003-02-07 22:56:47
|
Actually, <filname> looks in your specified include directories, whil "filename" looks in the current. It doesn't search in subdirectories unless you tell it to. I'm assuming you're trying to use functions defined in a library file. Also assuming that the .a or .lib is in your \lib directory, you will want to add "-l<libname>" to your projects options, without the <>s. At 01:30 PM 07/02/2003 -0200, Lucas K. Tavares wrote: >Ok... first .h files are header, not lib files... >to include a header, it doesn't matter within which subdirectory of >"include" it is, all you have to do is: #include <headername.h> it doesn't >need the path, as long as it's within a subdirectory, If I'm not mistaken, >the difference between using " and < when in #include statments is that, < >will look for subdirectories... > >Also as for lib files, they're under your lib directory and are named like >libblah.a so to include a file called like that you go to: Project >> >Project Options and under "Further Object files..." type in -llibname... >sorta like, let's say you wante dot include "libwsock32.a" you'd type in: >"-lwsock32" > >Hope this helps you out... >lkt153 > >----- Original Message ----- >From: "Latrice Wicker" <Lat...@co...> >To: <dev...@li...> >Sent: Friday, February 07, 2003 12:54 PM >Subject: [Dev-C++] Hi, > > >E-mail Premium BOL >Antiv=EDrus, anti-spam e at=E9 100 MB de espa=E7o. Assine j=E1! >http://email.bol.com.br/ >Hi, > >I am having problems using external libraries with Dev-C++.I put the= library >files in the Dev-C++ include directory (under a lvp subdirectory) and then >put the following preprocessor directive statement > > #include <lvp\string.h> > >in my source program. When I try to compile and run the program it gives= me >errors and locks up the compiler. Help! > >Regards, > >Latrice > > > > >------------------------------------------------------- >This SF.NET email is sponsored by: >SourceForge Enterprise Edition + IBM + LinuxWorld =3Domething 2 See! >http://www.vasoftware.com >_______________________________________________ >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 > > > > > >------------------------------------------------------- >This SF.NET email is sponsored by: >SourceForge Enterprise Edition + IBM + LinuxWorld http://www.vasoftware.com >_______________________________________________ >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: Michel W. <mic...@fr...> - 2003-02-07 19:50:15
|
Sorry for this problem I will release a new devpack soon (after the FOSDEM). Jörgen have found a work around. >>Jörgen wrote: >> > > >>>>Hi >>>> >>>>This is what I did today in order to make wxWindows work and compile from >> >> >>inside Dev-Cpp 4.9.7.4 with MinGW 3.2 > > >>>> >>>>1. Go to http://michel.weinachter.free.fr/ and download the three packages >>>>2. Install them with the package manager. >>>>3. Open the 'WxWindows.template' file in your 'Dev-cpp\Templates' >> >> >>directory. > > >>>>4. Change the line 'Compiler=...' to 'CppCompiler=...' >>>> >> >> >>strange I don't need to change that. I will look that as soon as possible. >>Do you use gcc provided by Dev-c++ ? > > |
|
From: Lucas K. T. <lk...@bo...> - 2003-02-07 19:05:07
|
Yes, it may be more stable, but still, it has bugs, and I think what Gabriele was exepriencing is exactly a consequence of that... who knows h= ow well it works on a win98SE system? I know it runs on WinXP, but still it crashes a LOT over here, I used it for about 2 weeks before I moved back = to 4.0, way too many bugs... I advice anyone to use 5.0 but only for helping= on tests, as it probably (when finish) will kick 4.0's butt heh but as for n= o, it still runs a lot worse... so... hehehe Good Luck with that anyway, and sorry for stretching this discussion... lkt153 ----- Original Message ----- From: "Daniel Osmari" <dan...@ya...> To: "Lucas K. Tavares" <lk...@bo...> Sent: Friday, February 07, 2003 3:18 PM Subject: Re: [Dev-C++] Problem with DevCpp 4.9.7.0 under Win 98 II editio= n > E-mail Premium BOL > Antiv=EDrus, anti-spam e at=E9 100 MB de espa=E7o. Assine j=E1! > http://email.bol.com.br/ > > > Version 5.0b is filled with errors, there are many > > errors in supporting languages other than english > > too... don't worry about it, the 5.0b versions are > > under test, you should really use the 4.0 version of > > it and report bugs concerning 5.0b so they can fix > > those... I believe the address for bugs report is: > > www.bloodshed.net/bugs or something like that, they > > have a link to it on the site, and on the docs too, > > I tihnk... > > I think the 4.9 is more stable than 4.0. If the new > featuers are bugged, just disable them. :) > > > Daniel K. O. > > > _______________________________________________________________________ > Busca Yahoo! > O servi=E7o de busca mais completo da Internet. O que voc=EA pensar o Y= ahoo! encontra. > http://br.busca.yahoo.com/ > > |
|
From: Luigi S. <gi...@li...> - 2003-02-07 17:43:21
|
On Wed, Feb 05, 2003 at 03:00:26PM +0100, Lars-Bo Jacobsen wrote: > Hi All > > I would like to use an external package (GNU gsl 1.3) with Dev-C++, it come > as source files an requires to be compiled by using Configure and Make. Does > anyone know of a guide or howto that would guide me through this process, > [...] > > Lars-Bo The article "software building HOWTO" deals with the task of building a package from its source. However, it comes from the Linux world, so don't know if it is of help on a Windows system. Probably you will need things like "MinGW msys" package or CygWin. I have never tried this myself. The latest version of the article should be available on: *) google search *) http://metalab.unc.edu/LDP/HOWTO *) http://www.tldp.org -- >> gisan >> |
|
From: Lucas K. T. <lk...@bo...> - 2003-02-07 15:30:47
|
Ok... first .h files are header, not lib files... to include a header, it doesn't matter within which subdirectory of "include" it is, all you have to do is: #include <headername.h> it doesn'= t need the path, as long as it's within a subdirectory, If I'm not mistaken= , the difference between using " and < when in #include statments is that, = < will look for subdirectories... Also as for lib files, they're under your lib directory and are named lik= e libblah.a so to include a file called like that you go to: Project >> Project Options and under "Further Object files..." type in -llibname... sorta like, let's say you wante dot include "libwsock32.a" you'd type in: "-lwsock32" Hope this helps you out... lkt153 ----- Original Message ----- From: "Latrice Wicker" <Lat...@co...> To: <dev...@li...> Sent: Friday, February 07, 2003 12:54 PM Subject: [Dev-C++] Hi, E-mail Premium BOL Antiv=EDrus, anti-spam e at=E9 100 MB de espa=E7o. Assine j=E1! http://email.bol.com.br/ Hi, I am having problems using external libraries with Dev-C++.I put the libr= ary files in the Dev-C++ include directory (under a lvp subdirectory) and the= n put the following preprocessor directive statement #include <lvp\string.h> in my source program. When I try to compile and run the program it gives= me errors and locks up the compiler. Help! Regards, Latrice ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld =3Domething 2 See! http://www.vasoftware.com _______________________________________________ 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: Lucas K. T. <lk...@bo...> - 2003-02-07 15:16:28
|
I believe that version 4.9.7.0 is the latest version also called 5.0b, = right? Version 5.0b is filled with errors, there are many errors in supporting = languages other than english too... don't worry about it, the 5.0b = versions are under test, you should really use the 4.0 version of it and = report bugs concerning 5.0b so they can fix those... I believe the = address for bugs report is: www.bloodshed.net/bugs or something like = that, they have a link to it on the site, and on the docs too, I = tihnk... Anyway, you should download DEV-C++ 4 for use... not 5, use 5 only for = helping them on beta testing... heh lkt153 ----- Original Message -----=20 From: Gabriele Muscarella=20 To: dev...@li...=20 Sent: Thursday, February 06, 2003 5:37 PM Subject: [Dev-C++] Problem with DevCpp 4.9.7.0 under Win 98 II edition I have a problem with DevCpp ver 4.9.7.0 (the last one). After installed the tool under windows 98 (sec. edition), I have tryed = to create a simple project (e,.g Hello world ) but this project cause the = crash of my pc. The message showed on the monitor is the following: " Error 06 in 0028:C0035297 on VXD IFSMGR(01)+000018D3... close your = application and so on ..." Can you help me ? Best regards Muscarella Gabriele. |
|
From: Latrice W. <Lat...@co...> - 2003-02-07 14:54:33
|
Hi,
I am having problems using external libraries with Dev-C++.I put the libr=
ary files in the Dev-C++ include directory (under a lvp subdirectory) and=
then put the following preprocessor directive statement
#include <lvp\string.h>
in my source program. When I try to compile and run the program it gives=
me errors and locks up the compiler. Help!
Regards,
Latrice
|
|
From: Lars-Bo J. <la...@fo...> - 2003-02-07 10:30:41
|
Hi all
I just installed the WxWindows DevPack in Dev-C++ 4.9.7.5, started a new GUI
project and tried to compile. That is, I did not do anything by my self, but
got these error message from the compiler. Anyone knows what's going on and
how to fix it?
Lars-Bo
Kompiler: Default compiler
Building Makefile: "C:\Documents and Settings\lars_bo\My
Documents\Coding\wxWindows\Makefile.win"
Eksekverer make...
make.exe -f "C:\Documents and Settings\lars_bo\My
Documents\Coding\wxWindows\Makefile.win" all
g++.exe -c main.cpp -o main.o -I"C:/Program Files/Dev-Cpp/include"
In file included from C:/Program Files/Dev-Cpp/include/wx/debug.h:17,
from C:/Program Files/Dev-Cpp/include/wx/defs.h:468,
from C:/Program Files/Dev-Cpp/include/wx/wx.h:15,
from main.cpp:5:
C:/Program Files/Dev-Cpp/include/wx/wxchar.h:429: #error "Please define
string case-insensitive compare for your OS/compiler"
In file included from C:/Program Files/Dev-Cpp/include/wx/memory.h:20,
from C:/Program Files/Dev-Cpp/include/wx/object.h:20,
from C:/Program Files/Dev-Cpp/include/wx/wx.h:16,
from main.cpp:5:
C:/Program Files/Dev-Cpp/include/wx/string.h:170: #error "Please define
string case-insensitive compare for your OS/compiler"
In file included from C:/Program Files/Dev-Cpp/include/wx/cmndata.h:21,
from C:/Program Files/Dev-Cpp/include/wx/wx.h:48,
from main.cpp:5:
C:/Program Files/Dev-Cpp/include/wx/fontutil.h:65: #error "Unsupported
toolkit"
make.exe: *** [main.o] Error 1
Eksekvering afbrudt
|
|
From: Gabriele M. <gab...@ti...> - 2003-02-06 19:39:43
|
I have a problem with DevCpp ver 4.9.7.0 (the last one). After installed the tool under windows 98 (sec. edition), I have tryed = to create a simple project (e,.g Hello world ) but this project cause the = crash of my pc. The message showed on the monitor is the following: " Error 06 in 0028:C0035297 on VXD IFSMGR(01)+000018D3... close your = application and so on ..." Can you help me ? Best regards Muscarella Gabriele. |
|
From: Lucas K. T. <lk...@bo...> - 2003-02-06 14:12:45
|
Ok, thanks, no need to though... appreciate all the help... lkt153 > Sending individual bytes is possible (also in the way you mean), but I > shouldn't recommend it. > This because even for an individual byte over the TCP/IP connection a > complete packet is sent, which means for a individual byte you send the same > amount of bytes over the net, as for let say 1024 bytes (of cause depending > on your MTU settings). > Because of this reason I don't think you can expect functions which do so. > If your application allows it, you better create a class (eg derived from > ostream) with a separate thread, which allows you to put one byte at a time > to the buffer, but sends the buffer when it is full. > If your interested, I can provide you sources, which do something like that. > > > -----Original Message----- > > From: Lucas K. Tavares [mailto:lk...@bo...] > > Sent: Thursday, February 06, 2003 03:11 AM > > To: DEV Cpp List > > Subject: [Dev-C++] Yet another winsock question > > > > > > Ok, this time winsock is working perfectly, but I was > > wondering are there > > any other functions other than send and sendto to send data? > > > > Because what if I wanted a function to send individual bytes? > > And I don't > > mean: > > > > unsigned char a; > > a = 50; > > send(s, a, 1, 0); > > > > Thanks for any answer, even if negative... heh > > lkt153 |
|
From: Daniel G. <sp...@ho...> - 2003-02-06 13:36:19
|
Is the syntax of printf() correct?
you need
return 0;
at the end before the closing brace anyway.
>From: "Prashant Mantri" <pra...@wi...>
>To: <dev...@li...>
>Subject: [Dev-C++] Not Able to compile the C Programs
>Date: Thu, 6 Feb 2003 17:38:58 +0530
>
>Hi
>
>I am very new to the C Programming.
>
>I just typed in the following program in the DecC++ IDE
>
>#include <stdio.h>
>
>#include <stdlib.h>
>
>
>
>int main (int argc, char *argv[])
>
>{
>
>printf("Helo C");
>
>}
>
>
>
>And I tried to compile it.
>
>
>
>But it says... Unable to run the Program file.
>
>Can some one tell me how to compile the program in this env.
>
>Prashant
>
>
>
>Wipro Technologies
>Plot no 2, MIDC,
>Pune Infotech Park,
>Pune- 411 027. India
>Tel:(Off) +91-20-2933700 Extn:2514
> (Res) +91-20-5468156
>e-mail: <mailto:pra...@wi...> pra...@wi...
>
>
>
>There is always something more in life than having everything
>
>
>
>
>
_________________________________________________________________
Use MSN Messenger to send music and pics to your friends
http://messenger.msn.co.uk
|
|
From: Ioannis V. <no...@ho...> - 2003-02-06 12:08:14
|
I discussed templates with some other coder and here is a cool thing that=
we
discussed. A nice way of how to make calculations at compile time instead=
of
run-time. This method uses uses the template ability to pass *constant*
variables as template arguments:=0D
=0D
=0D
Check this out:=0D
=0D
#include <iostream>=0D
=0D
template<int N>=0D
struct factorial=0D
{=0D
static const int value =3D N*factorial<N-1>::value;=0D
};=0D
=0D
template<>=0D
struct factorial<0>=0D
{=0D
static const int value =3D 1;=0D
};=0D
=0D
=0D
int main()=0D
{=0D
std::cout<<factorial<5>::value<<std::endl;=0D
=0D
}=0D
=0D
=0D
I like this thing very much. We can reduce runtime space(recursions) /
time(recursions,iterations) costs elegantly (but increasing compile time)=
=2E=0D
=0D
=0D
Ioannis Vranos=0D
=0D
* Programming pages: http://www.noicys.freeurl.com=0D
* Alternative URL: http://run.to/noicys=20
|
|
From: lamont <lam...@ve...> - 2003-02-06 09:06:57
|
I'm now trying to compile an OpenGL application. I'm getting the following linker error: [Linker error] undefined reference to `__glutInitWithExit@12' what file(s) do I need to link to my program to have a successful compile?? I'm currently using the following in my project options -> Compiler Options -> additional command line for the linker: '-lglut32 -lglu32 -lopengl32' thanks for the help. |
|
From: Jaap de W. <wo...@Ne...> - 2003-02-06 07:09:58
|
Sending individual bytes is possible (also in the way you mean), but I shouldn't recommend it. This because even for an individual byte over the TCP/IP connection a complete packet is sent, which means for a individual byte you send the same amount of bytes over the net, as for let say 1024 bytes (of cause depending on your MTU settings). Because of this reason I don't think you can expect functions which do so. If your application allows it, you better create a class (eg derived from ostream) with a separate thread, which allows you to put one byte at a time to the buffer, but sends the buffer when it is full. If your interested, I can provide you sources, which do something like that. > -----Original Message----- > From: Lucas K. Tavares [mailto:lk...@bo...] > Sent: Thursday, February 06, 2003 03:11 AM > To: DEV Cpp List > Subject: [Dev-C++] Yet another winsock question > > > Ok, this time winsock is working perfectly, but I was > wondering are there > any other functions other than send and sendto to send data? > > Because what if I wanted a function to send individual bytes? > And I don't > mean: > > unsigned char a; > a = 50; > send(s, a, 1, 0); > > Thanks for any answer, even if negative... heh > lkt153 > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > 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: Lucas K. T. <lk...@bo...> - 2003-02-06 02:27:20
|
Ok, this time winsock is working perfectly, but I was wondering are there any other functions other than send and sendto to send data? Because what if I wanted a function to send individual bytes? And I don't mean: unsigned char a; a = 50; send(s, a, 1, 0); Thanks for any answer, even if negative... heh lkt153 |
|
From: Michel W. <mic...@fr...> - 2003-02-05 20:49:03
|
very short... 1) first read : http://www.wxwindows.org/devcpp.htm 2) second download extra.zip and unpack it in your dev-c++ bin directory (don't replace existing files) 3) add in you Path your dev-c++/bin directory (check in a command line by typing gcc ) 4) add WXWIN environement variable 5) search all the setup.h in wxwindows directory and change the configuration 6) change the wxWindows_2.4.0/src/makeg95.env <cid:par...@fr...>if need 7) launch a command line and go in wxWindows_2.4.0\src\msw then launch make -f Makefile.g95 (FINAL=1 if need) 8) in the samples directory launch make -f Makefile.g95 9) copy the .a in your lib directory 9 bis) the inlcude directory in the dev-c++ directory 10) create your own project in dev-c++ houf ! |
|
From: Lucas K. T. <lk...@bo...> - 2003-02-05 15:34:53
|
I'm already doing that, and sorry aout sending the e-mail directly to you, I forgot to change the recipient... hehehe lkt153 ----- Original Message ----- From: "Ken Bradford" <ke...@al...> To: "Dev-Cpp" <dev...@li...> Sent: Wednesday, February 05, 2003 1:31 PM Subject: RE: [Dev-C++] Re: Time Display > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of Ken Bradford > Sent: Wednesday, February 05, 2003 10:22 AM > To: DEV Cpp List > Subject: RE: [Dev-C++] Re: Time Display > > > And would you mind posting in plain text? > > Thanks, > Ken Bradford > Alpha II Service, Inc. > (614)868-5033 > > [[Ken]: ] can't believe I did that! Sorry. > > Ken Bradford > Alpha II Service, Inc. > (614)868-5033 > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > 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: Ken B. <ke...@al...> - 2003-02-05 15:28:53
|
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Ken Bradford
Sent: Wednesday, February 05, 2003 10:22 AM
To: DEV Cpp List
Subject: RE: [Dev-C++] Re: Time Display
And would you mind posting in plain text?
Thanks,
Ken Bradford
Alpha II Service, Inc.
(614)868-5033
[[Ken]: ] can't believe I did that! Sorry.
Ken Bradford
Alpha II Service, Inc.
(614)868-5033
|
|
From: Ken B. <ke...@al...> - 2003-02-05 15:19:21
|
-----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Lucas K. Tavares Sent: Wednesday, February 05, 2003 9:56 AM To: DEV Cpp List Subject: [Dev-C++] Re: Time Display I tohught that was it, but it wasn't, sorry, HelpPC gave me that though... I still hadn't tested it... it doesn work either.... dammit... hehehe I'll take another look at it later... lkt153 [[Ken]: ] Please include the pertinent text you're replying to in your messages (it makes it easier to follow the flow.) And would you mind posting in plain text? Thanks, Ken Bradford Alpha II Service, Inc. (614)868-5033 |
|
From: Lucas K. T. <lk...@bo...> - 2003-02-05 14:58:42
|
I tohught that was it, but it wasn't, sorry, HelpPC gave me that = though... I still hadn't tested it... it doesn work either.... dammit... = hehehe I'll take another look at it later... lkt153 |
|
From: Lucas K. T. <lk...@bo...> - 2003-02-05 14:52:35
|
The name of that structure is dosdate_t, not dos_date_t, same goes for = doestime_t lkt153 |
|
From: Lucas K. T. <lk...@bo...> - 2003-02-05 14:52:33
|
Perhaps, you could create a function that would, via SendDlgItemMessage, = update the main window accordingly to the changes made on the = preferences screen lkt153 |
|
From: Per W. <pw...@ia...> - 2003-02-05 14:32:09
|
If you look into dos.h, you'll notice that it doesn't contain any time
handling functions or structures, so obviously the compiler doesn't have
the faintest what "struct dos_date_t" is.
If you on the other hand take a look into time.h, you'll find a lot of
standard time-handling functions and structures there.
#include <iostream>
#include <time.h>
time_t t;
struct tm *local;
// alt 1
t = time(NULL);
cout << ctime(&t);
// alt 2
t = time(NULL);
local = localtime(&t);
std::cout << "local time is " << asctime(local);
std::cout << "gmt time is " << asctime(gmtime(&t));
std::cout << "current year is " << localtime.tm_year;
/Per W
On Wed, 5 Feb 2003, Dondolo Mpho wrote:
> Hi all,
>
> Can anybody tell me what I am doing wrong. I get an error
> "aggregate struct dos_date_t today has incomplete type and cannot be
> initialised."
>
> can some one please help me reconstruct the syntax
>
>
> //program displaying the date and time
> //
>
> #include<iostream.h>
> #include<stdlib.h>
> #include<dos.h>
>
> main()
> {
> struct dos_date_t today;
> struct dos_time_t theTime;
>
> dos_getdate( &today );
> cout<<"The date is "<<(int)today.month
> <<"/"<<(int)today.day<<"/"<<today.year<<"\n";
>
> dos_gettime( &theTime);
> cout<<"The time is "<<(int)theTime.hour<<":";
>
> if(theTime.minute<10)
> cout<<'0';
> cout<<(int)theTime.minute<<":";
>
> if(theTime.seconds<10)
> cout<<'0';
> cout<<(int)theTime.seconds<<"\n";
>
> system("PAUSE");
> return 0;
> }
> Mpho Dondolo
> Support Analyst
> CSC Computer Sciences (South Africa) (Pty) Ltd
> Tel: +27 21 5030056
> Cell: +27 84 3371468
> Fax: +27 21 5095619
> Email:MDo...@ol...
> Email: MDo...@cs...
>
> "How do you claim to have loved,
> when you have never loved unconditionally"
>
>
>
>
|
|
From: Jaap de W. <wo...@Ne...> - 2003-02-05 14:22:59
|
-----Original Message----- From: Dondolo Mpho [mailto:MDo...@OL...] Sent: Wednesday, February 05, 2003 03:00 PM To: dev...@li... Subject: [Dev-C++] Re: Time Display Hi all, Can anybody tell me what I am doing wrong. I get an error "aggregate struct dos_date_t today has incomplete type and cannot be initialised." can some one please help me reconstruct the syntax I do not know about dos_date_t, but I know that this message means that dos_date_t is not defined. So find the include file which contains the definition for dos_date_t, and include it. |