dev-cpp-users Mailing List for Dev-C++ (Page 543)
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...> - 2002-08-06 13:55:53
|
The normal way to create new classs in a DLL is to: - declare a (possibly abstract) base class in main program. - declare a new class inherriting from the base class in the DLL. - export a object-create function in the DLL. The main program then calls the create function in the DLL, and receives a pointer to the new subclassed object. Since virtual method calls are decided at run-time, all virtual calls will go to the new class implementation. Inline and non-virtual methods will use tme methods available at compile time, i.e. the code in the main program. /PWM On Tue, 6 Aug 2002, Raghunath Marella.S wrote: > Hi there, > > I am trying to export a class in a DLL. I have > declared that class as __declspec(dllexport). I am > trying to link this DLL dynamicall from an executable. > With the help of a example in MSDN, i declared a > similar class in executable, with same name and also > the same funcitons which are required to call from > executable. This class in 'exe' was declared > __declspec(dllimport). > > NOw a object for this class has been declared in 'exe' > and calling member functions thro object. > > The DLL was loaded by LoadLibrary(..) call. > > WIll any one let me know is the above procedure > sufficient or something else also to be done. > > thanks & regards, > Raghunath > > __________________________________________________ > Do You Yahoo!? > Yahoo! Health - Feel better, live better > http://health.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Raghunath Marella.S <ms...@ya...> - 2002-08-06 13:42:12
|
Hi there, I am trying to export a class in a DLL. I have declared that class as __declspec(dllexport). I am trying to link this DLL dynamicall from an executable. With the help of a example in MSDN, i declared a similar class in executable, with same name and also the same funcitons which are required to call from executable. This class in 'exe' was declared __declspec(dllimport). NOw a object for this class has been declared in 'exe' and calling member functions thro object. The DLL was loaded by LoadLibrary(..) call. WIll any one let me know is the above procedure sufficient or something else also to be done. thanks & regards, Raghunath __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com |
|
From: Zodiaq <zo...@ac...> - 2002-08-06 13:11:00
|
Hello MetalSeb59 and all Dev-C++ users, Monday, August 5, 2002, 2:53:21 PM, MetalSeb59 wrote as follows: Mac> Hi there, second time ! Mac> Isn't there any possibility to "cout" some vars to a console window whan I Mac> code a win32 based dialog box ? Mac> Inside my code, when I do just a cout, nothing is done. And there is no way Mac> in DevCpp options to tell him to generate a console window or I need a Mac> serious pair of glasses. Mac> Anybody could help ? Read in MSDN or in Windows Platform SDK about: AllocConsole, FreeConsole and WriteConsole and some other console-functions... Mac> Kind regards Mac> -- Mac> Seb -- regards, Zodiaq |
|
From: Zodiaq <zo...@ac...> - 2002-08-06 13:09:26
|
Hello MetalSeb59 and all Dev-C++ users, Monday, August 5, 2002, 2:46:26 PM, MetalSeb59 wrote as follows: Mac> Hi there Mac> Anybody knows where I could download the *lastest* WIN32 API reference ? I suggest for local use that you download entire Windows Platform SDK at: http://www.microsoft.com/msdownload/platformsdk/sdkupdate/ try not to remove any SDKs because you might miss important features - for example I coulnd't use some parts of help... And remember that you can't use this as F1 Help inside M$ Visual Studio - to do that you have obtain MSDN... Mac> All the locations that I have found just gave me the Win95 reference. I Mac> cannot find messages like TTM_SETTIPBKCOLOR in these refs, which I know are Mac> defined only since Win98 Mac> Kind regards Mac> -- Mac> Seb -- regards, Zodiaq |
|
From: Per W. <pw...@ia...> - 2002-08-06 12:47:00
|
Hi! Did you really mean cout < "Testing"; cin > x; instead of cout << "Testing"; cin >> x; When code that relies on templated code contains errors, the compiler normally flags these errors in the include files where the templates are defined, instead of in the referencing source code file. /PWM |
|
From: Ioannis V. <no...@ho...> - 2002-08-06 12:37:34
|
<http://run.to/noicys>=20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Carlos Garc?a del Monte Sent: Tuesday, August 06, 2002 3:13 PM To: dev-cpp-users-list Subject: Re: [Dev-C++] iterating by 2 It shall work if it compiles. But when I declare i like you, inside a for statement, the compiler reports error due to an old fashioned way to declare it, try to declare it before the for.=20 =20 ? What compiler do you have? =20 But then that error should have been reported.=20 Or substitute it by a while, and perhaps after you can restore the for and see what happens.=20 On one of my recent experiments I first used a for, the program didn't run and I changed it by a while, and it worked (???????), after I used again the for and it worked (??????????!!!!!!!!!!!!!!). =20 =20 Obviously the first time you made a syntax error. The definition inside a for loop is valid ANSI C++ (we are talking about C++ here). =20 =20 Some times the compiler behaves a little strange, it pass over lines don't executing them, or calls functions which are not called where it calls them, or makes a for or while not work although it is well written... =20 =20 Your compiler needs psychiatric evaluation. :) =20 tam...@ms... escribi=F3:=20 I have been tasked with a problem in my newbie manual to use a "for loop" and to console out by 2's from 0 to 20 here's what I have done and I was wondering 1st why it doesn't work and 2nd how do I make it work. #include <iostream>int main()=20 {=20 // --- iterate an integer by 2=20 for (int i =3D 0; i <=3D 20; i+=3D2){=20 std::cout << i << '\n';=20 }=20 // --- pause system=20 char end[5];=20 std::cin >> end; return 0;=20 } Thanks in advanceDanny =20 =20 =20 Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net <http://www.noicys.cjb.net/>=20 * Alternative URL: http://run.to/noicys =20 |
|
From: Carlos d. M. <cg...@wo...> - 2002-08-06 12:18:11
|
It shall work if it compiles. But when I declare i like you, inside a
for statement, the compiler reports error due to an old fashioned way to
declare it, try to declare it before the for. But then that error should
have been reported.
Or substitute it by a while, and perhaps after you can restore the for
and see what happens.
On one of my recent experiments I first used a for, the program didn't
run and I changed it by a while, and it worked (???????), after I used
again the for and it worked (??????????!!!!!!!!!!!!!!).
Some times the compiler behaves a little strange, it pass over lines
don't executing them, or calls functions which are not called where it
calls them, or makes a for or while not work although it is well
written...
tam...@ms... escribi=F3:
> I have been tasked with a problem in my newbie manual to use a "for
> loop" and to console out by 2's from 0 to 20 here's what I have done
> and I was wondering 1st why it doesn't work and 2nd how do I make it
> work. #include <iostream>int main()
> {
> // --- iterate an integer by 2
> for (int i =3D 0; i <=3D 20; i+=3D2){
> std::cout << i << '\n';
>
> }
> // --- pause system
> char end[5];
> std::cin >> end; return 0;
> } Thanks in advanceDanny
>
|
|
From: Tom B. <tbu...@co...> - 2002-08-06 12:00:16
|
confirm 828946 |
|
From: Tom B. <tbu...@co...> - 2002-08-06 11:59:42
|
|
From: <Met...@ao...> - 2002-08-06 09:37:36
|
ia...@jo... said : > For Dev-C++, why don't u produce ur own encapsulation of Windows API? To stay raw Win32 API standard ? Better than anything I think. You know how to code, you know how it works... Kind regards -- Seb |
|
From: Ihsan A. Al D. <ia...@jo...> - 2002-08-06 09:30:37
|
For Dev-C++, why don't u produce ur own encapsulation of Windows API? Mohammed |
|
From: Daniel G. <sp...@ho...> - 2002-08-06 08:26:30
|
Hi all, I'm looking for some tutorials on how to work with COM. I've done a few from one book, I'm wondering if any are online? Daniel _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com |
|
From: Daniel G. <sp...@ho...> - 2002-08-06 07:14:05
|
Linking errors. Make sure your project is looking in the right directories
for the included files. It appears you're missing some files that iostream
is trying to include.
>From: Bert Iling <ch_...@ya...>
>To: Daniel Glenfield <sp...@ho...>
>Subject: Re: [Dev-C++] Include Files
>Date: Mon, 5 Aug 2002 10:55:29 -0700 (PDT)
>
>
>I took a pic of the errors I got. They're attached to this email. And
>here's my code.
>---------------
>#include <iostream>
>using namespace std;
>int main()
>{
>cout << "Testing";
>int x;
>cin >> x;
>return 0;
>}
>-----------------------
> Daniel Glenfield <sp...@ho...> wrote: These are include files
>you've made yourself?
>
>Try rearranging their order, I find that sometimes code won't compile
>unless
>the headers are in the right order (trial and error I'm afraid).
>
>What errors do you get? You may have circular dependence (HeaderA calls
>HeaderB which calls HeaderA) or header files including other header files
>before they've been declared possibly.
>
>
> >From: Bert Iling
> >To: dev...@li...
> >Subject: [Dev-C++] Include Files
> >Date: Sun, 4 Aug 2002 15:31:34 -0700 (PDT)
> >
> >I complied a program in Dev-C++ 4.9.5.0 and there were errors in the
> >include files. How do I fix this? I am ABSOLUTLY sure that there is
>nothing
> >wrong with my code.
> >
> >
> >---------------------------------
> >Do You Yahoo!?
> >Yahoo! Health - Feel better, live better
>
>
>
>
>_________________________________________________________________
>Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>
>---------------------------------
>Do You Yahoo!?
>Yahoo! Health - Feel better, live better
><< dev-c__.jpg >>
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
|
|
From: Ioannis V. <no...@ho...> - 2002-08-06 04:25:53
|
<html><div style='background-color:'><DIV>
<P><FONT color=#000066>I suppose you mean why it doesn't stop pausing after you press Enter. Because it waits for some text input. A better way is to use cin.ignore():</FONT></P>
<P><FONT color=#000066></FONT> </P>
<P><FONT color=#000066>#include <iostream></FONT></P>
<P><FONT color=#000066>int main()<BR>{<BR> // --- iterate an integer by 2<BR> for (int i = 0; i <= 20; i+=2){<BR> std::cout << i << '\n'; <BR> <BR> }</FONT></P>
<P><FONT color=#000066> // --- pause system<BR> std::cin.ignore();<BR> <BR> return 0;<BR>}<BR></FONT></P>
<P><FONT color=#000066></FONT> </P>
<P><FONT color=#000066>However in MINGW 3.1 that i am using it needs two Enters to proceed which is not right (bug). I reported it to MINGW list. It should need only one.</FONT><BR><BR></P></DIV>
<DIV></DIV><BR><BR><BR>
<DIV><FONT color=#000066>Ioannis</FONT></DIV>
<DIV></DIV>
<DIV><FONT color=#000066></FONT> </DIV>
<DIV></DIV>
<DIV><FONT color=#000066></FONT></DIV>
<DIV></DIV>
<DIV><FONT color=#000066>* Ioannis Vranos </FONT></DIV>
<DIV></DIV>
<DIV><FONT color=#000066></FONT></DIV>
<DIV></DIV>
<DIV><FONT color=#000066>* Programming pages: </FONT><A href="http://www.noicys.cjb.net/"><FONT color=#000066>http://www.noicys.cjb.net</FONT></A></DIV>
<DIV></DIV>
<DIV><FONT color=#000066></FONT></DIV>
<DIV></DIV>
<DIV><FONT color=#000066>* Alternative URL: </FONT><A href="http://run.to/noicys"><FONT color=#000066>http://run.to/noicys</FONT></A></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>>From: tam...@ms...
<DIV></DIV>>To: <DEV...@LI...>
<DIV></DIV>>Subject: [Dev-C++] iterating by 2
<DIV></DIV>>Date: Mon, 5 Aug 2002 17:50:15 -0500
<DIV></DIV>>MIME-Version: 1.0
<DIV></DIV>>X-Originating-IP: [63.157.36.118]
<DIV></DIV>>Received: from mc1-f20.law16.hotmail.com ([65.54.236.27]) by mc1-s8.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Mon, 5 Aug 2002 16:08:31 -0700
<DIV></DIV>>Received: from usw-sf-list2.sourceforge.net ([216.136.171.252]) by mc1-f20.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Mon, 5 Aug 2002 16:04:59 -0700
<DIV></DIV>>Received: from usw-sf-list1-b.sourceforge.net ([10.3.1.13] helo=usw-sf-list1.sourceforge.net)by usw-sf-list2.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian))id 17bqtR-00032M-00; Mon, 05 Aug 2002 16:04:05 -0700
<DIV></DIV>>Received: from oe156.pav0.hotmail.com ([64.4.33.149] helo=hotmail.com)by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian))id 17bqsf-0002DG-00for <DEV...@LI...>; Mon, 05 Aug 2002 16:03:17 -0700
<DIV></DIV>>Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 5 Aug 2002 16:02:12 -0700
<DIV></DIV>>Wrom: BXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVW
<DIV></DIV>>X-Mailer: MSN Explorer 7.02.0005.2201
<DIV></DIV>>Message-ID: <OE1...@HO...>
<DIV></DIV>>X-OriginalArrivalTime: 05 Aug 2002 23:02:12.0103 (UTC) FILETIME=[22012970:01C23CD4]
<DIV></DIV>>Sender: dev...@li...
<DIV></DIV>>Errors-To: dev...@li...
<DIV></DIV>>X-BeenThere: dev...@li...
<DIV></DIV>>X-Mailman-Version: 2.0.9-sf.net
<DIV></DIV>>Precedence: bulk
<DIV></DIV>>List-Help: <mailto:dev...@li...?subject=help>
<DIV></DIV>>List-Post: <mailto:dev...@li...>
<DIV></DIV>>List-Subscribe: <HTTPS: dev-cpp-users listinfo lists lists.sourceforge.net>,<mailto:dev...@li...?subject=subscribe>
<DIV></DIV>>List-Id: Dev-C++ users mailing list <DEV-CPP-USERS.LISTS.SOURCEFORGE.NET>
<DIV></DIV>>List-Unsubscribe: <HTTPS: dev-cpp-users listinfo lists lists.sourceforge.net>,<mailto:dev...@li...?subject=unsubscribe>
<DIV></DIV>>List-Archive: <HTTP: redir-sf.php3?list="dev-cpp-users" www.geocrawler.com>
<DIV></DIV>>X-Original-Date: Mon, 5 Aug 2002 17:50:15 -0500
<DIV></DIV>>Return-Path: dev...@li...
<DIV></DIV>>
<DIV></DIV>>I have been tasked with a problem in my newbie manual to use a "for loop" and to console out by 2's from 0 to 20 here's what I have done and I was wondering 1st why it doesn't work and 2nd how do I make it work.
<DIV></DIV>>
<DIV></DIV>>#include <IOSTREAM>
<DIV></DIV>>int main()
<DIV></DIV>>{
<DIV></DIV>> // --- iterate an integer by 2
<DIV></DIV>> for (int i = 0; i <= 20; i+=2){
<DIV></DIV>> std::cout << i << '\n';
<DIV></DIV>>
<DIV></DIV>> }
<DIV></DIV>> // --- pause system
<DIV></DIV>> char end[5];
<DIV></DIV>> std::cin >> end;
<DIV></DIV>> return 0;
<DIV></DIV>>}
<DIV></DIV>>
<DIV></DIV>>Thanks in advance
<DIV></DIV>>Danny
<DIV></DIV></mailto:dev...@li...?subject=unsubscribe></mailto:dev...@li...?subject=subscribe></mailto:dev...@li...></mailto:dev...@li...?subject=help></div><br clear=all><hr>Chat with friends online, try MSN Messenger: <a href='http://g.msn.com/1HM1ENXX/c144??PS=47575'>Click Here</a><br></html>
|
|
From: rchavez <rc...@so...> - 2002-08-06 01:15:09
|
Hi,
Define doesn't work. I saw no evil so I tried your code & it works find
printing 0 to 20 by 2's, one per line. Does it not compile or not run
for you?
Rob
> I have been tasked with a problem in my newbie manual to use a "for loop"=
> and to console out by 2's from 0 to 20 here's what I have done and I was=
> wondering 1st why it doesn't work and 2nd how do I make it work.
>
> #include <iostream>
> int main()
> {
> // --- iterate an integer by 2
> for (int i =3D 0; i <=3D 20; i+=3D2){
> std::cout << i << '\n'; =20
> =20
> }
> // --- pause system
> char end[5];
> std::cin >> end;
> return 0;
> }
>
> Thanks in advance
> Danny
|
|
From: <tam...@ms...> - 2002-08-05 23:03:18
|
I have been tasked with a problem in my newbie manual to use a "for loop"=
and to console out by 2's from 0 to 20 here's what I have done and I was=
wondering 1st why it doesn't work and 2nd how do I make it work.
#include <iostream>
int main()
{
// --- iterate an integer by 2
for (int i =3D 0; i <=3D 20; i+=3D2){
std::cout << i << '\n'; =20
=20
}
// --- pause system
char end[5];
std::cin >> end;
return 0;
}
Thanks in advance
Danny
|
|
From: Hongli L. <h....@ch...> - 2002-08-05 19:30:05
|
On Mon, 2002-08-05 at 15:28, Thorsten Maerz wrote: > > Yeah, thought of that - but I didnt find this option yet. > Could you please tell me, where to disable parsing? > Tools->Editor Options->Code Completion |
|
From: Hongli L. <h....@ch...> - 2002-08-05 19:01:12
|
On Mon, 2002-08-05 at 14:53, Met...@ao... wrote: > Hi there, second time ! > > Isn't there any possibility to "cout" some vars to a console window whan I > code a win32 based dialog box ? > > Inside my code, when I do just a cout, nothing is done. And there is no way > in DevCpp options to tell him to generate a console window or I need a > serious pair of glasses. > > Anybody could help ? Project->Options->Type->Win32 Console |
|
From: Thorsten M. <to...@ne...> - 2002-08-05 13:29:10
|
Hi Hongli, On 05 Aug 2002 15:09:54 +0200 Hongli Lai <h....@ch...> wrote: > > Is there a way to speed this up? > > Turn off parsing. Yeah, thought of that - but I didnt find this option yet. Could you please tell me, where to disable parsing? Best regards, -- Thorsten Maerz <to...@ne...> Sylpheed-claws/Win32: http://claws-w32.sf.net |
|
From: Thorsten M. <to...@ne...> - 2002-08-05 13:19:58
|
Hi Met...@ao..., On Mon, 5 Aug 2002 08:46:26 EDT Met...@ao... wrote: > Anybody knows where I could download the *lastest* WIN32 API reference ? http://msdn.microsoft.com/library HTH -- Thorsten Maerz <to...@ne...> Sylpheed-claws/Win32: http://claws-w32.sf.net |
|
From: Hongli L. <h....@ch...> - 2002-08-05 13:04:06
|
On Mon, 2002-08-05 at 12:30, Thorsten Maerz wrote: > Hi there, > > I imported an existing MSVC project for a Gtk-1.3 application into > Dev-Cpp (4.9.5.0, but 4.9.3.0 wasnt better). The sources consist of > about 300 files giving a size of 4.6 MB. Opening the the newly created > .dev now takes a very long time (> 15 minutes) just for parsing the > sources (Athlon @1400 MHz, 512 MB RAM, 65 GB free HD/Raid, WinXP). > Is there a way to speed this up? > Turn off parsing. |
|
From: <Met...@ao...> - 2002-08-05 12:53:26
|
Hi there, second time ! Isn't there any possibility to "cout" some vars to a console window whan I code a win32 based dialog box ? Inside my code, when I do just a cout, nothing is done. And there is no way in DevCpp options to tell him to generate a console window or I need a serious pair of glasses. Anybody could help ? Kind regards -- Seb |
|
From: <Met...@ao...> - 2002-08-05 12:46:34
|
Hi there Anybody knows where I could download the *lastest* WIN32 API reference ? All the locations that I have found just gave me the Win95 reference. I cannot find messages like TTM_SETTIPBKCOLOR in these refs, which I know are defined only since Win98 Kind regards -- Seb |
|
From: Ioannis V. <no...@ho...> - 2002-08-05 12:37:29
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Ramana Kumar > Sent: Monday, August 05, 2002 2:30 PM > To: Ioannis Vranos; C++ > Subject: RE: [Dev-C++] Help me with debugging pls. > > Instead, I suggest writing: > > using std::cout; > using std::system; > //etc > > at the top of whichever file needs these functions. As i said in the other email, you should not use them in global scope of the file! Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |
|
From: Ioannis V. <no...@ho...> - 2002-08-05 12:35:16
|
> -----Original Message----- > From: Ramana Kumar [mailto:ra...@my...] > Sent: Monday, August 05, 2002 2:30 PM > To: Ioannis Vranos; C++ > Subject: RE: [Dev-C++] Help me with debugging pls. > > > Just one comment, Ioannis, writing the following: > > using namespace std; > > completely defeats the purpose of namespaces, as it just > includes everything > within the std namespace, including those things that are not needed. > Instead, I suggest writing: > > using std::cout; > using std::system; > //etc > > at the top of whichever file needs these functions. :) Well the using std::thing is elegant when used for only 2-3 names. Here indeed we could do that since we use only cout, endl, and getchar(). The using namespace std; is an attempt to defeat the namespace system when we use it in global scope (as many folks do) and i think everyone can realise that. Well i am using it in local scope. So in summary, use using std::thing when there are only 2-4 names and using namespace std; when there are more. And these, in as small scope as possible. So, the using namespace something; and using something::thing are not prohibited in local scopes. :) Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of Ioannis > Vranos > Sent: Thursday, 1 August 2002 7:37 PM > To: dev...@li... > Subject: RE: [Dev-C++] Help me with debugging pls. > > > I do not know the GDB thing but i have to make your code ANSI > C++ compliant. > :) > > > Ioannis > > > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of Vaclav > Kremen > Sent: Wednesday, July 31, 2002 5:44 PM > To: dev...@li... > Subject: [Dev-C++] Help me with debugging pls. > > > Hello all, > here is my short code: > > #include <iostream.h> > > #include <iostream> > > #include <stdio.h> > > Or better: #include <cstdio> > > > #include <stdlib.h> > > > Or better: #include <cstdlib> > > int main (int argc, char *argv[]) > { > > int argc, char *argv[] are not used, so they are not needed. > > using namespace std; > > int x = 1000; > > x = x*x; > cout << "Hello World!" << endl; > x = 1; > cout << "Press ENTER to continue... " << x <<endl; > getchar (); > > > or better: cin.ignore(); So <cstdio> is not needed. > > > return 0; > } > > > Ioannis > > * Ioannis Vranos > * Programming pages: http://www.noicys.cjb.net > * Alternative URL: http://run.to/noicys > |