dev-cpp-users Mailing List for Dev-C++ (Page 383)
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: Daniel G. <sp...@ho...> - 2003-05-14 05:40:33
|
are the necessary .o files in the right place? Is the compiler using them? >From: "Lists" <li...@dr...> >To: "C++ List" <dev...@li...> >Subject: [Dev-C++] Linker problems >Date: Tue, 13 May 2003 22:36:08 -0400 > >Ok, forgive the ignorance. I'm new to Dev-C++ and used to compiling the >old fashion way, with an abacus. > >Anyhow, I'm trying to compile a very basic OpenGL program (basically to >just open a window with a GL RC). Every time I do I get these errors: > >-file format not recognized, treating as linker script >-parse error > >I tried figuring out the problem with no luck. I tried copying and pasting >the linker paramaters diretcly from another working OGL project in Dev-C++, >but still no dice. Any ideas? > >Tvienti _________________________________________________________________ Express yourself with cool emoticons http://www.msn.co.uk/messenger |
|
From: Lists <li...@dr...> - 2003-05-14 02:37:04
|
Ok, forgive the ignorance. I'm new to Dev-C++ and used to compiling the = old fashion way, with an abacus. Anyhow, I'm trying to compile a very basic OpenGL program (basically to = just open a window with a GL RC). Every time I do I get these errors: -file format not recognized, treating as linker script -parse error I tried figuring out the problem with no luck. I tried copying and = pasting the linker paramaters diretcly from another working OGL project = in Dev-C++, but still no dice. Any ideas? Tvienti |
|
From: Yeoh H. <ye...@ye...> - 2003-05-14 00:31:29
|
Hi, It is easy to create your own DevPak. Sometime ago, I've created a small How-To document and posted it for download at my site. The URL is: http://www.yeohhs.com/free/viewtopic.asp?forumid=3D16&id=3D21 (File size= 1.68 Kb) Best Regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ICT eBooks by Yeoh HS Free Downloads at http://www.yeohhs.com ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ----- Original Message ----- From: "Ricardo L=F3pez Ruiz" <ri...@un...> To: "Dev-C++" <dev...@li...> Sent: Tuesday, May 13, 2003 10:24 PM Subject: [Dev-C++] gsl installation or package?? > > I would like to know if there exists a package for automatically installing > the GSL (GNU Scientific Library) in DEV-CPP. > In any case perhaps it would be a good idea to have the availability of > this possibility. The experts for the creation of packages for Dev-Cpp > could consider this question. > > any help would be appreciated. > > Ricardo. > > pd: the web of the GSL is > http://sources.redhat.com/gsl/ref/gsl-ref_toc.html > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solution= s > www.enterpriselinuxforum.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: Astar <As...@tu...> - 2003-05-13 23:04:10
|
Hello OROSZI, Tuesday, May 13, 2003, 11:49:35 PM, you wrote: OB> Astar wrote: >> I don't think so, cause it isn't free like OpenGL & Direct3D. And it >> dependent on some specific hardware (its need some chip). OB> 3dfx Glide was not free, and so an alternative came (hardware supported OB> OpenGL - I know this existed earlyly, but don't get into details OB> now...), and 3dfx died (see www.3dfx.com). Probably this will also OB> happen with openrt - new implementations will come, but they will all be OB> doing interactive ray-tracing. ATI and nVidia only began producing 3D OB> hardware, because they saw, that 3dfx goes well. And where the money is,... OB> Of course OpenRT needs "some chip". OpenGL also needs "some chip". OB> That is what 3D HARDWARE is for, no??????? I mean that it needs __specific__ hardware. I don't think that gamers (or other end-consumers) want to buy one more $0000000 cards. ok! it usefull for 3d modelling, but we have Quadro cards from NV, and i don't think that NVidia agree to miss this sphere. and I want to remind you that main power of D3D/OGL are its powerfull tools (Cg, CgFX ), tons of documentation, lots of seminars and other teaching stuff. OB> OpenRT needs hardware support, just like OpenGL does. Have you ever OB> tried OpenGL in software mode? It produces less than 1 FPS... Yeah! We play to Quake II in software mode (640x480)... ~20-30fps on very "weak" computers.... OB> Trust me, OpenGL will quickly (2-4 years) become obsolete. The future is OB> interactive ray-tracing. :)) may be GL2 (GLslang) helps as? OB> It's strength lies in it's independency of scene complexity. A one OB> billion triangle scene renders just as well, as a 100 000 triangle OB> scene. (I know, this is not *exactly* true, but don't let me plunge into OB> details now... it has a logarithmic degrading - I can't express myself OB> better) OB> See these pics: OB> http://www.openrt.de/Gallery/OliverDeussen_Sunflowers/Images/sunflowers_1.jpg OB> http://www.openrt.de/Gallery/OliverDeussen_Sunflowers/Images/sunflowers_2.jpg OB> http://www.openrt.de/Gallery/OliverDeussen_Sunflowers/Images/sunflowers_3.jpg OB> http://www.openrt.de/Gallery/OliverDeussen_Sunflowers/Images/sunflowers_4.jpg OB> IT IS DONE IN REAL TIME!!!! Well, THAT can be called: "detail"... ok! some screenshots for you. Realtime. Without any specific (i mean you don't need buy something else) hardware. With soft requirements. http://zona.arhipelag.net/stalker/Screens/image18.jpg http://zona.arhipelag.net/stalker/Screens/image12.jpg http://zona.arhipelag.net/stalker/Screens/image29.jpg http://zona.arhipelag.net/stalker/Screens/image10.jpg http://www.oblivion-lost.com/community/screenshots/stalker050503.jpg http://zona.arhipelag.net/stalker/Screens/image31.jpg http://www.oblivion-lost.com/community/screenshots/stalker050603_01.jpg http://zona.arhipelag.net/stalker/Screens/image26.jpg (very big) http://zona.arhipelag.net/stalker/Screens/image32.jpg http://zona.arhipelag.net/stalker/Screens/image27.jpg (very big) http://zona.arhipelag.net/stalker/Screens/image20.jpg is it so bad? :)) P.S. sorry for my eNGliSh -- Best regards, Astar mailto:As...@tu... |
|
From: <or...@vp...> - 2003-05-13 20:49:36
|
Astar wrote: > I don't think so, cause it isn't free like OpenGL & Direct3D. And it > dependent on some specific hardware (its need some chip). 3dfx Glide was not free, and so an alternative came (hardware supported OpenGL - I know this existed earlyly, but don't get into details now...), and 3dfx died (see www.3dfx.com). Probably this will also happen with openrt - new implementations will come, but they will all be doing interactive ray-tracing. ATI and nVidia only began producing 3D hardware, because they saw, that 3dfx goes well. And where the money is,... Of course OpenRT needs "some chip". OpenGL also needs "some chip". That is what 3D HARDWARE is for, no??????? OpenRT needs hardware support, just like OpenGL does. Have you ever tried OpenGL in software mode? It produces less than 1 FPS... Trust me, OpenGL will quickly (2-4 years) become obsolete. The future is interactive ray-tracing. It's strength lies in it's independency of scene complexity. A one billion triangle scene renders just as well, as a 100 000 triangle scene. (I know, this is not *exactly* true, but don't let me plunge into details now... it has a logarithmic degrading - I can't express myself better) See these pics: http://www.openrt.de/Gallery/OliverDeussen_Sunflowers/Images/sunflowers_1.jpg http://www.openrt.de/Gallery/OliverDeussen_Sunflowers/Images/sunflowers_2.jpg http://www.openrt.de/Gallery/OliverDeussen_Sunflowers/Images/sunflowers_3.jpg http://www.openrt.de/Gallery/OliverDeussen_Sunflowers/Images/sunflowers_4.jpg IT IS DONE IN REAL TIME!!!! Well, THAT can be called: "detail"... -- Greetings, Balázs |
|
From: Astar <As...@tu...> - 2003-05-13 15:09:16
|
Hello OROSZI, Monday, May 12, 2003, 9:24:53 PM, you wrote: OB> Hello! OB> Okay, some people are fascinated by Longhorn, I'm fascinated about 3D :) OB> Take a look at http://www.openrt.de OB> And yes, this has to do something with programming, as it is something OB> like opengl, but with ray-tracing, and it may change peoples direction OB> in 3D development... I don't think so, cause it isn't free like OpenGL & Direct3D. And it dependent on some specific hardware (its need some chip). -- Best regards, Astar mailto:As...@tu... |
|
From: Ricardo R. <ri...@un...> - 2003-05-13 14:26:01
|
I would like to know if there exists a package for automatically installing the GSL (GNU Scientific Library) in DEV-CPP. In any case perhaps it would be a good idea to have the availability of this possibility. The experts for the creation of packages for Dev-Cpp could consider this question. any help would be appreciated. Ricardo. pd: the web of the GSL is http://sources.redhat.com/gsl/ref/gsl-ref_toc.html |
|
From: Per W. <pw...@ia...> - 2003-05-13 12:15:32
|
When we answer mails from you - the default form is that we send the answer to the list (one copy that you will get) and than we send a cc directly to you. There are a number of guys who doesn't subscribe to the list, so they would not see any answers at all if we only sent to the list. If we would not reply to all addresses, the answers would ONLY go to you, and there would be no copy to the list. Summary. For the majority of mail programs, we would have to do extra work to first select 'Reply to all addresses', and then clear out the To field and move the CC field to the To field. /Per W On Tue, 13 May 2003, Derick van Niekerk wrote: > > I keep receiving (almost) every post twice. Is it the way you guys send it, or is it something else? > -d- |
|
From: Luigi S. <gi...@li...> - 2003-05-13 12:09:24
|
Hello all, while answering to a message from the list, a question came to my mind. Pre-ISO C++ compilers had the string stream class interface contained in the header file: strstream.h, which, of course, is not part of the C library, so the following include directive: #include <cstrstream> should be wrong, am I correct? thanks -- >> gisan >> |
|
From: Luigi S. <gi...@li...> - 2003-05-13 12:09:23
|
On Tue, May 13, 2003 at 12:21:04AM +0200, Marcin Zy? wrote: > [...] > > I have got the C++ sources which I can compile successfully with gcc 3.2 at > Cygwin. I could be wrong here, but: are you sure the compiler you use with Cygwin is *version 3.2* of Gcc? Don't you get an error related to the header file "strstream" when using Gcc 3.2 under Cygwin? IMHO, You should, because the header "strstream" does not exist; generally, one has: - pre-ISO C++ compilers: "strstream.h" or "strstrea.h" (8-char issue) - ISO-C++: "sstream" > What changes should I make to these sources in order to compile them in > DevC++. No changes is required to the source files, as these are processed by the underlying compiler > > Does DevC++ 5.0 use gcc 3.2 ? AFAIK, you may set up any version of Dev-C++ to work with any version of Gcc, because, basically, what Dev-C++ uses is the name of the compiler (Gcc) and a few options, other stuff is under the control of the user. In principle, you may hack Dev-C++ (without recompilation ;-) to use other compilers too. > May I use gcc makefiles in DevC++ ? The answer is both: no and yes :-) - no because there doesn't seem to be (yet) an utility that converts makefiles into Dev-C++ project files - yes because you probably have the program Make (which comes with Gcc) and so can use the makefiles directly to compile your program -- >> gisan >> |
|
From: Derick v. N. <der...@go...> - 2003-05-13 11:08:15
|
I keep receiving (almost) every post twice. Is it the way you guys send = it, or is it something else? -d- |
|
From: Yeoh H. <ye...@ye...> - 2003-05-13 10:45:37
|
Hi Derick, I'm glad to help. :-) And, you're right. I'm in the middle of a project right now so I don't have much time. :-( But I can point you to a URL for more information. Iczelion's Win32 Assembly Homepage has, IMHO, very good ODBC tutorials. Although the code is in asm, his explanations on ODBC basic programming approach, the API functions to call, the relevant function parameter values, return values and in what order to call those API functions are _very_ clearly explained. Compared to MSDN, this is better and more concise. :-) The five relevant topics covered are: 1. ODBC Basics 2. Connecting to Data Source 3. Preparing and Using Statements 4. Retrieving Results 5. An ODBC Example The URL is: http://win32asm.cjb.net/ in the Tutorials section. For a tutorial in C using Visual C++, here's a URL I found sometime ago. http://www.cxd3.com/tut/cpp/odbc/odbc.html Many thanks to opcodevoid for providing this tutorial for free. The C++ example program I wrote using Dev-C++ is based on his tutorial example. Best Regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ICT eBooks by Yeoh HS Free Downloads at http://www.yeohhs.com ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ----- Original Message ----- From: "Derick van Niekerk" <der...@go...> To: "DevCPP" <dev...@li...> Sent: Tuesday, May 13, 2003 4:14 PM Subject: Re: [Dev-C++] Access databases > Yep - that code might do the trick. You might need to explain those SQL > headers though along with some of the functions (GlobalLock, > GlobalAlloc...actually almost every function you used is new to me. I'd > understand If you don't have the time (I know all about that!), but I would > appreciate it if you could explain the first half of your program - the > initialization... > > This was EXACTLY what I was looking for. > > Thanks. > -d- > |
|
From: Per W. <pw...@ia...> - 2003-05-13 09:16:22
|
GlobalAlloc is like malloc() but it allocates memory directly from Windows. It has a number of tricks, like placing the memory block in first MB of memory etc. GlobalLoc() tells Windows that it may not move or swap out the memory block. This allows safe communication between multiple programs, or direct memory access (DMA) transfers to/from hardware without the processor being involved. For a good reference to SQL functions, you might go to: http://odbcrouter.com/api/SQLExecDirect.shtml and look. /Per W On Tue, 13 May 2003, Derick van Niekerk wrote: > Yep - that code might do the trick. You might need to explain those SQL > headers though along with some of the functions (GlobalLock, > GlobalAlloc...actually almost every function you used is new to me. I'd > understand If you don't have the time (I know all about that!), but I would > appreciate it if you could explain the first half of your program - the > initialization... > > This was EXACTLY what I was looking for. > > Thanks. > -d- > > > > > ----- Original Message ----- > From: "Yeoh HS" <ye...@ye...> > To: "DevCPP" <dev...@li...> > Sent: Tuesday, May 13, 2003 8:48 AM > Subject: Re: [Dev-C++] Access databases > > > To Derick, > > Sorry, I couldn't send e-mail directly to you as I keep getting this error > message. > <part extract> > The message could not be sent because one of the recipients was rejected by > the server. The rejected e-mail address was 'der...@go...'. > Subject 'Re: [Dev-C++] Access databases', Server Error: 550, Error Number: > 0x800CCC79 > </extract> > > And I think it is not appropriate to send attachments to the group so I've > upload the zip file to my site. > You can directly download it from this URL: (File Size 11.5KB) > http://www.yeohhs.com/shareware/NoDSNCpp-V1.0.zip > > If you need further help, do e-mail me. > > Best Regards, > Yeoh > ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ > ICT eBooks by Yeoh HS > Free Downloads at http://www.yeohhs.com > ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.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: Derick v. N. <der...@go...> - 2003-05-13 08:14:44
|
Yep - that code might do the trick. You might need to explain those SQL headers though along with some of the functions (GlobalLock, GlobalAlloc...actually almost every function you used is new to me. I'd understand If you don't have the time (I know all about that!), but I would appreciate it if you could explain the first half of your program - the initialization... This was EXACTLY what I was looking for. Thanks. -d- ----- Original Message ----- From: "Yeoh HS" <ye...@ye...> To: "DevCPP" <dev...@li...> Sent: Tuesday, May 13, 2003 8:48 AM Subject: Re: [Dev-C++] Access databases To Derick, Sorry, I couldn't send e-mail directly to you as I keep getting this error message. <part extract> The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'der...@go...'. Subject 'Re: [Dev-C++] Access databases', Server Error: 550, Error Number: 0x800CCC79 </extract> And I think it is not appropriate to send attachments to the group so I've upload the zip file to my site. You can directly download it from this URL: (File Size 11.5KB) http://www.yeohhs.com/shareware/NoDSNCpp-V1.0.zip If you need further help, do e-mail me. Best Regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ICT eBooks by Yeoh HS Free Downloads at http://www.yeohhs.com ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ |
|
From: Luigi S. <gi...@li...> - 2003-05-13 07:24:40
|
On Sun, May 11, 2003 at 05:39:33PM -0300, jose gonz?lez wrote: > Hello , I=B4m a begginer with C and devcpp(4.9.8.0). > I=B4have some doubts about debugging my proy16. > I=B4tried many times to watch some variables ...(for example: media,hor= a ,suma) > but I couldn=B4t it. > Any suggestions?? > Thank=B4s in advance. > Jos=E9(Argentina) Please, pause for a moment and tell your mail client not to send HTML mail, also, when attaching some piece of code,=20 prefer simple text files over "RTF" formatted ones. Thank you --=20 >> gisan >> |
|
From: Yeoh H. <ye...@ye...> - 2003-05-13 06:52:02
|
To Derick, Sorry, I couldn't send e-mail directly to you as I keep getting this error message. <part extract> The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'der...@go...'. Subject 'Re: [Dev-C++] Access databases', Server Error: 550, Error Number: 0x800CCC79 </extract> And I think it is not appropriate to send attachments to the group so I've upload the zip file to my site. You can directly download it from this URL: (File Size 11.5KB) http://www.yeohhs.com/shareware/NoDSNCpp-V1.0.zip If you need further help, do e-mail me. Best Regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ICT eBooks by Yeoh HS Free Downloads at http://www.yeohhs.com ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ----- Original Message ----- From: Derick van Niekerk To: DevCPP Sent: Tuesday, May 13, 2003 2:25 PM Subject: re: [Dev-C++] Access databases ----- Original Message ----- From: "Mark Livingstone" <mli...@ip...> To: <dev...@li...> Sent: Tuesday, May 13, 2003 3:50 AM Subject: Re: [Dev-C++] Access databases On Mon, 12 May 2003 08:38:52 +0200 "Derick van Niekerk" <der...@go...> wrote: > I am sure I'd be able to find an odbc wrapper but I was thinking more > along the lines of how M$VC++ is able to access an access database > without needing to have the datasources set up under ODBC sources. In which case, you are gettin gout of the GPL world and gettin ginto the MS specific world of OLE / COM / ADO + other acronyms :-) I figured as much. As I mentioned before there is a time constraint (about 2 weeks). I already have the database set up, so pulling reports, issuing queries, input forms and basic transactions are already sorted. All I need to do is write a small program to read from the serial port and write into the database. The rest is already done. Rewriting the program with all the functionallity it has now will take me more than 2 weeks - espescially if I need to learn a few new libraries. > I am writing a programto read information from scales (as in weighing) I suppose it does sound better if not as correct as massing ;-) Debatable :) > into a database. My brother is selling these scales and the company he > works for will pay royalties for every scale the program is > distributed with. I need to have the program easy to set up becaus > their average customer barely knows where to switch on the pc let > alone set up ODBC. > But you are locking yourself fairly tightly into a Windows / Access world. There are zillions of database toolkits, classes, libraries etc. If you need something simple, do you need Access? Can't you build a simple database into your own program? Access doesn't come cheap. Why not have that part of the profit for yourself where possible :-) Lets face it, how many line items are you likely to need to store? A few hundred? This might be a sollution for version 2 of the program...When I am more familliar with FLTK (or whatever makes gui easier) and gui development. This is not something I can become good at overnight! I am very busy working during the day and most of my free time is swallowed by my family. I have at most 2 hours a day to do my studies (I am starting my degree this year- part time), homework and programming. So when I say 2 weeks, I mean 4-8 hours if I am lucky. Far too little time for a hobbyist programmer like myself to do a full project! > I was thinking of doing the entire thing in access and I have the > database already set up - I just need a small program to handle the > task of getting information from the serial port (no problem) and > writing it directly into the appropriate table of the access database. > Importing and exporting is very messy and I'd rather not do it if I > can work around it. > > Thanks again for all your help guys! NP :-) |
|
From: Derick v. N. <der...@go...> - 2003-05-13 06:26:06
|
----- Original Message -----=20 From: "Mark Livingstone" <mli...@ip...> To: <dev...@li...> Sent: Tuesday, May 13, 2003 3:50 AM Subject: Re: [Dev-C++] Access databases On Mon, 12 May 2003 08:38:52 +0200 "Derick van Niekerk" <der...@go...> wrote: > I am sure I'd be able to find an odbc wrapper but I was thinking more > along the lines of how M$VC++ is able to access an access database > without needing to have the datasources set up under ODBC sources. In which case, you are gettin gout of the GPL world and gettin ginto the MS specific world of OLE / COM / ADO + other acronyms :-) I figured as much. As I mentioned before there is a time constraint = (about 2 weeks). I already have the database set up, so pulling reports, = issuing queries, input forms and basic transactions are already sorted. = All I need to do is write a small program to read from the serial port = and write into the database. The rest is already done. Rewriting the = program with all the functionallity it has now will take me more than 2 = weeks - espescially if I need to learn a few new libraries. > I am writing a programto read information from scales (as in weighing) I suppose it does sound better if not as correct as massing ;-) Debatable :) > into a database. My brother is selling these scales and the company he > works for will pay royalties for every scale the program is > distributed with. I need to have the program easy to set up becaus > their average customer barely knows where to switch on the pc let > alone set up ODBC. >=20 But you are locking yourself fairly tightly into a Windows / Access world. There are zillions of database toolkits, classes, libraries etc. If you need something simple, do you need Access? Can't you build a simple database into your own program? Access doesn't come cheap. Why not have that part of the profit for yourself where possible :-) Lets face it, how many line items are you likely to need to store? A few hundred? This might be a sollution for version 2 of the program...When I am more = familliar with FLTK (or whatever makes gui easier) and gui development. = This is not something I can become good at overnight! I am very busy = working during the day and most of my free time is swallowed by my = family. I have at most 2 hours a day to do my studies (I am starting my = degree this year- part time), homework and programming. So when I say 2 = weeks, I mean 4-8 hours if I am lucky. Far too little time for a = hobbyist programmer like myself to do a full project! > I was thinking of doing the entire thing in access and I have the > database already set up - I just need a small program to handle the > task of getting information from the serial port (no problem) and > writing it directly into the appropriate table of the access database. > Importing and exporting is very messy and I'd rather not do it if I > can work around it. >=20 > Thanks again for all your help guys! NP :-) |
|
From: Derick v. N. <der...@go...> - 2003-05-13 06:06:11
|
Yes! I would like! -d- ----- Original Message ----- From: "Yeoh HS" <ye...@ye...> To: "Derick van Niekerk" <der...@go...>; "DevCPP" <dev...@li...> Sent: Tuesday, May 13, 2003 2:39 AM Subject: Re: [Dev-C++] Access databases Hello everyone, Actually you can write a C++ program to access a Microsoft Access database without requiring the user to setup the ODBC DSN. I've written an example program using Dev-C++ 4.9.8.0 (GCC3.2) that reads from a Microsoft Access 2000 database that does not require the user to setup any ODBC DSN. If you like I could e-mail the sample source code to you. :-) Regards, Yeoh |
|
From: Per W. <pw...@ia...> - 2003-05-13 03:27:12
|
Example 2 - you forget about the execution order of for statement.
for (i=3D0; i < 10; i++) cout << i;
is similar to
i =3D 0;
while (i < 10) {
cout << i;
i++;
}
so obviously, changing i++ to ++i doesn't change function. For a change,
insted test:
i =3D 0;
while (i++ < 10) {
cou << i;
}
which becomse
for (i =3D 0; i++ < 10;) cout << i;
Now, i++ or ++i does matter.
/Per W
On Mon, 12 May 2003, Andr=E9 Mac=E1rio Barros wrote:
> Dear Users:
>
> Please consider the following examples:
>
> Example 1:
> ...
> int c;
> c=3D0;
> cout << c++; ---> it will print 0;
> cout << c; ---> it will print 1;
> c=3D0;
> cout << ++c; ---> it will print 1;
> cout << c; ---> it will print 1;
> ...
>
> Example 2:
> ...
> 1-int i;
> 2-for(i=3D0; i<10; i++) cout << i; ---> it will print 0 to 9
> 3-for(i=3D0; i<10; ++i) cout << i; ---> it will print 0 to 9 (too!)
>
> Statements/Questions:
> 1-I only have example #1 style to teach pos and pre incremental operators=
;
> 2-I thought in Example 2, line 3 an output like numbers 1 to 10. Why this
> not happens?
> 3-Does anybody have good and simple examples of using pos and pre
> incremental/decremental
> operators?
>
> Regards
> Andre
>
>
>
>
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux enterprise solutions
> www.enterpriselinuxforum.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: <and...@su...> - 2003-05-13 02:25:22
|
Dear Users: Please consider the following examples: Example 1: ... int c; c=0; cout << c++; ---> it will print 0; cout << c; ---> it will print 1; c=0; cout << ++c; ---> it will print 1; cout << c; ---> it will print 1; ... Example 2: ... 1-int i; 2-for(i=0; i<10; i++) cout << i; ---> it will print 0 to 9 3-for(i=0; i<10; ++i) cout << i; ---> it will print 0 to 9 (too!) Statements/Questions: 1-I only have example #1 style to teach pos and pre incremental operators; 2-I thought in Example 2, line 3 an output like numbers 1 to 10. Why this not happens? 3-Does anybody have good and simple examples of using pos and pre incremental/decremental operators? Regards Andre |
|
From: Mark L. <mli...@ip...> - 2003-05-13 02:10:32
|
On Mon, 12 May 2003 08:38:52 +0200 "Derick van Niekerk" <der...@go...> wrote: > I am sure I'd be able to find an odbc wrapper but I was thinking more > along the lines of how M$VC++ is able to access an access database > without needing to have the datasources set up under ODBC sources. In which case, you are gettin gout of the GPL world and gettin ginto the MS specific world of OLE / COM / ADO + other acronyms :-) > I am writing a programto read information from scales (as in weighing) I suppose it does sound better if not as correct as massing ;-) > into a database. My brother is selling these scales and the company he > works for will pay royalties for every scale the program is > distributed with. I need to have the program easy to set up becaus > their average customer barely knows where to switch on the pc let > alone set up ODBC. > But you are locking yourself fairly tightly into a Windows / Access world. There are zillions of database toolkits, classes, libraries etc. If you need something simple, do you need Access? Can't you build a simple database into your own program? Access doesn't come cheap. Why not have that part of the profit for yourself where possible :-) Lets face it, how many line items are you likely to need to store? A few hundred? > I was thinking of doing the entire thing in access and I have the > database already set up - I just need a small program to handle the > task of getting information from the serial port (no problem) and > writing it directly into the appropriate table of the access database. > Importing and exporting is very messy and I'd rather not do it if I > can work around it. > > Thanks again for all your help guys! NP :-) |
|
From: Yeoh H. <ye...@ye...> - 2003-05-13 00:41:55
|
Hello everyone, Actually you can write a C++ program to access a Microsoft Access database without requiring the user to setup the ODBC DSN. I've written an example program using Dev-C++ 4.9.8.0 (GCC3.2) that reads from a Microsoft Access 2000 database that does not require the user to setup any ODBC DSN. If you like I could e-mail the sample source code to you. :-) Regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ICT eBooks by Yeoh HS Free Downloads at http://www.yeohhs.com ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ----- Original Message ----- From: "Derick van Niekerk" <der...@go...> To: "DevCPP" <dev...@li...> Sent: Monday, May 12, 2003 2:38 PM Subject: Re: [Dev-C++] Access databases > Thanks. > > I am sure I'd be able to find an odbc wrapper but I was thinking more along > the lines of how M$VC++ is able to access an access database without needing > to have the datasources set up under ODBC sources. > > I am writing a programto read information from scales (as in weighing) into > a database. My brother is selling these scales and the company he works for > will pay royalties for every scale the program is distributed with. I need > to have the program easy to set up becaus their average customer barely > knows where to switch on the pc let alone set up ODBC. > > I was thinking of doing the entire thing in access and I have the database > already set up - I just need a small program to handle the task of getting > information from the serial port (no problem) and writing it directly into > the appropriate table of the access database. Importing and exporting is > very messy and I'd rather not do it if I can work around it. > > Thanks again for all your help guys! > -d- > > ----- Original Message ----- > From: "Mark Livingstone" <mli...@ip...> > To: <dev...@li...> > Sent: Monday, May 12, 2003 5:17 AM > Subject: Re: [Dev-C++] Access databases > > > On Fri, 9 May 2003 16:20:39 +0200 > "Derick van Niekerk" <der...@go...> wrote: > > > Anybody know of a quick 'n dirty way to manipulate an access database > > using DevCpp? Maybe a lib or a wrapper or something? > > Well, DevCpp is only a development environment which supports C and C++ > programming. If I were you, I'd Google for an ODBC class or wrapper. > There are heaps of them out there. I know in times gone by I've seen > them mentioned in various projects over at Sourceforge.net. > > HTH! > > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.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: <mar...@po...> - 2003-05-12 22:22:09
|
Hi, I am newbie in DevC++ and gcc so excuse me my question. And sorry for my English. I have got the C++ sources which I can compile successfully with gcc 3.2 at Cygwin. What changes should I make to these sources in order to compile them in DevC++. Does DevC++ 5.0 use gcc 3.2 ? May I use gcc makefiles in DevC++ ? Below, there is a fragment of code that causes compilation error - strstream, strstreambuf, istrstream and ostrstream - not declared. ========================================================== #ifndef SC_IOSTREAM_H #define SC_IOSTREAM_H #if !defined( _MSC_VER ) && !defined( __HP_aCC ) && !defined( __BORLANDC__ ) #include <iostream> #include <strstream> using std::ios; using std::streambuf; using std::streampos; using std::streamsize; using std::iostream; using std::istream; using std::ostream; using std::strstream; using std::strstreambuf; using std::istrstream; using std::ostrstream; using std::cin; using std::cout; using std::cerr; using std::endl; using std::flush; using std::dec; using std::hex; using std::oct; #include <fstream> using std::fstream; using std::ifstream; using std::ofstream; #include <cstddef> using std::size_t; #include <cstring> using std::memchr; using std::memcmp; using std::memcpy; using std::memmove; using std::memset; using std::strcat; using std::strncat; using std::strchr; using std::strrchr; using std::strcmp; using std::strncmp; using std::strcpy; using std::strncpy; using std::strcspn; using std::strspn; using std::strlen; using std::strpbrk; using std::strstr; using std::strtok; #else #if defined( _MSC_VER ) // VC++6 with standard library #include <iostream> #include <strstream> using std::ios; using std::streambuf; using std::streampos; using std::streamsize; using std::iostream; using std::istream; using std::ostream; using std::strstream; using std::strstreambuf; using std::istrstream; using std::ostrstream; using std::cin; using std::cout; using std::cerr; using std::endl; using std::flush; using std::dec; using std::hex; using std::oct; #include <fstream> using std::fstream; using std::ifstream; using std::ofstream; #include <cstddef> #else #if defined( __HP_aCC ) // HP aCC #include <iostream.h> #include <strstream.h> #include <fstream.h> #endif #endif #endif // shortcuts that save some typing #ifdef CCAST #undef CCAST #endif #define CCAST const_cast #ifdef DCAST #undef DCAST #endif #define DCAST dynamic_cast #ifdef RCAST #undef RCAST #endif #define RCAST reinterpret_cast #ifdef SCAST #undef SCAST #endif #define SCAST static_cast #endif ======================================================== and there is an error message: ======================================================== D:/Designs/SystemC/systemc-2.0.1/src/systemc/utils/sc_iostream.h:51: `strstream ' not declared D:/Designs/SystemC/systemc-2.0.1/src/systemc/utils/sc_iostream.h:52: ` strstreambuf' not declared D:/Designs/SystemC/systemc-2.0.1/src/systemc/utils/sc_iostream.h:53: ` istrstream' not declared D:/Designs/SystemC/systemc-2.0.1/src/systemc/utils/sc_iostream.h:54: ` ostrstream' not declared ========================================================= |
|
From: <or...@vp...> - 2003-05-12 18:24:43
|
Hello! Okay, some people are fascinated by Longhorn, I'm fascinated about 3D :) Take a look at http://www.openrt.de And yes, this has to do something with programming, as it is something like opengl, but with ray-tracing, and it may change peoples direction in 3D development... -- Greetings, Balázs |
|
From: Per W. <pw...@ia...> - 2003-05-12 15:10:50
|
When programming with M$ I have used DAO a lot. It doesn't need any ODBC registration to work - it's the native method that Access uses to access the it's databases. Alas, it is using Com, so if you don't find any sample code it's probably too much work. /Per W On Mon, 12 May 2003, Derick van Niekerk wrote: > Good Idea, but still uses ODBC... > > I think the messy text export/import might be the way to go for this project due to the time limitations involved. ODBC is the best thing since sliced bread, but it is hell to explain to the computer illiterate. Also I don't know how to install it from within my program. > > -d- > > ----- Original Message ----- > From: iad929 > To: Derick van Niekerk ; DevCPP > Sent: Thursday, May 08, 2003 8:05 PM > Subject: Re: [Dev-C++] Access databases > > > If you can understand templates, and you want something portable, why don't you try Database Template Library? > > > Mohammed > ----- Original Message ----- > From: Derick van Niekerk > To: DevCPP > Sent: Friday, May 09, 2003 5:20 PM > Subject: [Dev-C++] Access databases > > > Anybody know of a quick 'n dirty way to manipulate an access database using DevCpp? Maybe a lib or a wrapper or something? > > Thanks > -d- |