dev-cpp-users Mailing List for Dev-C++ (Page 722)
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: Bolek V. <vr...@pa...> - 2001-02-20 11:24:18
|
Hi,
the real problem is that name is a method of the Student_info class, not
a data field (see declaration). You have to change your code to
istream& Student_info::read(istream& is)
{
//read and store the student's name and midterm and final exams
grades
is >> n >> midterm >> final;
read_hw(is, homework); //read and store all the stud
homework grades
return is;
}
I think this is what you have wanted. BTW, istream& read_hw(istream& in,
vector<double>& hw) should return a value. Dev-CPP didn't warn me about
it, but C++ Builder did.
--
============================================================
Ing. Boleslav Vrany
Stanice techniku DDM hl. m. Prahy
Pod Juliskou 2a
Praha 6 - Dejvice
16000
Czech Republic
tel. (420 2) 243 10 240
|
|
From: Charles <cha...@at...> - 2001-02-20 03:46:17
|
Rommel - > Those commands are grey.....do I have to go to "FILE....open...or source.":? Don't bother. In order to use S(tep) and N(ext) verify that the program is running. Check the status line in the lower left corner. You probably can't get the program to run from the Source window. The integration of Dev-C++ is not complete. Open up the Console window then go back to the Source window and hit the Run button. If you check the Console window now you'll probably see the error: "Argument required (target name)." I just hit R(un) in the Console window. Now with the program running the buttons in the Source window should not be greyed out. S (step), N (next), F(finish) and C (continue) work from the both the Source window and the Console window. You can use the single letter keyboard commands if you prefer. Chuck |
|
From: Richard P. E. <ev...@ma...> - 2001-02-20 03:08:58
|
I am studying from a book titled "Windows 98 Programming from the Ground
Up" by Herbert Schildt and seem to be running into an unusual problem. I
have entered the source code for the scroll bar examples and they work when
compiled but not totally. When I grab the slider in the horizontal scroll
bar it will move to where I want it and my position readout registered the
movement but when I release the mouse button it snaps back to the zero
position. Also, when I do a control scroll bar, in this case a vertical
one, I can not drag the slider with the mouse. If I click on the down
arrowed button the position readout registers movement but the slider just
sits there and "blinks". I can't find any mistakes in my code as I typed it
but maybe some one else has experienced similar problems and can tell me
what they found to solve these problems. I have included the portions of
the resource file and source code where these are entered.
Can some one help? Thanks.
Richard P. Evans
from the resource file:
MyDB DIALOG 18, 18, 142, 92
CAPTION "Adding a Control Scroll Bar"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
| WS_VSCROLL | WS_HSCROLL
{
GROUPBOX "Slider Positions", ID_GB1, 2, 2, 100, 60
SCROLLBAR ID_SB1, 110, 10, 10, 70, SBS_VERT | WS_TABSTOP
}
from my source code:
/* Dialog Function */
BOOL CALLBACK DialogFunc(HWND hdwnd, UINT message,
WPARAM wParam, LPARAM lParam)
{
char str[255];
static int vpos = 0; /* vertical slider box position */
static int hpos = 0; /* horizontasl slider box position */
static int cntlpos = 0; /* control slider box position */
static SCROLLINFO si; /* scroll bar info structure */
HDC hdc;
PAINTSTRUCT paintstruct;
switch(message)
{
case WM_COMMAND:
switch(LOWORD(wParam))
{
case IDCANCEL:
EndDialog(hdwnd, 0);
return 1;
}
break;
case WM_INITDIALOG:
si.cbSize = sizeof(SCROLLINFO);
si.fMask = SIF_RANGE;
si.nMin = 0; si.nMax = VERTRANGEMAX;
/* set range of standard vertical scroll bar */
SetScrollInfo(hdwnd, SB_VERT, &si, 1);
/* set range of scroll bar control */
SetScrollInfo(GetDlgItem(hdwnd, ID_SB1), SB_CTL, &si, 1);
si.nMax = HORZRANGEMAX;
/* set range of standard horizontal scroll bar */
SetScrollInfo(hdwnd, SB_HORZ, &si, 1);
vpos = hpos = 0;
return 1;
case WM_PAINT:
hdc = BeginPaint(hdwnd, &paintstruct);
sprintf(str, "Vertical: %d", vpos);
TextOut(hdc, 20, 30, str, strlen(str));
sprintf(str, "Horizontal: %d", hpos);
TextOut(hdc, 20, 60, str, strlen(str));
sprintf(str, "Scroll Bar Control: %d ", cntlpos);
TextOut(hdc, 20, 90, str, strlen(str));
EndPaint(hdwnd, &paintstruct);
return 1;
case WM_VSCROLL:
/* Now we must determine whether the control
scroll bar or the standard scroll bar generated
the message. */
switch(LOWORD(wParam))
{
case SB_LINEDOWN:
if ((HWND)lParam == GetDlgItem(hdwnd, ID_SB1))
{
/* is control scroll bar */
cntlpos++;
if(cntlpos>VERTRANGEMAX) cntlpos = VERTRANGEMAX;
}
else /* is window scroll bar */
{
vpos++;
if(vpos>VERTRANGEMAX) vpos = VERTRANGEMAX;
}
break;
case SB_LINEUP:
if((HWND)lParam == GetDlgItem(hdwnd, ID_SB1))
{
/* is control bar scroll */
cntlpos--;
if(cntlpos<0) cntlpos = 0;
}
else
{
/* is window scroll bar */
vpos--;
if(vpos<0) vpos = 0;
}
break;
case SB_THUMBPOSITION:
if((HWND)lParam == GetDlgItem(hdwnd, ID_SB1))
{
/* is control scroll bar */
cntlpos = HIWORD(wParam); /* get current position */
}
else
{
/* is window scroll bar */
vpos = HIWORD(wParam); /* get current position */
}
break;
case SB_THUMBTRACK:
if((HWND)lParam == GetDlgItem(hdwnd, ID_SB1))
{
/* is control scroll bar */
cntlpos = HIWORD(wParam); /* get current position */
}
else
{
/* is window scroll bar */
vpos = HIWORD(wParam); /* get current position */
}
break;
case SB_PAGEDOWN:
if((HWND)lParam == GetDlgItem(hdwnd, ID_SB1))
{
/* is control scroll bar */
cntlpos += 5;
if(cntlpos>VERTRANGEMAX) cntlpos = VERTRANGEMAX;
}
else
{
/* is window scroll bar */
vpos += 5;
if(vpos>VERTRANGEMAX) vpos = VERTRANGEMAX;
}
break;
case SB_PAGEUP:
if((HWND)lParam == GetDlgItem(hdwnd, ID_SB1))
{
/* is control scroll bar */
cntlpos -= 5;
if(cntlpos<0) cntlpos = 0;
}
else
{
/* is window scroll bar */
vpos -= 5;
if(vpos<0) vpos = 0;
}
break;
}
if((HWND)lParam == GetDlgItem(hdwnd, ID_SB1))
{
/* update standard scroll bar position */
si.fMask = SIF_POS;
si.nPos = vpos;
SetScrollInfo(hdwnd, SB_VERT, &si, 1);
hdc = GetDC(hdwnd);
sprintf(str, "Scroll Bar Control: %d ", cntlpos);
TextOut(hdc, 20, 90, str, strlen(str));
ReleaseDC(hdwnd, hdc);
}
else
{
/* update standard scroll bar position */
si.fMask = SIF_POS;
si.nPos = vpos;
SetScrollInfo(hdwnd, SB_VERT, &si, 1);
hdc = GetDC(hdwnd);
sprintf(str, "Vertical: %d ", vpos);
TextOut(hdc, 20, 30, str, strlen(str));
ReleaseDC(hdwnd, hdc);
}
return 1;
case WM_HSCROLL:
switch(LOWORD(wParam))
{
/* Try adding the other event handling code
for the horizontal scroll bar here. */
case SB_LINERIGHT:
hpos++;
if(hpos>HORZRANGEMAX) hpos = HORZRANGEMAX;
break;
case SB_LINELEFT:
hpos--;
if(hpos<0) hpos = 0;
}
/* update horizontal bar position */
si.fMask = SIF_POS;
si.nPos = hpos;
SetScrollInfo(hdwnd, SB_HORZ, &si, 1);
hdc = GetDC(hdwnd);
sprintf(str, "Horizontal: %d ", hpos);
TextOut(hdc, 20, 60, str, strlen(str));
ReleaseDC(hdwnd, hdc);
return 1;
}
return 0;
}
|
|
From: Rommel G. <rga...@ho...> - 2001-02-20 00:44:49
|
Those commands are grey.....do I have to go to "FILE....open...or source.":? I don't understand the Help topics....they are only about windows. I would like to see a bold line running across each line of code on the editor while I step through the program. Thanks, RG ----- Original Message ----- From: "Charles" <cha...@at...> To: <dev...@li...> Sent: Friday, February 16, 2001 7:40 PM Subject: Re: [Dev-C++] Insight Debugger > Rommel - > > > > Ok I got Insight debugger working now......but how do I step through a > program??>.....run one line at a time.??? > > With the S(tep) and N(ext) commands. > > Chuck > > > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: softnasolutions-ltd.fsbusiness.co.uk <so...@so...> - 2001-02-19 21:36:01
|
I have tried it but the errors increased.
----- Original Message -----
From: "Robert D BAugh" <lon...@ju...>
To: <dev...@li...>
Sent: Monday, February 19, 2001 8:57 PM
Subject: Re: [Dev-C++] no match for istream & >> {unknown type}
> I am not a real expert on c++, however you migh try this and let me know.
>
> class Student_info {
> public:
> Student_info();
> Student_info(std::istream&);
> std::string name() const {return n;}
> bool valid() const {return !homework.empty();}
> std::istream& read(std::istream&);
> double grade() const;
> private:
> std::string n;
> double midterm, final;
> std::vector<double> homework;
> std::istream& is; ADD
> };
> lonestar36
> On Mon, 19 Feb 2001 19:55:26 -0000 "softnasolutions-ltd.fsbusiness.co.uk"
> <so...@so...> writes:
> > I have tried it but i still have the error. I have attached all my
> > file and
> > i will be most grateful if you can have a look and tell me what is
> > wrong.
> >
> > ----- Original Message -----
> > From: <Dou...@ao...>
> > To: <dev...@li...>
> > Sent: Monday, February 19, 2001 3:24 PM
> > Subject: Re: [Dev-C++] no match for istream & >> {unknown type}
> >
> >
> > > The include file needed for the istream class is fstream. The
> > include
> > file entry would therefore be
> > > #include <fstream>
> > >
> > > _______________________________________________
> > > Dev-cpp-users mailing list
> > > Dev...@li...
> > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
> > >
> >
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|
|
From: Robert D B. <lon...@ju...> - 2001-02-19 21:00:33
|
I am not a real expert on c++, however you migh try this and let me know.
class Student_info {
public:
Student_info();
Student_info(std::istream&);
std::string name() const {return n;}
bool valid() const {return !homework.empty();}
std::istream& read(std::istream&);
double grade() const;
private:
std::string n;
double midterm, final;
std::vector<double> homework;
std::istream& is; ADD
};
lonestar36
On Mon, 19 Feb 2001 19:55:26 -0000 "softnasolutions-ltd.fsbusiness.co.uk"
<so...@so...> writes:
> I have tried it but i still have the error. I have attached all my
> file and
> i will be most grateful if you can have a look and tell me what is
> wrong.
>
> ----- Original Message -----
> From: <Dou...@ao...>
> To: <dev...@li...>
> Sent: Monday, February 19, 2001 3:24 PM
> Subject: Re: [Dev-C++] no match for istream & >> {unknown type}
>
>
> > The include file needed for the istream class is fstream. The
> include
> file entry would therefore be
> > #include <fstream>
> >
> > _______________________________________________
> > Dev-cpp-users mailing list
> > Dev...@li...
> > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
> >
>
|
|
From: softnasolutions-ltd.fsbusiness.co.uk <so...@so...> - 2001-02-19 19:54:44
|
I have tried it but i still have the error. I have attached all my file and
i will be most grateful if you can have a look and tell me what is wrong.
----- Original Message -----
From: <Dou...@ao...>
To: <dev...@li...>
Sent: Monday, February 19, 2001 3:24 PM
Subject: Re: [Dev-C++] no match for istream & >> {unknown type}
> The include file needed for the istream class is fstream. The include
file entry would therefore be
> #include <fstream>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|
|
From: Elias P. <eli...@ao...> - 2001-02-19 18:36:04
|
> hi, does anyone know how to create a makefile in order to compile somthing > in djgpp? > What exactly do you mean ? A makefile is just some file which tells the program 'make' how to compile something. Documentation for make should come with djgpp, or you can find it here: http://www.fsf.org/manual/make-3.79.1/make.html But to compile something, you don't need a makefile.. if you use an editor like Dev-C++ you shouldn't need them at all, only if you are giving your program away as a source distribution. |
|
From: Ian W. <lak...@ho...> - 2001-02-19 17:49:46
|
hi, does anyone know how to create a makefile in order to compile somthing in djgpp? thanksyou. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. |
|
From: <Dou...@ao...> - 2001-02-19 15:23:44
|
The include file needed for the istream class is fstream. The include file entry would therefore be #include <fstream> |
|
From: Stein N. <tem...@of...> - 2001-02-19 09:56:03
|
Hi again! I've just found, by mistake, that _AX = 0xEB geninterrupt(0x10); seems to be getting me into mode 320x240x256!! But the really wierd about it, is that when I run my program on another machine, it goes crazy and sets up in some odd 800x600 textmode, or something. Is this explainable? How DO i get into 320x240x256 in a safe way? I really would apreciate, any help!! Thanks!! :) ------------- #define stone |
|
From: <an...@wa...> - 2001-02-19 09:02:11
|
Agradecido. _ _ _ _ _ _ _ _ _ _ _ _ _ _ Alvaro Hornero Navare=F1o Mailto:an...@dp... Desarrollo de Productos Inform=E1ticos, S.A. Avda. del Mediterr=E1neo 2, 1 E. 28007 Madrid. =2E |
|
From: Ivan S. <so...@ei...> - 2001-02-19 08:42:23
|
At 10:21 17.02.01 +0100, you wrote: >----- Original Message ----- >From: <dev...@li...> >To: <dev...@li...> >Sent: Friday, February 16, 2001 9:01 PM >Subject: Dev-cpp-users digest, Vol 1 #177 - 6 msgs > > > > Send Dev-cpp-users mailing list submissions to > > dev...@li... > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > or, via email, send a message with subject or body 'help' to > > dev...@li... > > > > You can reach the person managing the list at > > dev...@li... > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of Dev-cpp-users digest..." > > > > > > Today's Topics: > > > > 1. Insight debugger don't work (Rommel Garza) > > 2. file IO problem (Tilman Utz) > > 3. Re: More wxWindows info. (Sam s Andujar) > > 4. Re: Insight debugger don't work (Charles) > > 5. RE: Example of linking (James Gordon) > > 6. Hide/Show a Window (=?iso-8859-1?Q?Alvaro_Hornero_Navare=F1o?=) > > > > --__--__-- > > > > Message: 1 > > From: "Rommel Garza" <rga...@ho...> > > To: <dev...@li...> > > Date: Thu, 15 Feb 2001 19:39:37 -0800 > > Subject: [Dev-C++] Insight debugger don't work > > Reply-To: dev...@li... > > > > This is a multi-part message in MIME format. > > > > ------=_NextPart_000_00CD_01C09787.08113B20 > > Content-Type: text/plain; > > charset="iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > I can't get Insight debugger to work.....i downloaded the zip file and = > > put them in my Bin and Share folders.....and I still get the > > console when I debug(F8). > > > > RG > > > > ------=_NextPart_000_00CD_01C09787.08113B20 > > Content-Type: text/html; > > charset="iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > > <HTML><HEAD> > > <META http-equiv=3DContent-Type content=3D"text/html; = > > charset=3Diso-8859-1"> > > <META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR> > > <STYLE></STYLE> > > </HEAD> > > <BODY bgColor=3D#ffffff> > > <DIV><FONT face=3DArial size=3D2>I can't get Insight debugger to = > > work.....i=20 > > downloaded the zip file and put them in my Bin and Share folders.....and = > > I still=20 > > get the</FONT></DIV> > > <DIV><FONT face=3DArial size=3D2>console when I debug(F8).</FONT></DIV> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV> > > <DIV><FONT face=3DArial size=3D2>RG</FONT></DIV></BODY></HTML> > > > > ------=_NextPart_000_00CD_01C09787.08113B20-- > > > > > > --__--__-- > > > > Message: 2 > > Date: Fri, 16 Feb 2001 02:38:42 +0100 > > From: Tilman Utz <Til...@st...> > > To: C++ Liste <dev...@li...> > > Subject: [Dev-C++] file IO problem > > Reply-To: dev...@li... > > > > Hi all, > > Did any of you work with file streams (ifstream, ofstream..) with > > dev-c++ and the cygwin compiler? > > I'm pretty sure it has to do with cygwin, probably the notation of the > > SearchPath, but I couldn't figure it out completely. > > Any comments appreciated > > Tilman > > > > > > > > --__--__-- > > > > Message: 3 > > To: dev...@li... > > Date: Thu, 15 Feb 2001 21:40:26 -0500 > > Subject: Re: [Dev-C++] More wxWindows info. > > From: Sam s Andujar <sam...@ju...> > > Reply-To: dev...@li... > > > > Hi All, > > > > Here's more wxWindows info for anyone interested: > > > > LINUX ZONE | wxWindows > > http://www-106.ibm.com/developerworks/linux?n-l-2151 > > > > ::: Looking Through wxWindows ::: > > Take a look at what the wxWindows library can do for multi-platform > > development. > > http://www-106.ibm.com/developerworks/library/l-wxwin.html?n-l-2151 > > > > ::: New Linux Download ::: > > Check out our new Developer Kit for Linux on Itanium. > > http://www.alphaworks.ibm.com/tech/linuxsdk?open&l=dWnl,d=215 > > > > > > I got that info from: > > > > IBM developerWorks Newsletter > > February 15, 2001 > > Vol. 2, Issue 7 > > > > Tools, code, and tutorials for open standards-based development. > > need it? get it. > > http://www-106.ibm.com/developerworks/?n-2151 > > > > --- > > Regards, > > Sam > > Sam...@ju... > > > > ________________________________________________________________ > > GET INTERNET ACCESS FROM JUNO! > > Juno offers FREE or PREMIUM Internet access for less! > > Join Juno today! For your FREE software, visit: > > http://dl.www.juno.com/get/tagj. > > > > > > --__--__-- > > > > Message: 4 > > From: "Charles" <cha...@at...> > > To: <dev...@li...> > > Cc: <rga...@ho...> > > Subject: Re: [Dev-C++] Insight debugger don't work > > Date: Thu, 15 Feb 2001 19:11:33 -0800 > > Reply-To: dev...@li... > > > > Rommel - > > > > > > > I can't get Insight debugger to work... ..i downloaded the zip file > > and put them in my Bin and Share folders... ..and I still get the > > console when I debug(F8). > > > > Here's one thing to check. On my machine in the BIN directory the size > > of the GDB.EXE file is now 1,393 kb and dated 11/8/99. The old GDB.EXE > > file was 1,034 kb and dated 11/7/99. > > > > Beware that Insight is still buggy. You might have problems attempting > > certain functions. If I even THINK about looking at the memory view the > > program crashes. In my installation Run can be invoked from the Console > > view only. Good luck. > > > > Chuck > > > > > > > > > > --__--__-- > > > > Message: 5 > > From: James Gordon <Jam...@Cl...> > > To: "'dev...@li...'" > > <dev...@li...> > > Subject: RE: [Dev-C++] Example of linking > > Date: Fri, 16 Feb 2001 08:53:45 -0000 > > Reply-To: dev...@li... > > > > This is the process that takes the binary form of your source and > > binds/links it together with the start-up code for the operating system >and > > any library code, again in binary form (.a, .so, .lib), required for your > > program to run. > > > > Very simplistic explanation but you get the idea. When you say compile >from > > within Dev-C++ or using make, nmake, cc etc they run ld to do the linking. > > > > Regards, > > > > James. > > > > > -----Original Message----- > > > From: Jose Guevarra [mailto:jo...@iq...] > > > Sent: Thursday, February 15, 2001 6:33 PM > > > To: dev...@li... > > > Subject: [Dev-C++] Example of linking > > > > > > Hi yall, > > > > > > Can anyone explain what "Linking" source code together means? Can > > > anyone give me some examples? > > > > > > Jose > > > > > > > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > > This electronic message and any attachment is intended to be > > read by the named addressee(s) only. > > Any other recipient should be aware that its contents may be > > legally privileged and/or confidential and that its use, > > disclosure, copying or distribution may be unlawful. > > Unless you are a named addressee, please delete this message > > > > Whilst C. & J. Clark International Limited has taken steps > > to prevent the transmission of computer viruses with electronic mail, > > responsibility for screening incoming messages and the risk of such > > transmission and its consequences lies with the recipient. > > > > C. & J. Clark International Limited > > Registered in England and Wales > > Company No. 141015 > > Registered Office: 40 High Street, Street, Somerset BA16 0YA > > Telephone: +44 (0) 1458 443131 > > Fax: +44 (0) 1458 447547 > > > > > > > > --__--__-- > > > > Message: 6 > > From: =?iso-8859-1?Q?Alvaro_Hornero_Navare=F1o?= <an...@wa...> > > To: <dev...@li...> > > Date: Fri, 16 Feb 2001 17:45:16 +0100 > > Subject: [Dev-C++] Hide/Show a Window > > Reply-To: dev...@li... > > > > Hi, all. > > > > Can anybody tell me how to Hide/Show a Window ? and how to put a icon in = > > the > > system tray (when de window is not visible)? > > > > Thanks, > > Alvaro. > > > > > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > Alvaro Hornero Navare=F1o > > Mailto:an...@dp... > > Desarrollo de Productos Inform=E1ticos, S.A. > > Avda. del Mediterr=E1neo 2, 1 E. 28007 Madrid. > > > > =2E > > > > > > > > > > > > --__--__-- > > > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > End of Dev-cpp-users Digest > > > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: <jos...@ya...> - 2001-02-19 07:55:48
|
Alvaro,
> Can anybody tell me how to Hide/Show a Window ?
The ShowWindow function sets the specified window's show state.
BOOL ShowWindow(
HWND hWnd, // handle of window
int nCmdShow // show state of window
);
Parameters
hWnd
Identifies the window.
nCmdShow
Specifies how the window is to be shown. This parameter is ignored the
first time an application calls ShowWindow, if the program that
launched the application provides a STARTUPINFO structure. Otherwise,
the first time ShowWindow is called, the value should be the value
obtained by the WinMain function in its nCmdShow parameter. In
subsequent calls, this parameter can be one of the following values:
Value Meaning
SW_HIDE Hides the window and activates another window.
SW_MAXIMIZE Maximizes the specified window.
SW_MINIMIZE Minimizes the specified window and activates the next
top-level window in the Z order.
SW_RESTORE Activates and displays the window. If the window is
minimized or maximized, Windows restores it to its original size and
position. An application should specify this flag when restoring a
minimized window.
SW_SHOW Activates the window and displays it in its current size and
position.
SW_SHOWDEFAULT Sets the show state based on the SW_ flag specified in
the STARTUPINFO structure passed to the CreateProcess function by the
program that started the application.
SW_SHOWMAXIMIZED Activates the window and displays it as a maximized
window.
SW_SHOWMINIMIZED Activates the window and displays it as a minimized
window.
SW_SHOWMINNOACTIVE Displays the window as a minimized window. The
active window remains active.
SW_SHOWNA Displays the window in its current state. The active window
remains active.
SW_SHOWNOACTIVATE Displays a window in its most recent size and
position. The active window remains active.
SW_SHOWNORMAL Activates and displays a window. If the window is
minimized or maximized, Windows restores it to its original size and
position. An application should specify this flag when displaying the
window for the first time.
Return Values
If the window was previously visible, the return value is nonzero.
If the window was previously hidden, the return value is zero.
Remarks
The first time a program calls ShowWindow, it uses the WinMain
function's nCmdShow parameter as its nCmdShow
parameter. Subsequent calls to ShowWindow must use one of the values
in the given list, instead of the one specified by the WinMain
function's nCmdShow parameter.
As noted in the discussion of the nCmdShow parameter, the nCmdShow
value is ignored in the first call to ShowWindow if the program that
launched the application specifies startup information in the
STARTUPINFO structure. In this case, ShowWindow uses the information
specified in the STARTUPINFO structure to show the window. On
subsequent calls, the application must call ShowWindow with nCmdShow
set to SW_SHOWDEFAULT to use the startup information provided by the
program that launched the application. For example, Program Manager
specifies that applications start with a minimized main window. This
behavior is designed for the following situations:
· Applications create their main window by calling CreateWindow with
the WS_VISIBLE flag set.
· Applications create their main window by calling CreateWindow with
the WS_VISIBLE flag cleared, and later call ShowWindow with the SW_SHOW
flag set to make it visible.
> and how to put a icon in the
> system tray (when de window is not visible)?
>
Use the function Shell_NotifyIcon (shellapi.h)
[Now Supported on Windows NT]
Sends a message to the system to add, modify, or delete an icon from
the taskbar status area.
WINSHELLAPI BOOL WINAPI Shell_NotifyIcon(
DWORD dwMessage, // message identifier
PNOTIFYICONDATA pnid // pointer to structure
);
Parameters
dwMessage
Identifier of the message to send. This parameter can be one of these
values:
NIM_ADD Adds an icon to the status area.
NIM_DELETE Deletes an icon from the status area.
NIM_MODIFY Modifies an icon in the status area.
pnid
Pointer to a NOTIFYICONDATA structure. The content of the structure
depends on the value of dwMessage.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
More info in theForger's tutorial or FAQ (I'm not sure). You can find a
link to that tutorials at
http://www.geocities.com/josempadron/esp/tutoriales.htm
http://www.geocities.com/josempadron/esp/pmf.htm
Hope this helps.
Chemanuel
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
|
|
From: Christian G. <chr...@ya...> - 2001-02-19 03:03:35
|
Bajatelo de http://www.delorie.com/djgpp/ chris ----- Original Message ----- From: "URSS" <UR...@so...> To: <dev...@li...> Sent: Thursday, February 01, 1996 7:55 AM Subject: RE: [Dev-C++] djgpp > Hi! > > Really, I can read some english, but I can't write good english, and some > phrases are really incoherent... :-) I have much interest about the > programing... but I am some lazy... < I don't know if it's good wroted... or > writed? ouch! > > Here, in Argentina, our official languaje is the spanish > -----Mensaje original----- > De: Ramana Kumar <ra...@my...> > Para: dev...@li... > <dev...@li...> > Fecha: Domingo 18 de Febrero de 2001 2:55 AM > Asunto: RE: [Dev-C++] djgpp > > > >http://www.delorie.com/djgpp/ > >what language do you speak? (I'm sorry that this is not completely obvious > >to me) > > > >-----Original Message----- > >From: dev...@li... > >[mailto:dev...@li...]On Behalf Of URSS > >Sent: Thursday, 1 February 1996 2:29 PM > >To: dev...@li... > >Subject: RE: [Dev-C++] djgpp > > > >Hi! > >I am new on the list... and I don't know much english, but, well... I am > >from Argentina... and... the question is... > > > >Where I can download djgpp? > > > >Bye! > > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Richard P. E. <ev...@ma...> - 2001-02-19 02:04:35
|
I am studying from a book titled "Windows 98 Programming from the Ground Up" by Herbert Schildt and seem to be running into an unsual problem. I have entered the source code for the scroll bar examples and they work when compiled but not totally. When I grab the button in the horizontal scroll bar it will move to where I want it and my position readout registered the movement but when I release the mouse button it snaps back to the zero position. Also, when I do a control scroll bar, in this case a vertical one, I can not drag the button with the mouse. If I click on the down arrowed button the position readout registers movement but the button just sits there and "blinks". I can't find any mistakes in my code as I typed it but maybe some one else has experienced similar problems and can tell me what they found to solve these problems. Thanks. Richard P. Evans |
|
From: Stein N. <tem...@of...> - 2001-02-18 22:27:10
|
Hi there! How do I get into 320x240x256?? (I've heard some about that it's called Guru-mode, or something. I think it is a really cool resolution, so if anyone can help I would be like 8) THANKS! ------------- #define stone |
|
From: softnasolutions-ltd.fsbusiness.co.uk <so...@so...> - 2001-02-18 20:45:10
|
Hi all,
I'm writing a program which reads and calculates students grades. I have =
a Student_info struct with its member functions in a Student_info.h.
when i compile, i get the error=20
no match for istream & >> {unknown type}
in the Student_info.cpp file. Can anyone help me. The definition for the =
problem funtion is=20
istream& Student_info::read(istream& is)
{
//read and store the student's name and midterm and final exams =
grades
is >> name >> midterm >> final;
=20
read_hw(is, homework); //read and store all the stud =
homework grades
return is;
}
BELOW IS THE HEADER FILE;
#ifndef GUARD_Student_info_h
#define GUARD_Student_info_h
// Student_info.h header file
#include <iostream>
#include <stdlib.h>
#include <string>
#include <vector>
class Student_info {
public:
Student_info();
Student_info(std::istream&);
std::string name() const {return n;}
bool valid() const {return !homework.empty();}
std::istream& read(std::istream&);
double grade() const;
private:
std::string n;
double midterm, final;
std::vector<double> homework;
};
bool compare(const Student_info&, const Student_info&);
//std::istream& read(std::istream&, Student_info&);
std::istream& read_hw(std::istream&, std::vector<double>&);
#endif
Napoleon.
|
|
From: URSS <UR...@so...> - 2001-02-18 20:00:46
|
Hi! Really, I can read some english, but I can't write good english, and some phrases are really incoherent... :-) I have much interest about the programing... but I am some lazy... < I don't know if it's good wroted... or writed? ouch! Here, in Argentina, our official languaje is the spanish -----Mensaje original----- De: Ramana Kumar <ra...@my...> Para: dev...@li... <dev...@li...> Fecha: Domingo 18 de Febrero de 2001 2:55 AM Asunto: RE: [Dev-C++] djgpp >http://www.delorie.com/djgpp/ >what language do you speak? (I'm sorry that this is not completely obvious >to me) > >-----Original Message----- >From: dev...@li... >[mailto:dev...@li...]On Behalf Of URSS >Sent: Thursday, 1 February 1996 2:29 PM >To: dev...@li... >Subject: RE: [Dev-C++] djgpp > >Hi! >I am new on the list... and I don't know much english, but, well... I am >from Argentina... and... the question is... > >Where I can download djgpp? > >Bye! |
|
From: Ramana K. <ra...@my...> - 2001-02-18 05:54:26
|
http://www.delorie.com/djgpp/ what language do you speak? (I'm sorry that this is not completely obvious to me) -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of URSS Sent: Thursday, 1 February 1996 2:29 PM To: dev...@li... Subject: RE: [Dev-C++] djgpp Hi! I am new on the list... and I don't know much english, but, well... I am from Argentina... and... the question is... Where I can download djgpp? Bye! _______________________________________________ Dev-cpp-users mailing list Dev...@li... http://lists.sourceforge.net/lists/listinfo/dev-cpp-users _______________________________________________ Dev-cpp-users mailing list Dev...@li... http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Ramana K. <ra...@my...> - 2001-02-18 05:52:49
|
Using the M$ Visual C libs just like normal (.a) libs sometimes works. Or if you can get the original files (.cpp I think) you can recompile the library to be a .a. In the Project options, I don't think you need a -l. Try using the Browse... button to get the files, but you have to convert it back to 8.3(MSDOS) format. -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Andrew Holden Sent: Sunday, 18 February 2001 8:15 AM To: dev...@li... Subject: Re: [Dev-C++] Libraries All Windows dynamic libs have a .dll suffix, even if they're created using DEV-C++. DEV-C++ has a dll project that can get you started. I haven't done any dlls yet, so I can't help much past that. As for static libs, the DEV-C++ gui doesn't support them. However, the command line tools do. I have attached a makefile I wrote to build a static lib. Put DEV-C++'s bin directory in your path, tweak the source file names and library name, and type "make" at the command prompt. As for file names, the makefile should be names "makefile" not "makefile.win" and the library should be named "lib______.a" As for libraries you got from other sources, DEV-C++ uses a different format static library from M$ Visual C and, as far as I know, there is no way. It should be possible to get the dlls to work though. Again, I haven't tried, so I can't list the steps. There are several .def files in the DEV-C++ lib directory. I think these fit in somehow. In general, you add libraries by going into project options and, under "further object files or linker options," type -l______ -l______ (no spaces after the l). Replace the blanks with the names of the libraries. As an example, suppose I have the libraries libfoo.a and bar.dll. I would put "-lfoo -lbar" Andrew Holden At 11:56 AM 2/17/2001 +0100, you wrote: >I just started using Dev-C++... >Shouldn't static libs have the .a suffix and dynamic libs have .so, like >under Linux? > >How can I create static libs with DEV-C++? And dynamic libs? > >How can I use a dynamic library for VisualC++ vith DEV-C++ if I can't >compile them? I just have the dll, the headers, and the impoirt library? >And a static lib? > >Thanx in advance. > >Marco Iannaccone mar...@ti... >ICQ: 18748121 MetalCoder > >"What is real? How do you define real? If you're talking about your >senses, what you feel, taste, smell, or see, then all you're talking about >are electrical signals interpreted by your brain." > Morpheus - The Matrix > > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Jared E. <ja...@vo...> - 2001-02-18 04:27:40
|
Hmm ... mismatched upper and lower case letters. Asking to write to an autoexec.bat file --- I smell a rat. - Jared At 05:11 PM 2/16/2001 -0800, you wrote: >Hey people! i want to make a program that can modify >my autoexec.bat file. can anyone help??? thanX > > - PrOgRaMmInG lOsEr > >__________________________________________________ >Do You Yahoo!? >Get personalized email addresses from Yahoo! Mail - only $35 >a year! http://personal.mail.yahoo.com/ > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: URSS <UR...@so...> - 2001-02-18 04:02:09
|
Hi! I am new on the list... and I don't know much english, but, well... I am from Argentina... and... the question is... Where I can download djgpp? Bye! _______________________________________________ Dev-cpp-users mailing list Dev...@li... http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Andrew H. <ah...@fi...> - 2001-02-17 21:14:46
|
All Windows dynamic libs have a .dll suffix, even if they're created using DEV-C++. DEV-C++ has a dll project that can get you started. I haven't done any dlls yet, so I can't help much past that. As for static libs, the DEV-C++ gui doesn't support them. However, the command line tools do. I have attached a makefile I wrote to build a static lib. Put DEV-C++'s bin directory in your path, tweak the source file names and library name, and type "make" at the command prompt. As for file names, the makefile should be names "makefile" not "makefile.win" and the library should be named "lib______.a" As for libraries you got from other sources, DEV-C++ uses a different format static library from M$ Visual C and, as far as I know, there is no way. It should be possible to get the dlls to work though. Again, I haven't tried, so I can't list the steps. There are several .def files in the DEV-C++ lib directory. I think these fit in somehow. In general, you add libraries by going into project options and, under "further object files or linker options," type -l______ -l______ (no spaces after the l). Replace the blanks with the names of the libraries. As an example, suppose I have the libraries libfoo.a and bar.dll. I would put "-lfoo -lbar" Andrew Holden At 11:56 AM 2/17/2001 +0100, you wrote: >I just started using Dev-C++... >Shouldn't static libs have the .a suffix and dynamic libs have .so, like >under Linux? > >How can I create static libs with DEV-C++? And dynamic libs? > >How can I use a dynamic library for VisualC++ vith DEV-C++ if I can't >compile them? I just have the dll, the headers, and the impoirt library? >And a static lib? > >Thanx in advance. > >Marco Iannaccone mar...@ti... >ICQ: 18748121 MetalCoder > >"What is real? How do you define real? If you're talking about your >senses, what you feel, taste, smell, or see, then all you're talking about >are electrical signals interpreted by your brain." > Morpheus - The Matrix > > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: David M. <dav...@ei...> - 2001-02-17 12:54:58
|
clear the history by going to file Reopen Clear history=20 ----- Original Message -----=20 From: Richard P. Evans=20 To: dev...@li...=20 Sent: Saturday, February 17, 2001 3:16 AM Subject: [Dev-C++] Slow "File" drop-down menu Does anybody know why when I click on "File" in the menu bar of = Dev-CPP that it takes 5 or 6 seconds before the drop down menu appears? Am I the only one experiencing this? So far that's the only problem, = if it can be called a problem, that I've had with Dev-CPP. Is this a = bug? Richard P. Evans |