dev-cpp-users Mailing List for Dev-C++ (Page 5)
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
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
1
(11) |
2
(9) |
3
(2) |
4
(6) |
5
(4) |
|
6
(1) |
7
(22) |
8
(3) |
9
(13) |
10
(14) |
11
(14) |
12
(5) |
|
13
(5) |
14
(5) |
15
(6) |
16
(1) |
17
(2) |
18
(1) |
19
(2) |
|
20
(4) |
21
(13) |
22
(14) |
23
(8) |
24
(3) |
25
(5) |
26
(3) |
|
27
(7) |
28
(3) |
29
|
30
(10) |
31
(3) |
|
|
|
From: tichy <ti...@po...> - 2005-03-11 19:00:05
|
Hi!
Please take look at this:
g_hwndLBSG =3D CreateWindowEx(WS_EX_CLIENTEDGE,WC_LISTBOX, "",
WS_CHILD | LBS_OWNERDRAWVARIABLE | LBS_HASSTRINGS | LBS_NOTIFY |
WS_VSCROLL | LBS_DISABLENOSCROLL,
530, 50, 80, 300,
g_hwndMain, (HMENU)ID_LBSG, g_hinst, NULL);
case ID_butAddSG:
{//list LB with image path is selected, bitmap displayed in =
a
preview control, button AddSG pressed to add bitmap to listbox LBSG
int sel,nItem;
sel=3DSendMessage(g_hwndLB, LB_GETCURSEL,0,0);
ImageList_Add(g_hlstSG, g_bmp, NULL);
ImageList_GetImageInfo(g_hlstSG, 0, &ii);
SendMessage(g_hwndLB, LB_GETTEXT, (WPARAM)sel,
(LPARAM)g_achTemp);
nItem =3D SendMessage(g_hwndLBSG, LB_ADDSTRING, 0,
(LPARAM)g_achTemp);
SendMessage(g_hwndLBSG, LB_SETITEMDATA, nItem, (LPARAM)g_bmp=
/*
ii.hbmImage */);
SendMessage(g_hwndLBSG, LB_SETCURSEL, 0, 0);
}
break;
................................
case WM_DRAWITEM:
{
if ((int)wParam =3D=3D ID_LBSG) {
MessageBox(g_hwndMain,"ID_LBSG", "",MB_OK);
if(lpDis->CtlType=3D=3DNULL)MessageBox(g_hwndMain,"ODT_ NULL!?",
"",MB_OK);
switch (lpDis->itemAction) {
MessageBox(g_hwndMain,"itemAction", "",MB_OK);
case ODA_DRAWENTIRE:
MessageBox(g_hwndMain,"drawentire", "",MB_OK);
...and so on ...
After I get message "ID_LBSG" (what is ok) I get message "ODT_NULL!?" wha=
t
means, that DRAWITEM structure is not filled. WHY? =3D8O
--
Regards,
Andrzej Kry=F1ski
http:\\tichy.fm.interia.pl
---
avast! antywirus: Wychodzace wiadomosc czysta.
Baza sygnatur wirusow (VPS): 0510-1, 2005-03-11
Przetestowano na: 2005-03-11 19:59:55
avast! - Copyright (c) 2000-2004 ALWIL Software.
http://www.avast.com
----------------------------------------------------------------------
Najlepsze MOTO w sieci! >>> http://link.interia.pl/f1862
|
|
From: tichy <ti...@po...> - 2005-03-11 19:00:01
|
Per Westermark wrote: > Long time since I wrote anything using naked Win32 API. However, if > the WM_PAINT isn't for your specific control, shouldn't you call any > default WM_PAINT code? This is solved now. Thanks. (BTW: WM_PAINT is sent to main window and it can't be control specific. To be so man have to subclass control) Andrzej Krynski http:\\tichy.fm.interia.pl --- avast! antywirus: Wychodzace wiadomosc czysta. Baza sygnatur wirusow (VPS): 0510-1, 2005-03-11 Przetestowano na: 2005-03-11 19:59:52 avast! - Copyright (c) 2000-2004 ALWIL Software. http://www.avast.com ---------------------------------------------------------------------- Portal z najlepsza wyszukiwarka! >>> http://link.interia.pl/f1861 |
|
From: Per W. <pw...@ia...> - 2005-03-11 16:38:51
|
You would need a lot more if you where going to develop MFC applications. Note that the Microsoft MFC libraries are built with Visual C++, not MinGW. I would recommend that you take a look at wxWidgets instead. The advantage is that your application will then be portable to a lot of other environments (Linux, Mac, OS/2, ...) /Per W On Fri, 11 Mar 2005 Rub...@al... wrote: > Hello all. > > Could you please tell me where can I download the following files: > > afxwin.h > afxext.h > afxsock.h > afxdisp.h > > Thank you and best regards. > > > Ruben Savia > Ingeniero Electr=F3nico > Datacom Services > eBD - eBusiness Division > Alcatel de Argentina S.A. > > e-mail : rub...@al... > > Phone: 5411 4349 - 1111 ext.1001 > Fax: 5411 4349 - 1199 > Alcanet : 2930-1001 > Web site: www.ind.alcatel.com > |
|
From: <Rub...@al...> - 2005-03-11 12:44:13
|
Hello all.
Could you please tell me where can I download the following files:
afxwin.h
afxext.h
afxsock.h
afxdisp.h
Thank you and best regards.
Ruben Savia
Ingeniero Electr=F3nico
Datacom Services
eBD - eBusiness Division
Alcatel de Argentina S.A.
e-mail : rub...@al...=20
Phone: 5411 4349 - 1111 ext.1001
Fax: 5411 4349 - 1199
Alcanet : 2930-1001
Web site: www.ind.alcatel.com=20
|
|
From: sana t. <lei...@ya...> - 2005-03-11 08:38:26
|
Hi, Can anybody tell me what MSFT is and how do you code it? Leihao. __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo |
|
From: Alfred P. R. <al...@ya...> - 2005-03-11 02:35:55
|
Hi Tom, You could possibly use the Alt-059 (use the keypad, with Num-Lock enabled) sequence, which will type ;. I just tried it on 4.9.9.1 and it appears to work. Can't help you with 2, as I've the same problem. With 3, I guess I don't understand what you mean by resource window. I have a resource file that has just the lines: #include <wx/msw/wx.rc> A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "FileCleanerPro.ico" in it. Since I've added it to the project, it comes up in the project browser, and opens correctly in the main edit window. If I do File->New->Resource File, it creates a new tab on the edit window named Untitled1, and I can then edit it. Big Playah <big...@gm...> wrote: Hi, just minor questions, but qould be great help for me to solve: 1) I use hungarian keyboard layout and cannot enter ';' in the IDE. I'd use AltGr+é (the US key ';' writes 'é' on HU) to get the ';' but in the IDE, it does not do anything. I've noticed this kind of behaviour with other programs as well (rhide had much bigger problems with handling this, and also programs compiled with DJGPP by me, too). I use WIN XP, on 98 I don't get this kind of error. Is there a workaround for this ? (changing to US eases this problem, but I'm used to HU layout very much, and can't afford going back to US which I'd used years ago...) 2) is there a way to turn auto-indent on, but tell it not to mess with unindenting on '}' ??? I find this annoying, but also stuck to my coding onventions... I have turned auto-indent completely off, but that's just not the best... can I make this a suggestion to the authors? I'd be happy to contribute also, as long as it's C stuff... (which I think it is not :) 3) is there a way to have my #define things in the resource window? anyway, what can I get in that window? I have resource.h and resource.rc added to my project, but still, resource window is empty. am I wrong when I suppose it should show me the defined variables ? tia, tom <snip> Alfred P. Reaud |
|
From: Big P. <big...@gm...> - 2005-03-11 01:50:55
|
Hi, just minor questions, but qould be great help for me to solve: 1) I use hungarian keyboard layout and cannot enter ';' in the IDE. I'd use AltGr+=E9 (the US key ';' writes '=E9' on HU) to get the ';' but in the IDE, it does not do anything. I've noticed this kind of behaviour with other programs as well (rhide had much bigger problems with handling this, and also programs compiled with DJGPP by me, too). I use WIN XP, on 98 I don't get this kind of error. Is there a workaround for this ? (changing to US eases this problem, but I'm used to HU layout very much, and can't afford going back to US which I'd used years ago...) 2) is there a way to turn auto-indent on, but tell it not to mess with unindenting on '}' ??? I find this annoying, but also stuck to my coding onventions... I have turned auto-indent completely off, but that's just not the best... can I make this a suggestion to the authors? I'd be happy to contribute also, as long as it's C stuff... (which I think it is not :) 3) is there a way to have my #define things in the resource window? anyway, what can I get in that window? I have resource.h and resource.rc added to my project, but still, resource window is empty. am I wrong when I suppose it should show me the defined variables ? tia, tom --=20 Coupe Quattro '89 Typ81 custom '84 |
|
From: <Mat...@Ve...> - 2005-03-11 00:11:48
|
Well, even accounting for the weirdness, they still beat sprintf and
snprintf any day of the week!
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Alfred P.
Reaud
Sent: Thursday, March 10, 2005 4:08 PM
To: Dev-Cpp UserList
Subject: RE: [Dev-C++] read numeric data in C++
Agreed, though that doesn't explain why the << operator doesn't append as
one would expect by the analogous functionality of cout. You don't normally
have to use a method call to set a string, you just use the = operator. It
could be by implication though, if you can take ss.str("") to be synonymous
with ss = "", if ss is a C++ string.
Further, that definitely doesn't explain why modifying the control state
flags, as the <http://www.cplusplus.com/ref/iostream/ios/clear.html> clear
method does, would cause the str("") method to occur. At least I'm not
seeing it specifically delineated out in the documentation, and couldn't
find it in the <sstream> file. It could be in another template, however,
that I haven't looked in.
I'm not saying you're wrong Matthew, what I mean is that it's kind of
inscrutable behavior on the part of string streams. Thanks for the lesson
folks, I'll make sure to refrain from the <sstream> class whenever possible.
;^)
Mat...@Ve... wrote:
For some reason this doesn't seem quite right, guys.
If you are trying to empty a stringstream object so you can fill it wil
new/different stuff just call ss.str("").
If you are trying to sync it up and write it out just call ss.flush().
HTH,
Matt
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Alfred P.
Reaud
Sent: Thursday, March 10, 2005 3:30 PM
To: Dev-Cpp UserList
Subject: Re: [Dev-C++] read numeric data in C++
That's interesting. The symptom makes it look like istr or i is only being
set once. It's hard to tell without looking at it with a debugger....
<snip>
Alfred P. Reaud <mailto:al...@ya...>
<http://www.geocities.com/alreaud/>
___________________________________________________________________
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof. Thank you.
|
|
From: Alfred P. R. <al...@ya...> - 2005-03-11 00:07:41
|
Agreed, though that doesn't explain why the << operator doesn't append as one would expect by the analogous functionality of cout. You don't normally have to use a method call to set a string, you just use the = operator. It could be by implication though, if you can take ss.str("") to be synonymous with ss = "", if ss is a C++ string.
Further, that definitely doesn't explain why modifying the control state flags, as the clear method does, would cause the str("") method to occur. At least I'm not seeing it specifically delineated out in the documentation, and couldn't find it in the <sstream> file. It could be in another template, however, that I haven't looked in.
I'm not saying you're wrong Matthew, what I mean is that it's kind of inscrutable behavior on the part of string streams. Thanks for the lesson folks, I'll make sure to refrain from the <sstream> class whenever possible. ;^)
Mat...@Ve... wrote:
For some reason this doesn't seem quite right, guys.
If you are trying to empty a stringstream object so you can fill it wil new/different stuff just call ss.str("").
If you are trying to sync it up and write it out just call ss.flush().
HTH,
Matt
-----Original Message-----
From: dev...@li... [mailto:dev...@li...]On Behalf Of Alfred P. Reaud
Sent: Thursday, March 10, 2005 3:30 PM
To: Dev-Cpp UserList
Subject: Re: [Dev-C++] read numeric data in C++
That's interesting. The symptom makes it look like istr or i is only being set once. It's hard to tell without looking at it with a debugger....
<snip>
Alfred P. Reaud
|
|
From: <Mat...@Ve...> - 2005-03-10 23:43:58
|
Almost forgot... http://www.cplusplus.com/ref/iostream/stringstream/ <http://www.cplusplus.com/ref/iostream/stringstream/> There's your member functions. HTH, Matt -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Alfred P. Reaud Sent: Thursday, March 10, 2005 3:30 PM To: Dev-Cpp UserList Subject: Re: [Dev-C++] read numeric data in C++ That's interesting. The symptom makes it look like istr or i is only being set once. It's hard to tell without looking at it with a debugger.... Doesn't the clear method actually deallocate the string (not the pointer that is implied in the string object). And is it calling string::clear, ios_base::clear, or both? The actual machine line call label was:_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate. I didn't trace into that function. I'm using Insight BTW, using Mixed view. Possibly it's not flushing the string buffer buffer, which may be implied in the clear method? I didn't go into any of the routines with the debugger, but at the machine level, the only difference is the commented out line. I didn't look to see if it was in the << or >> of istr, though the problem is in it's functionality somewhere. Jeremy Hill <jer...@co...> wrote: <snip> while (fin >> holder) { istr << holder; istr >> i; cout << holder << "/" << i << endl; istr.clear(); //stringstreams suck, you have to do //this to get it to work properly. } }; <snip> Incidently, anyone want to take a crack at why I have to clear the string of the stringstream for it to work properly? If I don't, I get this: 10/10 20/10 30/10 40/10 50/10 60/10 70/10 80/10 90/10 100/10 -- Jeremy <snip> Alfred P. Reaud <mailto:al...@ya...> <http://www.geocities.com/alreaud/> ___________________________________________________________________ The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. |
|
From: <Mat...@Ve...> - 2005-03-10 23:43:13
|
For some reason this doesn't seem quite right, guys.
If you are trying to empty a stringstream object so you can fill it wil
new/different stuff just call ss.str("").
If you are trying to sync it up and write it out just call ss.flush().
HTH,
Matt
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Alfred P.
Reaud
Sent: Thursday, March 10, 2005 3:30 PM
To: Dev-Cpp UserList
Subject: Re: [Dev-C++] read numeric data in C++
That's interesting. The symptom makes it look like istr or i is only being
set once. It's hard to tell without looking at it with a debugger....
Doesn't the clear method actually deallocate the string (not the pointer
that is implied in the string object). And is it calling string::clear,
ios_base::clear, or both? The actual machine line call label
was:_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate. I didn't
trace into that function. I'm using Insight BTW, using Mixed view.
Possibly it's not flushing the string buffer buffer, which may be implied in
the clear method? I didn't go into any of the routines with the debugger,
but at the machine level, the only difference is the commented out line. I
didn't look to see if it was in the << or >> of istr, though the problem is
in it's functionality somewhere.
Jeremy Hill <jer...@co...> wrote:
<snip>
while (fin >> holder)
{
istr << holder;
istr >> i;
cout << holder << "/" << i << endl;
istr.clear(); //stringstreams suck, you have to do
//this to get it to work properly.
}
};
<snip>
Incidently, anyone want to take a crack at why I have to clear the
string of the stringstream for it to work properly? If I don't, I get
this:
10/10
20/10
30/10
40/10
50/10
60/10
70/10
80/10
90/10
100/10
-- Jeremy
<snip>
Alfred P. Reaud <mailto:al...@ya...>
<http://www.geocities.com/alreaud/>
___________________________________________________________________
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof. Thank you.
|
|
From: Alfred P. R. <al...@ya...> - 2005-03-10 23:30:03
|
That's interesting. The symptom makes it look like istr or i is only being set once. It's hard to tell without looking at it with a debugger....
Doesn't the clear method actually deallocate the string (not the pointer that is implied in the string object). And is it calling string::clear, ios_base::clear, or both? The actual machine line call label was:_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate. I didn't trace into that function. I'm using Insight BTW, using Mixed view.
Possibly it's not flushing the string buffer buffer, which may be implied in the clear method? I didn't go into any of the routines with the debugger, but at the machine level, the only difference is the commented out line. I didn't look to see if it was in the << or >> of istr, though the problem is in it's functionality somewhere.
Jeremy Hill <jer...@co...> wrote:
<snip>
while (fin >> holder)
{
istr << holder;
istr >> i;
cout << holder << "/" << i << endl;
istr.clear(); //stringstreams suck, you have to do
//this to get it to work properly.
}
};
<snip>
Incidently, anyone want to take a crack at why I have to clear the
string of the stringstream for it to work properly? If I don't, I get
this:
10/10
20/10
30/10
40/10
50/10
60/10
70/10
80/10
90/10
100/10
-- Jeremy
<snip>
Alfred P. Reaud
|
|
From: <muz...@ya...> - 2005-03-10 21:11:41
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I hav just installed Dev-C++ 4.9.9.2. I had the following problem with earlier versions too. I keyed in the classic "hello" program, which compiled ok. Here is the compile log- Compiler: Default compiler Executing g++.exe... g++.exe "C:\devcpl\Dev-Cpp\My Examples\Hello_c.cpp" -o "C:\devcpl\Dev- Cpp\My Examples\Hello_c.exe" -pg -g3 -I"C:\DEV- CPP\lib\gcc\mingw32\3.4.2\include" -I"C:\DEV- CPP\include\c++\3.4.2\backward" -I"C:\DEV-CPP\include\c++\3.4.2\mingw32" - I"C:\DEV-CPP\include\c++\3.4.2" -I"C:\DEV-CPP\include" -L"C:\DEV-CPP\lib" - -lgmon -pg -g3 g++.exe: installation problem, cannot exec `cc1plus': No such file or directoryExecution terminated Compilation successful Then I went to run it and it said "source file not compiled". I notice it can't find cc1plus, but this file is on the system at c:\devcpl\Dev-Cpp\libexec\gcc\mingw32\3.4.2 I can't find where I should notify the program to know where to find this program, but I hope someone can lead me in the right direction. I guess if it knew where to find the file, the program would then run. It did not of course create the program hello.exe. Hoping someone can help me so I can proceed with my learning of c and c plus. Thanks. Murray Felstead. muz...@ya... -----BEGIN PGP SIGNATURE----- Version: idw's PGP-Frontend 4.9.6.4 / 6-2004 + PGP 8.1.0 iQA/AwUBQjC38xHDmRNEhzVZEQJkygCcCbgVxRyIUDo4xKHGQglAOkGd9LgAn1pD aB2oINCKNhxq5Lmi7O34HLPY =OH9a -----END PGP SIGNATURE----- |
|
From: Jeremy H. <jer...@co...> - 2005-03-10 18:20:55
|
Well, for C++ (as stated in the subject), this code works:
Code:
-----------------------------------------------
#include <iostream> //for basic C++ stuff
#include <sstream> //for stringstream
#include <fstream> //for ifstream
using namespace std;
int main()
{
int i;
ifstream fin("file.txt");
stringstream istr;
string holder;
if (!fin)
{
cerr << "The world has ended! Abort!" << endl;
exit(1);
}
while (fin >> holder)
{
istr << holder;
istr >> i;
cout << holder << "/" << i << endl;
istr.clear(); //stringstreams suck, you have to do
//this to get it to work properly.
}
};
----------------------------------------------
Where file.txt contains:
10
20
30
40
50
60
70
80
90
100
Incidently, anyone want to take a crack at why I have to clear the
string of the stringstream for it to work properly? If I don't, I get
this:
10/10
20/10
30/10
40/10
50/10
60/10
70/10
80/10
90/10
100/10
-- Jeremy
Johan Parmler wrote:
> Hello
>
> I am a new user of C and I need to load and save numeric data from and
> to an ascii file.
>
> Does someone have an example or any tips to make this?
>
> Johan parmler
>
|
|
From: Marek J. <sp...@we...> - 2005-03-10 16:13:40
|
seb_kramm wrote: > Oops. Sorry 'bout that, I forgot there was a bug page on SF. > I must say that, for common users, it is not very easy to find on > http://www.bloodshed.net/dev/index.html > > Anyway, I suppose Colin and the others devs are reading this list, no ? we definitely read bugs page - that's for sure -- Marek |
|
From: seb_kramm <seb...@ya...> - 2005-03-10 16:08:06
|
Marek Januszewski a =E9crit : > if you find any bugs, please check the bugs page if someone already=20 > reported, please add your comments, if not report a new one. > dev-c++ team will not be able to fix bugs they don't know about Oops. Sorry 'bout that, I forgot there was a bug page on SF. I must say that, for common users, it is not very easy to find on http://www.bloodshed.net/dev/index.html Anyway, I suppose Colin and the others devs are reading this list, no ? |
|
From: <A_B...@gm...> - 2005-03-10 15:58:46
|
Hi, how can I show a help file (Windows *.hlp) with C/C++ (maybe with the windows api) ??? thx, Acki |
|
From: Marek J. <sp...@we...> - 2005-03-10 15:25:17
|
seb_kramm wrote: > seb_kramm a écrit : > >> Looks like the bug that made files names messing up in the left pane >> when going full screen has gone ! Congratulations ! > > > Well, I was speaking too fast, here it is again... ;-) (see attached) > (allthough it's far better with 4.9.9.9.9....2 ) > > It's not really bad, it's just to tell about it. > > For those to whom that never happened: > At one moment, without doing anything particular, maybe just switching > full screen on/off (F12) a couple of times (but I'm not even sure...), > the list of files showed in your project just messes up, no crashing, > you just get a file for another, and the same name is showed several times. if you find any bugs, please check the bugs page if someone already reported, please add your comments, if not report a new one. dev-c++ team will not be able to fix bugs they don't know about -- Marek |
|
From: seb_kramm <seb...@ya...> - 2005-03-10 14:03:25
|
seb_kramm a =E9crit : > Looks like the bug that made files names messing up in the left pane=20 > when going full screen has gone ! Congratulations ! Well, I was speaking too fast, here it is again... ;-) (see attached) (allthough it's far better with 4.9.9.9.9....2 ) It's not really bad, it's just to tell about it. For those to whom that never happened: At one moment, without doing anything particular, maybe just switching fu= ll screen=20 on/off (F12) a couple of times (but I'm not even sure...), the list of fi= les showed=20 in your project just messes up, no crashing, you just get a file for anot= her, and the=20 same name is showed several times. |
|
From: gpuime <gp...@pa...> - 2005-03-10 11:18:28
|
Executable files get bigger and bigger with new versions of Dev-C++. I'ts not the first time I notice it, but now the size seems to me enormous for such a small program ( which only includes <iostream>): For only 73KB with Dev-C++.v.4 I get 575KB with Dev-C++.v.4.9.9.4 reduced to 261 after stripping and without debugging information, but still 261KB is 3.6 times 73 ! Does anyone know the cause of this? Puime |
|
From: Slackrat <in...@fa...> - 2005-03-10 10:20:44
|
----- Original Message -----=20 From: Johan Parmler=20 I am a new user of C and I need to load and save numeric=20 http://www.deakin.edu.au/~agoodman/ctutorial/814.html -- Slackrat |
|
From: Johan P. <Joh...@hh...> - 2005-03-10 07:01:28
|
Hello I am a new user of C and I need to load and save numeric data from and to an ascii file. Does someone have an example or any tips to make this? Johan parmler |
|
From: Alfred P. R. <al...@ya...> - 2005-03-10 00:19:38
|
Hi All, Has anybody used the CryptoAPI package? If so, what did you think of it. And, is there any widely held recommendation on a freeware encryption software suite? I'd prefer something that uses a symmetrical vs. asymmetrical key, BTW. I'm googling right now as I write... Thanks, Alfred P. Reaud |
|
From: Alfred P. R. <al...@ya...> - 2005-03-09 22:31:31
|
Hi Victor, I've come across some of the problems, mostly from using the wrong gdb due to path issues. In my implementation there is the following: ./Dev-Cpp/bin/gdb.exe ./Dev-Cpp/bin/Insight/bin/usr/bin/gdb.exe (gdb GUI) ./GNU/MinGW/bin/gdb.exe The Dev-Cpp works correctly, there are some bugs in the Insight version, and the Mingw version doesn't work correctly with files compiled on Dev-Cpp. The same applies to gprof and gcov. I'm not saying there is a bug in any of them. However, I've found that using the Mingw version of gcov and gprof fail as the format of the input files isn't correct when compiled with Dev-Cpp. This is most probably due to incorrect or incompatible versions of each. I've also found that you have to use Ctrl-C (Unix conventions) to copy instead of Ctrl-Insert (Windows conventions) on Insight, if I understand your problem correctly. The final comment is that if you're working on code with the -O (optimizations) flag enabled, then the debugger won't necessarily show the correct line. I would recommend reading the GNU-GDB documentation (http://www.gnu.org/software/gdb/documentation/) in full, as there's lots of information there to help your with your task. Also verify that you have compatible versions of the compiler and debugger. Âèêòîð <vi...@wa...> wrote: Greatings, dev-cpp-users, Is anyone use Dev-CPP with cygwin compiler and gdb? When I try to debug, follows happen: - first of all, output log look like bad (no new line without CR(0x0d)) - I couldn't copy all text from output (menu item "copy" is disabled) :-( - message "frames-invalid" appear many times in log during debuging - editor don't show currently executing line (but watched variables displaying normally) Sorry about bad Eng :-) if any-one can understand it, I'll be very thankfull for help. I understand all, but can't say anyting (like a dog :-)))) -- Best Regards, Victor ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users Alfred P. Reaud |
|
From: Marek J. <sp...@we...> - 2005-03-09 19:07:33
|
Verne H. Bohlender wrote: > Don't the instructions say to remove the older version first??? The > rest of us didn't have this problem that I know of. with full installer yes, but I don't think there's instructions that say that during webupdate -- Marek |