dev-cpp-users Mailing List for Dev-C++ (Page 467)
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: Wobien <wo...@pl...> - 2002-12-20 12:54:15
|
I am trying to debug a console program that uses cin and cout statements. I am using Dev-Cpp 4.9.7.0 and windows 98. When I use the built-in debugger I get a console window, but no input or output on this window. I found back the output of the cout statements in the debugger output window of Dev-Cpp between the debugger output. I have no idea how I can give the input for the cin statements (the debugger seems to pass them without accepting input??) How can I send the output of the cout statements to the console window and accept input to the cin statements from the console windows? Wobien |
|
From: Marc H. <ma...@e-...> - 2002-12-20 11:14:55
|
Hi All, Does anybody know how to handle an Accelerator Table in a Modal Dialog? There is no main message loop to place the TranslateAccelerator() call and I can't find any other way of doing this. Thanks. _____________________________ Marc Heiligers |
|
From: Daniel G. <sp...@ho...> - 2002-12-20 08:14:13
|
also sounds like you've not setup the INCLUDE sirectory - look under one of the options and make sure it has the directory with the include header files. >From: Brenden Towey <br...@rc...> >To: En...@ao... >CC: dev...@li... >Subject: Re: [Dev-C++] IS THIS C OR C++ >Date: Thu, 19 Dec 2002 23:07:43 -0800 > >En...@ao... wrote: > >>hello >>i use windows XP ; i >>did downloaded DEV-C++ 4.9.7.0 WITH GCC3.2. but >>i can not write any program with c++. acually >>it work on c. there is no header file iostream >>and there is no cout . it only accept printf >>scanf stdio and so on. i have A book about C++and all >>the example wont work. what should i do? >>best regards > >File -> New Project -> Console Application -> C++ Project -> Ok > > >> > > > >------------------------------------------------------- >This SF.NET email is sponsored by: Geek Gift Procrastinating? >Get the perfect geek gift now! Before the Holidays pass you by. >T H I N K G E E K . C O M http://www.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 _________________________________________________________________ MSN 8 limited-time offer: Join now and get 3 months FREE*. http://join.msn.com/?page=dept/dialup&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_newmsn8ishere_3mf |
|
From: Daniel G. <sp...@ho...> - 2002-12-20 08:11:47
|
Anti virus software tends to scan new files, so if you're compiling a file and thus creating a new one, it will be scanned as it is created. Compilers are sensitive, and this causes the slowdown. That's my idea anyway. >From: "Steve McKain" <sam...@so...> >To: <dev...@li...> >Subject: [Dev-C++] dev and Norton anti virus 2000 >Date: Thu, 19 Dec 2002 15:22:22 -0600 > >I've got a problem with Dev-cpp and Norton anti virus 2000. It seems that >with Norton enabled it causes the system to hang requiring a power switch >reboot. Works fine with Norton dis-abled... Any ideas would be greatly >appreciated. > >Steve _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 3 months FREE*. http://join.msn.com/?page=features/virus&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_virusprotection_3mf |
|
From: Brenden T. <br...@rc...> - 2002-12-20 07:05:49
|
En...@ao... wrote: > hello > i use windows XP ; i > did downloaded DEV-C++ 4.9.7.0 WITH GCC3.2. but > i can not write any program with c++. acually > it work on c. there is no header file iostream > and there is no cout . it only accept printf > scanf stdio and so on. i have A book about C++and all > the example wont work. what should i do? > best regards File -> New Project -> Console Application -> C++ Project -> Ok > |
|
From: <En...@ao...> - 2002-12-20 06:12:13
|
hello i use windows XP ; i did downloaded DEV-C++ 4.9.7.0 WITH GCC3.2. but i can not write any program with c++. acually it work on c. there is no header file iostream and there is no cout . it only accept printf scanf stdio and so on. i have A book about C++and all the example wont work. what should i do? best regards |
|
From: Ihsan A. Al D. <ia...@jo...> - 2002-12-20 03:59:48
|
> How do I construct such a query and how do I access the result and use it as a C data for other purposes? > > Could someone please answer? I can't help you because I don't have that Prolog engine. Can you tell me where on the net it is? Mohammed |
|
From: Narayan A. <nan...@ly...> - 2002-12-20 00:42:19
|
Hi,
I am trying to construct a simple example for querying the prolog engine from C++. The following is the simple prolog code (test.pl) to which I am trying to connect
% Prolog file test.pl for testing Connectivity from C %
% Receives a string and outputs the same %
receive(S):- write('I received '),write(S),nl.
relation(abe,john).
And, following is the C++ code:
void loadit(){
PlFrame fr;
PlTermv av(1);
av[0] = "test.pl";
PlQuery q("consult", av);
q.next_solution();
}
void start(){
PlTermv av(1);
av[0] = "message";
PlQuery q("receive",av);
q.next_solution();
}
int main( int argc, char *argv[] )
{
char *program = argv[0];
char *plav[2];
plav[0] = program;
plav[1] = NULL;
if ( !PL_initialise(1, plav) )
PL_halt(1);
loadit();
start();
return 0;
}
The above program works fine and I am able to get the output: "I received message" in the console. Now, my concern is to pass two arguments to the fact "relation", one of them is "abe" and other I want it to be a variable , so that I get the result "john" assigned to it. How do I construct such a query and how do I access the result and use it as a C data for other purposes?
Could someone please answer?
Thanks,
Narayan.
_____________________________________________________________
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus
|
|
From: Steve M. <sam...@so...> - 2002-12-19 21:22:24
|
I've got a problem with Dev-cpp and Norton anti virus 2000. It seems = that with Norton enabled it causes the system to hang requiring a power = switch reboot. Works fine with Norton dis-abled... Any ideas would be = greatly appreciated. Steve |
|
From: Daniel G. <sp...@ho...> - 2002-12-19 13:07:31
|
I did see a site where ppl had created a transformers game for GBA (very early work in progress) but I don't know if they used dev. Try GameDev.net and post back what info you find, I'd be interested to find out more! >From: "Wilson A. Dantas Junior" <wj...@un...> >Reply-To: <wj...@un...> >To: <Dev...@li...> >Subject: [Dev-C++] GBA Development >Date: Wed, 18 Dec 2002 10:35:22 -0300 > > >anyone use DEV-C++ for GBA Development ? how can i configure ? > > >------------------------------------------------------- >This sf.net email is sponsored by: >With Great Power, Comes Great Responsibility >Learn to use your power at OSDN's High Performance Computing Channel >http://hpc.devchannel.org/ >_______________________________________________ >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 _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail |
|
From: mak <ma...@pu...> - 2002-12-19 10:27:06
|
confirm 902833 _____________________________________________ Free email with personality! Over 200 domains! http://www.MyOwnEmail.com Looking for friendships,romance and more? http://www.MyOwnFriends.com |
|
From: Vlada D. <dj...@im...> - 2002-12-19 08:06:32
|
----- Original Message ----- From: "Marc Heiligers" <ma...@e-...> To: "'Vlada Djurovic'" <dj...@im...>; "'DevC++ help'" <dev...@li...> Sent: Wednesday, December 18, 2002 1:27 PM Subject: RE: [Dev-C++] resource error > Hi, > > Is IDC_EDIT1 defined in the header (resource.h)? Also, I think (pretty sure > actually) winuser.h is included in windows.h, so you don't need to include > it again. Finally, try using "&New\tCtrl+N" to space the menu item > accelerators nicely. > > _____________________________ > Marc Heiligers > I solved the problem, but thanks for the tip on spacing menu items. I couldn't figure out how to do it right. > > -----Original Message----- > From: Vlada Djurovic [mailto:dj...@im...] > Sent: 17 December 2002 12:56 PM > To: 'DevC++ help' > Subject: [Dev-C++] resource error > > > Hi. > I'm trying to create dialog box for my app, but I keep getting parse error > in .rc file when compiling the project. I included windows.h in rc file and > now I'm wondering if I need some other header files. Here's the complete > file: > > #include "resource.h" > #include <windows.h> > #include <winuser.h> > > IDM_MENU MENU > BEGIN > POPUP "&File" > BEGIN > MENUITEM "&New Ctrl+N",ID_FILE_NEW > MENUITEM "&Open Ctrl+O",ID_FILE_OPEN > MENUITEM "&Save Ctrl+S",ID_FILE_SAVE > MENUITEM "&Close",ID_FILE_CLOSE > MENUITEM SEPARATOR > MENUITEM "E&xit Alt+F4",ID_FILE_EXIT > END > POPUP "&Edit" > BEGIN > MENUITEM "C&ut Ctrl+Z",ID_EDIT_CUT > MENUITEM "&Copy Ctrl+C",ID_EDIT_COPY > MENUITEM "&Paste Ctrl+V",ID_EDIT_PASTE > END > POPUP "&Format" > BEGIN > MENUITEM "&Dialog1", ID_FORMAT_DLG1 > MENUITEM SEPARATOR > MENUITEM "&Font",ID_FORMAT_FONT > END > POPUP "&Help" > BEGIN > MENUITEM "&About",ID_HELP_ABOUT > END > END > STRINGTABLE > BEGIN > ID_FILE_NEW "New" > ID_FILE_OPEN "Open" > ID_FILE_SAVE "Save" > ID_EDIT_CUT "Cut" > ID_EDIT_COPY "Copy" > ID_EDIT_PASTE "Paste" > END > > IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 264, 148 > STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU > CAPTION "Dialog" > FONT 8, "MS Sans Serif" > BEGIN > DEFPUSHBUTTON "OK",IDOK,207,7,50,14 PUSHBUTTON > "Cancel",IDCANCEL,207,24,50,14 > EDITTEXT IDC_EDIT1,7,7,160,118,ES_AUTOHSCROLL // > in this line I get a parse error > GROUPBOX "Static",IDC_STATIC,179,81,78,60 > CONTROL "Radio1",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON,187,95, > 39,10 > CONTROL "Radio2",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON,186,108, > 39,10 > CONTROL "Radio3",IDC_RADIO3,"Button",BS_AUTORADIOBUTTON,186,124, > 39,10 > END > > Thnks in advance! > ------------ > Vlada > |
|
From: Luigi S. <gi...@li...> - 2002-12-19 05:42:36
|
On Mon, Dec 16, 2002 at 01:56:09PM -0300, Esteban Valverde wrote: > ... Anybody knows if there is possible > to run the borland owl in devcpp ? > > Esteban > est...@ho... Yes, it is possible to use Borland and Dev-Cpp (4.9.6.0) for console applications, I do not know if it is possible to do the same for Windows applications. Anyway, my approach could be a starting point. If interested see "www.gisan.freeurl.com" and follow the link "dev_bor" -- >> gisan >> |
|
From: Ioannis V. <no...@ho...> - 2002-12-19 01:11:40
|
> -----Original Message-----
> From: dev...@li...=20
> [mailto:dev...@li...] On Behalf=20
> Of Marc Heiligers
> Sent: Wednesday, December 18, 2002 2:04 PM
> To: 'Zodiaq'; Dev...@li...
> Subject: RE: [Dev-C++] OT: mingw, printf and DWORD64
>
> -----Original Message-----
> From: Zodiaq [mailto:zo...@ac...]=20
> Sent: 17 December 2002 02:32 PM
> To: Dev...@li...
> Subject: [Dev-C++] OT: mingw, printf and DWORD64
>=20
>=20
> Hello all Dev-cpp-users,
>=20
> I'm writing some apps under DevC++ (which, as everybody=20
> know is great
> IDE) and I've encountered small problem - can't force mingw=20
> to properlsy
> print laaaaaaaarge integers (signed or not)... already
> tried:
> printf( "%lu", ( DWORD64 )-1 );
> but this gives me short number as output...
This isn't right. %lu is for unsigned long. printf("%lu", (unsigned
long)-1)); would be ok.
> and compiler gives me warning:
> warning: long unsigned int format, different type arg (arg 2)=20
> well, with
> <iostream> everything works fine, but I'd like to force=20
> printf to work - it
> must be possible somehow... but how?
You can't force printf() to print a different type value with a =
different
type specifier. Printf() is a variadic function (you know those with the =
...
arguments) and uses internally the pointer type you specify ("%lu" in =
your
case). Either you will use a supported system extension specifier for =
your
type that your printf() implementation supports or you will cast to =
unsigned
long.
Ioannis Vranos
=20
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL: http://run.to/noicys
|
|
From: <cg...@wo...> - 2002-12-18 20:13:48
|
It would be nice and comfortable if the floating window for the project manager and class browser could be minimized. Yeah, hiding/showing with view menu is nice, but that could be even nicer. Or that when showing it after having hide it, it would remember its previous state, so if it was floating it return as floating, and even better if it remembered the place where it was. (I don't know why, but while coding I get bad mood with horizontal scrolling). In shortcuts configuring dialog it is possible to assign the same shortcut for various actions. It would be nice have the chance to list the active shortcuts sorted by "control" keys and then alphabetically. I assigned Alt + F9 to check syntax and it did nothing. Something special about this key combination? Yeah, little Rockstock XXIII, we know your opinion, but perhaps if you use your style we won't reply your questions when they arrive here. :-P |
|
From: Wilson A. D. J. <wj...@un...> - 2002-12-18 12:34:02
|
anyone use DEV-C++ for GBA Development ? how can i configure ? |
|
From: Marc H. <ma...@e-...> - 2002-12-18 12:23:51
|
Hi,
Is IDC_EDIT1 defined in the header (resource.h)? Also, I think (pretty sure
actually) winuser.h is included in windows.h, so you don't need to include
it again. Finally, try using "&New\tCtrl+N" to space the menu item
accelerators nicely.
_____________________________
Marc Heiligers
-----Original Message-----
From: Vlada Djurovic [mailto:dj...@im...]
Sent: 17 December 2002 12:56 PM
To: 'DevC++ help'
Subject: [Dev-C++] resource error
Hi.
I'm trying to create dialog box for my app, but I keep getting parse error
in .rc file when compiling the project. I included windows.h in rc file and
now I'm wondering if I need some other header files. Here's the complete
file:
#include "resource.h"
#include <windows.h>
#include <winuser.h>
IDM_MENU MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New Ctrl+N",ID_FILE_NEW
MENUITEM "&Open Ctrl+O",ID_FILE_OPEN
MENUITEM "&Save Ctrl+S",ID_FILE_SAVE
MENUITEM "&Close",ID_FILE_CLOSE
MENUITEM SEPARATOR
MENUITEM "E&xit Alt+F4",ID_FILE_EXIT
END
POPUP "&Edit"
BEGIN
MENUITEM "C&ut Ctrl+Z",ID_EDIT_CUT
MENUITEM "&Copy Ctrl+C",ID_EDIT_COPY
MENUITEM "&Paste Ctrl+V",ID_EDIT_PASTE
END
POPUP "&Format"
BEGIN
MENUITEM "&Dialog1", ID_FORMAT_DLG1
MENUITEM SEPARATOR
MENUITEM "&Font",ID_FORMAT_FONT
END
POPUP "&Help"
BEGIN
MENUITEM "&About",ID_HELP_ABOUT
END
END
STRINGTABLE
BEGIN
ID_FILE_NEW "New"
ID_FILE_OPEN "Open"
ID_FILE_SAVE "Save"
ID_EDIT_CUT "Cut"
ID_EDIT_COPY "Copy"
ID_EDIT_PASTE "Paste"
END
IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 264, 148
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Dialog"
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK",IDOK,207,7,50,14 PUSHBUTTON
"Cancel",IDCANCEL,207,24,50,14
EDITTEXT IDC_EDIT1,7,7,160,118,ES_AUTOHSCROLL //
in this line I get a parse error
GROUPBOX "Static",IDC_STATIC,179,81,78,60
CONTROL "Radio1",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON,187,95,
39,10
CONTROL "Radio2",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON,186,108,
39,10
CONTROL "Radio3",IDC_RADIO3,"Button",BS_AUTORADIOBUTTON,186,124,
39,10
END
Thnks in advance!
------------
Vlada
|
|
From: <cg...@wo...> - 2002-12-18 12:10:18
|
> [snip] > The default is std=gnu89, which is the 99 standard plus gnu > extensions. 99 standard is not fully supported right now, when it be, > it will be the default. [snip] obviouslu -std=gnu89 is the 89 standard plus gnu extensions |
|
From: <cg...@wo...> - 2002-12-18 12:08:01
|
Ger...@ne... wrote: >Message: 1 >Date: Tue, 17 Dec 2002 18:08:11 +0100 >From: =?ISO-8859-1?Q?Carlos_Garc=EDa_del_Monte?= <cg...@wo...> >To: dev-cpp-users-list <dev...@li...> >Subject: Re: [Dev-C++] ANSI C project > >You used C++ style comments? >mingw generates millions errors if you use them in a C progam; you can >maintain them if you add the -std=c99 option to the compiler (in mingw >2.0.0, based on gcc3.2,. If you use previous version, based on gcc 2.95.3-6 > perhaps then you need change the comment style) > >/*****so thats the command line option*******************************/ >/**************************thanks dude*******************************/ > > I'm not sure of understanding this reply, but this is the answer to what I've understood: The option for support ANSI C which Mrs Teresa is talking about, is the one you set by clicking "support traditional ANSI C" option in compiler's options dialog. That sets the command line option -ansi, which is not the same than -std=c99. -ansi stands for -std=c89. The C++ style comments are accepted from 1999 ANSI C standard, so any option telling the compiler to be within any previous ANSI standard previous to c99 (which is the last one) won't accept c++ style comments in a c source. The default is std=gnu89, which is the 99 standard plus gnu extensions. 99 standard is not fully supported right now, when it be, it will be the default. In gcc-3.2.chm file: "C++ Style Comments In GNU C, you may use C++ style comments, which start with // and continue until the end of the line. Many other C implementations allow such comments, and they are likely to be in a future C standard. However, C++ style comments are not recognized if you specify -ansi, a -std option specifying a version of ISO C before C99, or -traditional, since they are incompatible with traditional constructs like dividend//*comment*/divisor. " |
|
From: Marc H. <ma...@e-...> - 2002-12-18 12:00:00
|
Try using "%I64u" for the format specifier. _____________________________ Marc Heiligers -----Original Message----- From: Zodiaq [mailto:zo...@ac...] Sent: 17 December 2002 02:32 PM To: Dev...@li... Subject: [Dev-C++] OT: mingw, printf and DWORD64 Hello all Dev-cpp-users, I'm writing some apps under DevC++ (which, as everybody know is great IDE) and I've encountered small problem - can't force mingw to properlsy print laaaaaaaarge integers (signed or not)... already tried: printf( "%lu", ( DWORD64 )-1 ); but this gives me short number as output... and compiler gives me warning: warning: long unsigned int format, different type arg (arg 2) well, with <iostream> everything works fine, but I'd like to force printf to work - it must be possible somehow... but how? -- regards, Zodiaq |
|
From: <Ger...@ne...> - 2002-12-18 04:39:55
|
Message: 1 Date: Tue, 17 Dec 2002 18:08:11 +0100 From: =?ISO-8859-1?Q?Carlos_Garc=EDa_del_Monte?= <cg...@wo...> To: dev-cpp-users-list <dev...@li...> Subject: Re: [Dev-C++] ANSI C project You used C++ style comments? mingw generates millions errors if you use them in a C progam; you can maintain them if you add the -std=c99 option to the compiler (in mingw 2.0.0, based on gcc3.2,. If you use previous version, based on gcc 2.95.3-6 perhaps then you need change the comment style) /*****so thats the command line option*******************************/ /**************************thanks dude*******************************/ Teresa Raymond wrote: I opened a project that I had written with Visual C++ 6.0 which had no compiler errors in VC6, but in DevC++ there were about 24 compiler errors. The source code is written in C and not C++ but I selected the Compiler options to support ANSI C. Anyone have an idea as to what is going on here? /*id love to help if you can provide sufficient information about your *problem, like source code, windows version, compiler version, compiler *settings, and error/warning messages. * */ __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ |
|
From: <cg...@wo...> - 2002-12-17 17:11:37
|
You used C++ style comments? mingw generates millions errors if you use them in a C progam; you can maintain them if you add the -std=c99 option to the compiler (in mingw 2.0.0, based on gcc3.2,. If you use previous version, based on gcc 2.95.3-6 perhaps then you need change the comment style) Teresa Raymond wrote: > I opened a project that I had written with Visual C++ 6.0 which had no > compiler errors in VC6, but in DevC++ there were about 24 compiler > errors. The source code is written in C and not C++ but I selected > the Compiler options to support ANSI C. Anyone have an idea as to > what is going on here? > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility Learn to use your power > at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > 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: Zodiaq <zo...@ac...> - 2002-12-17 15:46:38
|
Hello jarausch and all Dev-C++ users, Tuesday, December 17, 2002, 4:14:48 PM, jarausch wrote as follows: > try format "%llu" I have tried this before, compiler gives warning: warning: ISO C++ does not support the `ll' printf length modifier and the result is not as it should be.. -- regards, Zodiaq |
|
From: Napoleon A. <n_a...@ya...> - 2002-12-17 14:22:07
|
hello, Does any one know how to make wGlade generate C++ code ? may be using GTKmm ?. As at now i think it only generates c code. Thanx Napoleon. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
|
From: Zodiaq <zo...@ac...> - 2002-12-17 12:32:13
|
Hello all Dev-cpp-users, I'm writing some apps under DevC++ (which, as everybody know is great IDE) and I've encountered small problem - can't force mingw to properlsy print laaaaaaaarge integers (signed or not)... already tried: printf( "%lu", ( DWORD64 )-1 ); but this gives me short number as output... and compiler gives me warning: warning: long unsigned int format, different type arg (arg 2) well, with <iostream> everything works fine, but I'd like to force printf to work - it must be possible somehow... but how? -- regards, Zodiaq |