dev-cpp-users Mailing List for Dev-C++ (Page 588)
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...> - 2002-05-13 08:01:59
|
I think if you include ostream.h and create an object of the ostream class,
then use the .open command you should be ok.
ofstream ofstreamObject; // For managing the text file
ofstreamObject.open( "File1.txt"); // Create and name our text file
ofstreamObject.close();
>From: "chromatonus 712" <chr...@ho...>
>To: dev...@li...
>Subject: [Dev-C++] how to do file and streams
>Date: Mon, 13 May 2002 01:16:58 +0000
>
>hi, here is my program that is supposed to do the following:
>
>Enter a series of records from the keyboard, each record consisting of a
>two-word name and an integer,
>example MEG RAM 23, as one entry
>The program will keep a count of the number of entries. After the last one
>is entered, enter a "sentinel" code, some string that will indicate that
>the
>data has been completely entered.
>Then the data will be saved to a file in the format of
>#data name # name #.......
>Then the data will be read from the file and displayed on the screen, one
>entry per line.
>
>#include "apstring.h"
>#include <iostream.h>
>#include <fstream.h>
>#include <conio.h>
>
>int main()
>{
> apstring name1, name2, x, check;
> ifstream infile;
> infile.open("stuff.dat");
> int n;
> cin.ignore(80,'\n');
> getline(cin,x);
> check = "end";
> while(x!=check)
> {
> infile >> name1 >> name2 >> n >> "\n";
> cin.ignore(80,'\n');
> getline(cin, x);
> }
> infile.close();
> getch();
>
> ofstream xfile;
> xfile.open("stuff.dat");
> getch();
> xfile.close();
>}
>
>I don't know how to do the ofstream part, and I don't know whether I
>actually saved the data in a file, and how to access the file and display
>it? Would you please tell me how to do that, thank you!
>
>
>
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
>
>
>_______________________________________________________________
>
>Have big pipes? SourceForge.net is looking for download mirrors. We supply
>the hardware. You get the recognition. Email Us: ban...@so...
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
|
|
From: Ioannis V. <no...@ho...> - 2002-05-13 06:39:30
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of staale > Sent: Monday, May 13, 2002 9:05 AM > To: Dev-C++ Mailing List > Subject: Re: [DEV-C++] BUG: Dev-C 4.9.20 consolprogram has > only access to 1MB memory. > > > Well, I'll hold my horses a bit longer before I cry wolf, > wolf the next > time.:o) > > As Ioannis has pointed out the different results are > differences in the > implementation of the mingw32 compiler. Evolving from > allowing ca 31MB stack > space to ca 2MB. Probably to prevent us from cheating? > > The following code shows that you have access to all the > memory your OS will > give you *S*. > > New return 0 if out of mem (I think!) No, in case of failure new throws by default an std::bad_alloc exception defined in <new>. It doesn't return 0. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |
|
From: Ioannis V. <no...@ho...> - 2002-05-13 06:22:00
|
Yes, you can access the rest of memory as "free store". Stack is used to
store the execution path of a program and local objects.
Example. Imagine that you have the code:
void k()
{
int x=1;
f();
int y=g(x);
f();
}
int main()
{
int a=5;
f();
int r=g(a);
k();
}
In the stack the following is stored:
a=5;
pointer to f() call. -> // f() things executed here. When it finishes: |
<-----------------------------------------------------------------------
-------
int r;
pointer to g() call--> // g() things executed here. When it finishes: |
<-----------------------------------------------------------------------
--------
r=some_value
pointer to k() call -->
int x=1;
pointer to f() call ---> //finishes |
<-------------------------------------
int y;
pointer to g() call---> // finishes|
<--------------------------------------
y=some_value
pointer to f() call ---> //finishes |
<-------------------------------------
k() finishes. Automatic local objects in
the stack die |
<-----------------------------------------------------------------------
----------------
main() ends.
Automatic local objects in the stack die
return success indicator
I hope it gives some idea.
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 staale
> Sent: Monday, May 13, 2002 9:05 AM
> To: Dev-C++ Mailing List
> Subject: Re: [DEV-C++] BUG: Dev-C 4.9.20 consolprogram has
> only access to 1MB memory.
>
>
> Well, I'll hold my horses a bit longer before I cry wolf,
> wolf the next
> time.:o)
>
> As Ioannis has pointed out the different results are
> differences in the
> implementation of the mingw32 compiler. Evolving from
> allowing ca 31MB stack
> space to ca 2MB. Probably to prevent us from cheating?
>
> The following code shows that you have access to all the
> memory your OS will
> give you *S*.
|
|
From: staale <st...@le...> - 2002-05-13 06:01:09
|
Well, I'll hold my horses a bit longer before I cry wolf, wolf the next time.:o) As Ioannis has pointed out the different results are differences in the implementation of the mingw32 compiler. Evolving from allowing ca 31MB stack space to ca 2MB. Probably to prevent us from cheating? The following code shows that you have access to all the memory your OS will give you *S*. ------------ Code snip ------------------- // This code consumes memmory on the heap (free storage) // *********************************** // Se also Bruce Eckel 's book Thinking in C++ // page 565 - Running out of storage. // pdf Available at www.BruceEckel.com // *********************************** #include <iostream> int count = 0; int main() { while(true) { count++; // Analyse mem usage with // task manager (NT) or ps, KPM (Linux) int* foo = new int[1024]; // allocate ca 1kB on heap (free storage) if (foo == 0) break; // New return 0 if out of mem (I think!) cout << count << endl; } cout << "new could not allocate more memmory\b" << endl; return 0; } -----------Code end --------------------- Best regards Staale Flock ----- Original Message ----- From: "Ioannis Vranos" <no...@ho...> To: "Dev-C++ Mailing List" <dev...@li...> Sent: Friday, May 10, 2002 6:13 PM Subject: RE: [DEV-C++] BUG: Dev-C 4.9.20 consolprogram has only access to 1MB memory. > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf Of staale > > Sent: Friday, May 10, 2002 12:12 PM > > To: Dev-C++ Mailing List > > Subject: Re: [DEV-C++] BUG: Dev-C 4.9.20 consolprogram has > > only access to 1MB memory. > > > > > > Ioannis and Helmut, > > > > Out of curiosity I tried Ioannis's code in VC6++ SP4 > > (w2k-machine) , and > > KDeveloper 2.0 (RedHat 7.2 - gcc 2.95.x ? ) and the results are: > > VC6++ 936 kB > > KDeveloper 8064 kB > > > > For fun I tried it in VB and Powerbasic to: > > VB6 4382 kB > > PB 4309 kB > > Basic? How did you run C++ code in BASIC (except if you mean you wrote > equivallent recursive BASIC code). > > > > > > I'm still puzzeled by the big difference between the two > > Dev-C releases. The > > only logical explenation is that it is posible to configure > > this somewhere. > > > Yes, it is done inside MINGW's source code. :P > > > > Ioannis > > * Ioannis Vranos > * Programming pages: http://www.noicys.cjb.net > * Alternative URL: http://run.to/noicys > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Ioannis V. <no...@ho...> - 2002-05-13 03:48:26
|
I was looking to some pages regarding Kernighan, Ritchie, Thompson, Unix & stuff and i came across some interesting link of a guy that was working at Bell Labos those times (great mind) with info i think is interesting. It is not C or C++ but i think it is useful. :) http://www.wired.com/wired/archive/8.04/joy.html Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net <http://www.noicys.cjb.net/> * Alternative URL: http://run.to/noicys |
|
From: chromatonus 7. <chr...@ho...> - 2002-05-13 01:17:06
|
hi, here is my program that is supposed to do the following:
Enter a series of records from the keyboard, each record consisting of a
two-word name and an integer,
example MEG RAM 23, as one entry
The program will keep a count of the number of entries. After the last one
is entered, enter a "sentinel" code, some string that will indicate that the
data has been completely entered.
Then the data will be saved to a file in the format of
#data name # name #.......
Then the data will be read from the file and displayed on the screen, one
entry per line.
#include "apstring.h"
#include <iostream.h>
#include <fstream.h>
#include <conio.h>
int main()
{
apstring name1, name2, x, check;
ifstream infile;
infile.open("stuff.dat");
int n;
cin.ignore(80,'\n');
getline(cin,x);
check = "end";
while(x!=check)
{
infile >> name1 >> name2 >> n >> "\n";
cin.ignore(80,'\n');
getline(cin, x);
}
infile.close();
getch();
ofstream xfile;
xfile.open("stuff.dat");
getch();
xfile.close();
}
I don't know how to do the ofstream part, and I don't know whether I
actually saved the data in a file, and how to access the file and display
it? Would you please tell me how to do that, thank you!
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
|
|
From: Ioannis V. <no...@ho...> - 2002-05-12 23:43:42
|
As we go in the past, we will find less template support and ANSI C++ compliance (the standard is very recent). The template support of GCC 2.9.x is in high degree (higher than VC++ 7 .NET). Naturally in 3.x things are even better. I have read somewhere in MINGW site that till GCC 3.x stabilizes, we will work with the 2.9.x releases (mainly bug fixes). The only thing i have discovered so far personally to be not supported in MINGW is vector::at() member function, which i do not use too much anyway since it implies some time cost. [For informationan purposes at() is range checked member access, that is it throws an exception if the range is wrong but i do not need it since i use the [] in combination with .size(): array[i]<array.size() ). GCC in general is very high in standards conformance and quality. 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 Robert Beatty > Sent: Sunday, May 12, 2002 9:01 PM > To: dev...@li... > Subject: [Dev-C++] full template support? > > > hello all: > > version 4.9.2.0 uses gcc 2.95.xx correct? i vaguely > recall how gcc versions below 3.x not FULLY supporting > templates. can anybody confirm this? whether it does > or not, how soon will we see gcc version 3.x+ in this > great compiler? > > thanks > berto > > ps: happy mother's day for all the mothers out there > > __________________________________________________ > Do You Yahoo!? > LAUNCH - Your Yahoo! Music Experience > http://launch.yahoo.com > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download > mirrors. We supply > the hardware. You get the recognition. Email Us: > ban...@so... > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Hongli L. <h....@ch...> - 2002-05-12 18:14:13
|
Robert Beatty wrote: >hello all: > >version 4.9.2.0 uses gcc 2.95.xx correct? i vaguely >recall how gcc versions below 3.x not FULLY supporting >templates. can anybody confirm this? whether it does >or not, how soon will we see gcc version 3.x+ in this >great compiler? > > > As soon as the Mingw port isn't marked beta anymore. |
|
From: Kevin W. <ke...@me...> - 2002-05-12 18:03:03
|
Hi everyone, Here is a list of Windows virtual key codes, from the Windows SDK. I have omitted the character and number codes. Symbolic constant name Value (hex) Mouse or keyboard equivalent VK_LBUTTON 01 Left mouse button VK_RBUTTON 02 Right mouse button VK_CANCEL 03 Control-break processing VK_MBUTTON 04 Middle mouse button (three-button mouse) - 05-07 Undefined VK_BACK 08 BACKSPACE key VK_TAB 09 TAB key - 0A-0B Undefined VK_CLEAR 0C CLEAR key VK_RETURN 0D ENTER key - 0E-0F Undefined VK_SHIFT 10 SHIFT key VK_CONTROL 11 CTRL key VK_MENU 12 ALT key VK_PAUSE 13 PAUSE key VK_CAPITAL 14 CAPS LOCK key - 15-19 Reserved for Kanji systems - 1A Undefined VK_ESCAPE 1B ESC key - 1C-1F Reserved for Kanji systems VK_SPACE 20 SPACEBAR VK_PRIOR 21 PAGE UP key VK_NEXT 22 PAGE DOWN key VK_END 23 END key VK_HOME 24 HOME key VK_LEFT 25 LEFT ARROW key VK_UP 26 UP ARROW key VK_RIGHT 27 RIGHT ARROW key VK_DOWN 28 DOWN ARROW key VK_SELECT 29 SELECT key - 2A Original equipment manufacturer (OEM) specific VK_EXECUTE 2B EXECUTE key VK_SNAPSHOT 2C PRINT SCREEN key for Windows 3.0 and later VK_INSERT 2D INS key VK_DELETE 2E DEL key VK_HELP 2F HELP key VK_LWIN 5B Left Windows key (Microsoft Natural Keyboard) VK_RWIN 5C Right Windows key (Microsoft Natural Keyboard) VK_APPS 5D Applications key (Microsoft Natural Keyboard) - 5E-5F Undefined VK_NUMPAD0 60 Numeric keypad 0 key VK_NUMPAD1 61 Numeric keypad 1 key VK_NUMPAD2 62 Numeric keypad 2 key VK_NUMPAD3 63 Numeric keypad 3 key VK_NUMPAD4 64 Numeric keypad 4 key VK_NUMPAD5 65 Numeric keypad 5 key VK_NUMPAD6 66 Numeric keypad 6 key VK_NUMPAD7 67 Numeric keypad 7 key VK_NUMPAD8 68 Numeric keypad 8 key VK_NUMPAD9 69 Numeric keypad 9 key VK_MULTIPLY 6A Multiply key VK_ADD 6B Add key VK_SEPARATOR 6C Separator key VK_SUBTRACT 6D Subtract key VK_DECIMAL 6E Decimal key VK_DIVIDE 6F Divide key VK_F1 70 F1 key VK_F2 71 F2 key VK_F3 72 F3 key VK_F4 73 F4 key VK_F5 74 F5 key VK_F6 75 F6 key VK_F7 76 F7 key VK_F8 77 F8 key VK_F9 78 F9 key VK_F10 79 F10 key VK_F11 7A F11 key VK_F12 7B F12 key VK_F13 7C F13 key VK_F14 7D F14 key VK_F15 7E F15 key VK_F16 7F F16 key VK_F17 80H F17 key VK_F18 81H F18 key VK_F19 82H F19 key VK_F20 83H F20 key VK_F21 84H F21 key VK_F22 85H F22 key VK_F23 86H F23 key VK_F24 87H F24 key - 88-8F Unassigned VK_NUMLOCK 90 NUM LOCK key VK_SCROLL 91 SCROLL LOCK key - 92-B9 Unassigned - BA-C0 OEM specific - C1-DA Unassigned - DB-E4 OEM specific - E5 Unassigned - E6 OEM specific - E7-E8 Unassigned - E9-F5 OEM specific VK_ATTN F6 Attn key VK_CRSEL F7 CrSel key VK_EXSEL F8 ExSel key VK_EREOF F9 Erase EOF key VK_PLAY FA Play key VK_ZOOM FB Zoom key VK_NONAME FC Reserved for future use. VK_PA1 FD PA1 key VK_OEM_CLEAR FE Clear key I'm not sure what some of the keys are, though. Kev. --------------------------------------------------------- ----- Original Message ----- From: Stein Nygård <ste...@ge...> To: DevCpp <dev...@li...> Sent: Sunday, May 12, 2002 12:24 AM Subject: [Dev-C++] keys Hi all! Where can I find a list of the keyboard-keys? I've been using keys like VK_UP and VK_DOWN etc... but what about ALT, CONTROL, ENTER and so on? I assume there's is some list available somewhere? Thanks Stein |
|
From: Robert B. <reb...@ya...> - 2002-05-12 18:01:01
|
hello all: version 4.9.2.0 uses gcc 2.95.xx correct? i vaguely recall how gcc versions below 3.x not FULLY supporting templates. can anybody confirm this? whether it does or not, how soon will we see gcc version 3.x+ in this great compiler? thanks berto ps: happy mother's day for all the mothers out there __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com |
|
From: Daniel G. <sp...@ho...> - 2002-05-12 14:36:47
|
well say you had a case statement to handle windows messages.
case WM_CHAR:
{
// get ascii code
int ascii_code = (int)wparam;
int key_bits = (int)lparam;
// do whatever
// tell windows you processed the message
return 0;
}
break;
case WM_KEYDOWN:
{
// get virtual keycode and data bits
int virtual_code = (int)wparam;
int key_bits = (int)lparam;
switch(virtual_code)
{
case VK_RIGHT:{} break;
case VK_LEFT: {} break;
// etc...
default: break;
}
// tell windows message was handled
return 0;
} break;
Does this help?
>From: Stein Nygård <ste...@ge...>
>To: "Daniel Glenfield" <sp...@ho...>
>Subject: Re: [Dev-C++] keys
>Date: Sun, 12 May 2002 14:29:49 +0200
>
>Two things that confuses me, so far...
>What's the difference between VK_SHIFT and MK_SHIFT? And, what's the
>difference between WM_LBUTTONDOWN and MK_LBUTTON?
>
>Thanks :)
>
>Stein Nygård
>
>----- Original Message -----
>From: "Daniel Glenfield" <sp...@ho...>
>To: <ste...@ge...>; <dev...@li...>
>Sent: Sunday, May 12, 2002 9:27 AM
>Subject: Re: [Dev-C++] keys
>
>
> >
> > Here are a few
> >
> > Keyboard
> > VK_BACK // backspace
> > VK_TAB
> > VK_RETURN
> > VK_SHIFT
> > VK_CONTROL
> > VK_PAUSE
> > VK_SPACE
> > VK_PRIOR // page up key
> > VK_NEXT // page down
> > VK_ESCAPE
> >
> > etc. nothing about ALT on my list (windows game programming for
>dummies)
> >
> >
> >
> > WM_LBUTTONDBLCLK
> > WM_LBUTTONDOWN
> > WM_LBUTTONUP
> > WM_MBUTTONDBLCLK // middle button
> > WM_MBUTTONDOWN
> > WM_RBUTTONUP // etc. etc.
> >
> > Set if...
> > MK_LBUTTON // Set if the left button is down
> > MK_CONTROL // Set if control is down
> > MK_SHIFT // set if shift is down
> >
> >
> > >From: Stein Nygård <ste...@ge...>
> > >To: "DevCpp" <dev...@li...>
> > >Subject: [Dev-C++] keys
> > >Date: Sun, 12 May 2002 01:24:12 +0200
> > >
> > >Hi all!
> > >
> > >Where can I find a list of the keyboard-keys?
> > >I've been using keys like VK_UP and VK_DOWN etc... but what about ALT,
> > >CONTROL, ENTER and so on? I assume there's is some list available
> > >somewhere?
> > >
> > >Thanks
> > >
> > >Stein
> >
> >
> >
> >
> > _________________________________________________________________
> > Chat with friends online, try MSN Messenger: http://messenger.msn.com
> >
> >
> > _______________________________________________________________
> >
> > Have big pipes? SourceForge.net is looking for download mirrors. We
>supply
> > the hardware. You get the recognition. Email Us:
>ban...@so...
> > _______________________________________________
> > Dev-cpp-users mailing list
> > Dev...@li...
> > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
> >
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
|
|
From: Hongli L. <h....@ch...> - 2002-05-12 11:13:19
|
OK Colin, here are some icons for Dev-C++. I don't have icons for all filetypes though. But tomorrow my monitor will be taken away for repairs, so today is the last day I can access Windows and work on the icons. |
|
From: Daniel G. <sp...@ho...> - 2002-05-12 07:27:28
|
Here are a few Keyboard VK_BACK // backspace VK_TAB VK_RETURN VK_SHIFT VK_CONTROL VK_PAUSE VK_SPACE VK_PRIOR // page up key VK_NEXT // page down VK_ESCAPE etc. nothing about ALT on my list (windows game programming for dummies) WM_LBUTTONDBLCLK WM_LBUTTONDOWN WM_LBUTTONUP WM_MBUTTONDBLCLK // middle button WM_MBUTTONDOWN WM_RBUTTONUP // etc. etc. Set if... MK_LBUTTON // Set if the left button is down MK_CONTROL // Set if control is down MK_SHIFT // set if shift is down >From: Stein Nygård <ste...@ge...> >To: "DevCpp" <dev...@li...> >Subject: [Dev-C++] keys >Date: Sun, 12 May 2002 01:24:12 +0200 > >Hi all! > >Where can I find a list of the keyboard-keys? >I've been using keys like VK_UP and VK_DOWN etc... but what about ALT, >CONTROL, ENTER and so on? I assume there's is some list available >somewhere? > >Thanks > >Stein _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com |
|
From: <ste...@ge...> - 2002-05-11 23:24:26
|
Hi all! Where can I find a list of the keyboard-keys? I've been using keys like VK_UP and VK_DOWN etc... but what about ALT, = CONTROL, ENTER and so on? I assume there's is some list available = somewhere? Thanks Stein=20 |
|
From: staale <st...@le...> - 2002-05-11 22:31:52
|
In the 4.0 version of Dev-c you could specify command line arguments to = be passed to your program when you started it from the IDE. (In the = litle window which poped up when you build the program). Eks: you want to pass a file name when starting the app. Is this posible to do somwhere in the latest version? Best Regards Staale |
|
From: Ioannis V. <no...@ho...> - 2002-05-11 19:57:47
|
See the MINGW FAQ: http://www.mingw.org/mingwfaq.shtml It says there: " Unlike other ports of GCC to Windows, the runtime libraries are not distributed using Gnu's General Public License (GPL). You, therefore, do not have to distribute your source code with your programs. " Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net <http://www.noicys.cjb.net/> * Alternative URL: http://run.to/noicys -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Ivan Galic Sent: Saturday, May 11, 2002 9:50 PM To: dev...@li... Subject: [Dev-C++] GPL? hi! I've looked in the archives, but there is no search function(!?) and there are too many messages, so I couldn't find what I was looking for. Anyway, after reading the GNU GPL for over 10 times, I'm still confused about some parts, and am not sure how exactly does it apply to MingW32 compiler. If I write a standard win32 application using Dev-c++ and MingW32, without using any third party GPLed libraries(just standard headers/libs that come with DevCPP), do I have to release my program under GPL? Thanks. Ivan |
|
From: Hongli L. <h....@ch...> - 2002-05-11 19:43:16
|
Ivan Galic wrote: > hi! > > I've looked in the archives, but there is no search function(!?) > and there are too many messages, so I couldn't find what I was looking > for. > > Anyway, after reading the GNU GPL for over 10 times, I'm still > confused about some parts, and am not sure how exactly does it apply > to MingW32 compiler. If I write a standard win32 application using > Dev-c++ and MingW32, without using any third party GPLed > libraries(just standard headers/libs that come with DevCPP), do I have > to release my program under GPL? > No, you can give your program whatever license you want. Executables produced by GCC *are not* covered under the GPL. You may want to read the GPL FAQ at www.gnu.org |
|
From: Ivan G. <dea...@ga...> - 2002-05-11 18:54:29
|
hi!
I've looked in the archives, but there is no search function(!?) and =
there are too many messages, so I couldn't find what I was looking for.
=20
Anyway, after reading the GNU GPL for over 10 times, I'm still =
confused about some parts, and am not sure how exactly does it apply to =
MingW32 compiler. If I write a standard win32 application using Dev-c++ =
and MingW32, without using any third party GPLed libraries(just standard =
headers/libs that come with DevCPP), do I have to release my program =
under GPL?
Thanks.
Ivan
|
|
From: Hongli L. <h....@ch...> - 2002-05-11 16:50:21
|
Carlos García del Monte wrote: > You have to #include <conio.c> > > This file seems not have all the functions it has in Borland (i think > it is a header of Borland ported to mingw). > > Ioannis Vranos escribió: > >> ** > It was written by me in a few days because so many people seem to want to use conio.... |
|
From: Carlos d. M. <cg...@wo...> - 2002-05-11 16:13:08
|
You have to #include <conio.c> This file seems not have all the functions it has in Borland (i think it is a header of Borland ported to mingw). Ioannis Vranos escribi=F3: > It means you did not #include the correct header file for gotoxy. Also > i think MINGW doesn't provide gotoxy() at all. gotoxy() does not > belong to the ANSI C standard and since you are a newcomer better > learn ANSI C first. 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 Francisco Sard > Sent: Saturday, May 11, 2002 2:03 AM > To: Dev C++ > Subject: [Dev-C++] gotoxy > > Hello. I am learning to program C an I am a total begginer. > My question is that when I try to compile this program: > > #include <stdio.h> > #include <conio.h> > > int main() > { > gotoxy( 20, 10 ); > printf( "Hello" ); > } > > The linker gives me this warning: > > c:\misdoc~1\c\experi~1\exp5\exp5_fl.o(.text+0x1b):exp5_fl.c:undefi= ned reference to 'gotoxy' > > And I can't execute the program. > > My program is in misdocumentos folder, inside c folder, inside exp= erimentos en c, folder, c, experimento 5, folder > > How can I make it function?. I see that many exemples in tutorial= s use the conio library. > > Thanks for any suggestion > |
|
From: Francisco S. <sa...@te...> - 2002-05-11 12:25:54
|
Thanks for the interest. I will take a look to an ANSI C tutorial. By = the way, I tried with #include <conio_mingw.h> but the compiler = complaints that there is no such file or directory. The same happened = when somebody recomended me to include <conio.c> instead of <conio.h>. = But it doesn't matter, for the moment I have plenty to study without = this library. |
|
From: Hongli L. <h....@ch...> - 2002-05-11 11:15:26
|
Abhijit Shylanath wrote: > In place of > #include <conio.h> > try using > #include <conio_mingw.h> > This is a header file containing conio functions under mingw. > think------. ] > feel--------. # .-------- connect > listen----. ² .-------- www.megadeth.com <http://www.megadeth.com> > live--------. ^ > > http://mudeth.tripod.com > Please... no HTML mail! They're evil. |
|
From: Abhijit S. <mu...@gm...> - 2002-05-11 10:33:37
|
In place of #include <conio.h> try using #include <conio_mingw.h> This is a header file containing conio functions under mingw. think---. ] feel----. # .---- connect listen--. =B2 .---- www.megadeth.com live----. ^ http://mudeth.tripod.com=20 ----- Original Message -----=20 From: Francisco Sard=20 To: Dev C++=20 Sent: Saturday, May 11, 2002 4:33 AM Subject: [Dev-C++] gotoxy Hello. I am learning to program C an I am a total begginer. My = question is that when I try to compile this program: #include <stdio.h> #include <conio.h> int main() { gotoxy( 20, 10 ); printf( "Hello" ); } The linker gives me this warning: c:\misdoc~1\c\experi~1\exp5\exp5_fl.o(.text+0x1b):exp5_fl.c:undefined = reference to 'gotoxy' And I can't execute the program. My program is in misdocumentos folder, inside c folder, inside = experimentos en c, folder, c, experimento 5, folder How can I make it function?. I see that many exemples in tutorials use = the conio library. Thanks for any suggestion |
|
From: Bob W. <bo...@ph...> - 2002-05-11 02:46:32
|
Lai,
I'm talking about Delphi here.
The bugs in Dev-C++ are made by us (well actually by Colin and Mike =
;-),
not by Delphi.
We've already fixed a lot of bugs. Beta 3 is going to be rock-solid.
On Fri, 2002-05-10 at 13:32, Bob Wilson wrote:
I hate to to tell you, but it is broke and needs to be fixed. I have =
dev-c++ installed on two differenct computers and the IDE randomly blows =
up either during a compile or a file save. Undoubtedly you have seen my =
thread on file names which is also a problem, or bug if you prefer.=20
Yes, well, I was talking about dev-c++, not Delphi. :)
Regards,
Bob Wilson
P.S. Glad to hear that Beta 3 will be rock solid!
|
|
From: Ioannis V. <no...@ho...> - 2002-05-10 23:11:42
|
It means you did not #include the correct header file for gotoxy. Also i think MINGW doesn't provide gotoxy() at all. gotoxy() does not belong to the ANSI C standard and since you are a newcomer better learn ANSI C first. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net <http://www.noicys.cjb.net/> * Alternative URL: http://run.to/noicys -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Francisco Sard Sent: Saturday, May 11, 2002 2:03 AM To: Dev C++ Subject: [Dev-C++] gotoxy Hello. I am learning to program C an I am a total begginer. My question is that when I try to compile this program: #include <stdio.h> #include <conio.h> int main() { gotoxy( 20, 10 ); printf( "Hello" ); } The linker gives me this warning: c:\misdoc~1\c\experi~1\exp5\exp5_fl.o(.text+0x1b):exp5_fl.c:undefined reference to 'gotoxy' And I can't execute the program. My program is in misdocumentos folder, inside c folder, inside experimentos en c, folder, c, experimento 5, folder How can I make it function?. I see that many exemples in tutorials use the conio library. Thanks for any suggestion |