dev-cpp-users Mailing List for Dev-C++ (Page 439)
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: Rick <rg...@ya...> - 2003-02-17 04:59:09
|
Hi guys , I have downloaded all the gtk packages , intalled them but I can compile any C program using the gtk library . I have the libraries in : C:\Dev-Cpp\include\gtk-2.0\gtk where all the GTK libraries are . I have also installed the Gimp Toolkit (GTK+)Runtime library. How can I compile a C program using the Gtk.h ? I tried a lot of things but none succesfully . What should I put in the compiler options in order to compile C programs that uses Gtk ? Thanks , Regards Rick Karcher __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com |
|
From: Colin L. <ha...@bl...> - 2003-02-17 00:15:42
|
Hi everybody ! I've added support for showing graphically (in a tree view) the variables and classes during debugging. You can view a screenshot at : http://haiku.bloodshed.net/tmp/debug.jpg The 4.9.6.7 executable is available on vUpdate and on the CVS. I have tested it on very very big classes and have seen no problems, but if you come up with a bug please tell me about it. Note : with GDB you need to use the value operator (i.e *) in order to show the members of your variable pointers. For example to debug your whole class members while stepping into one of it's member function, add the debug variable name : *this Typing "this" without the value operator * will only show the pointer's address. Sometimes GDB also need the type of your pointer, so you may need to use : *(YourClass *)pointer Greetings, Colin Laplace |
|
From: Ali M. <am...@ur...> - 2003-02-16 23:51:52
|
Hello all
I want to make a small app that monitors all network traffic on my
computer but going under the TCP-UDP layer. I'm not new to C, but quite new
in Dev-C++.
Regards, Ali
|
|
From: Lucas K. T. <lk...@bo...> - 2003-02-16 23:06:12
|
Thanks for everything...
I'm still in trouble with the TAB thing... I added WS_EX_CONTROLPARENT to
the parent window, but I don't know, for some reason it still won't go, I
haven't tested yet the disabling thing, I used to use
SendDlgItemMessage(blah, blah, WM_ENABLE, ...)
but it didn't work properly, wouldn't ti be the same?
and thanks the BitBlt is now working, stupid me, it was a momentary lapse=
,
thanks...
lkt153
----- Original Message -----
From: "OROSZI Bal=E1zs" <or...@vp...>
To: <dev...@li...>
Sent: Sunday, February 16, 2003 6:54 PM
Subject: Re: [Dev-C++] Questions on WS_TABSTOP, WS_DISABLED and BitBlt
> Hello!
>
> Lucas K. Tavares wrote:
> > Ok, first of all, I'm using WinXP and for some reason when I define
controls
> > with the WS_TABSTOP style they should receive tab input to lose/gain
focus,
> > right? but for some reason, then don't!
> Hmm..., strange problem I encountered a long time ago. If your window,
> where the controls are is not a dialog box, but it is created with
> CreateWindow(), then you should create it with CreateWindowEx() and
> specify the first argument (dwExStyle) with WS_EX_CONTROLPARENT. Look i=
n
> the docs (Win32 API reference) for details on this.
>
> > As for disabling a button, I've tried using WS_ENABLE with FALSE and
then
> > turning it back on, but that way, the control simply gets grayed, but
not
> > disabled, but then if I add the WS_DISABLED style flag it doesn't see=
m
to be
> > writeable at all, I was wondering if there was any way around this,
without
> > having to call SetWindowLong.
> Use EnableWindow(hButton,FALSE) to disable and
> EnableWindow(hButton,TRUE) to enable the button.
>
> > And last: I'm trying to make a game, and I create a static control wi=
th
> > WS_CHILD | WS_VISIBLE| SS_OWNERDRAW | SS_NOTIFY styles.... then I use=
d
this
> > as a handler for WM_DRAWITEM:
> >
> > case WM_DRAWITEM:
> > HBITMAP hBoardBmp, hOldBmp;
> > HDC hBoardDC;
> > LPDRAWITEMSTRUCT lpdis;
> lpdis is in lParam. So you probably need this here:
> lpdis =3D (LPDRAWITEMSTRUCT)lParam;
>
> > hBoardDC =3D CreateCompatibleDC(lpdis->hDC);
> > hBoardBmp =3D LoadBitmap(GetModuleHandle(NULL), MAKEINTRESOURCE(RSBOR=
D));
> > hOldBmp =3D (HBITMAP)SelectObject(hBoardDC, hBoardBmp);
> > if (!BitBlt(lpdis->hDC, 0, 0, 93, 93, hBoardDC, 0, 0, SRCCOPY))
> Are you sure, it is 93*93? You should use the lpdis->rcItem rectangle,
> which specifies the boundaries of the control.
>
> > {
> > char a[50];
> > DWORD er;
> > er =3D GetLastError();
> > wsprintf(a, "%lu", er);
> > MessageBox(hWnd, a, NULL, 0);
> > }
> > SelectObject(hBoardDC, hOldBmp);
> > DeleteObject(hBoardBmp);
>
> This is not needed:
> > DeleteObject(hOldBmp);
> The old bitmap was not created by you.
>
> > DeleteDC(hBoardDC);
> > break;
>
> Hope I could help.
> --
> Greetings,
> Bal=E1zs
|
|
From: <or...@vp...> - 2003-02-16 21:53:36
|
Hello!
Lucas K. Tavares wrote:
> Ok, first of all, I'm using WinXP and for some reason when I define controls
> with the WS_TABSTOP style they should receive tab input to lose/gain focus,
> right? but for some reason, then don't!
Hmm..., strange problem I encountered a long time ago. If your window,
where the controls are is not a dialog box, but it is created with
CreateWindow(), then you should create it with CreateWindowEx() and
specify the first argument (dwExStyle) with WS_EX_CONTROLPARENT. Look in
the docs (Win32 API reference) for details on this.
> As for disabling a button, I've tried using WS_ENABLE with FALSE and then
> turning it back on, but that way, the control simply gets grayed, but not
> disabled, but then if I add the WS_DISABLED style flag it doesn't seem to be
> writeable at all, I was wondering if there was any way around this, without
> having to call SetWindowLong.
Use EnableWindow(hButton,FALSE) to disable and
EnableWindow(hButton,TRUE) to enable the button.
> And last: I'm trying to make a game, and I create a static control with
> WS_CHILD | WS_VISIBLE| SS_OWNERDRAW | SS_NOTIFY styles.... then I used this
> as a handler for WM_DRAWITEM:
>
> case WM_DRAWITEM:
> HBITMAP hBoardBmp, hOldBmp;
> HDC hBoardDC;
> LPDRAWITEMSTRUCT lpdis;
lpdis is in lParam. So you probably need this here:
lpdis = (LPDRAWITEMSTRUCT)lParam;
> hBoardDC = CreateCompatibleDC(lpdis->hDC);
> hBoardBmp = LoadBitmap(GetModuleHandle(NULL), MAKEINTRESOURCE(RSBORD));
> hOldBmp = (HBITMAP)SelectObject(hBoardDC, hBoardBmp);
> if (!BitBlt(lpdis->hDC, 0, 0, 93, 93, hBoardDC, 0, 0, SRCCOPY))
Are you sure, it is 93*93? You should use the lpdis->rcItem rectangle,
which specifies the boundaries of the control.
> {
> char a[50];
> DWORD er;
> er = GetLastError();
> wsprintf(a, "%lu", er);
> MessageBox(hWnd, a, NULL, 0);
> }
> SelectObject(hBoardDC, hOldBmp);
> DeleteObject(hBoardBmp);
This is not needed:
> DeleteObject(hOldBmp);
The old bitmap was not created by you.
> DeleteDC(hBoardDC);
> break;
Hope I could help.
--
Greetings,
Balázs
|
|
From: Astar <As...@tu...> - 2003-02-16 16:34:02
|
Hello Robson,
Saturday, February 15, 2003, 9:43:44 PM, you wrote:
RB> Well, i'm working with <fstream> routines and want to create a file to save
RB> binary data but it's not working. An error occurs when trying to compile the
RB> following line:
RB> ofstream fout("datafile.dat", ios_base::binary);
i overcome this eroor some hours ago :)
if you use gcc 3.2
write:
std::ofstrem( "data.txt", std::ios::binary );
don't include "ios_base.h" and other internal headers. include
<fstream>
and add to include's settings C:\Dev-Cpp\include\c++\mingw32\bits
or just copy all files form there to C:\Dev-Cpp2\include\c++\bits
but If You use any previous gcc/mingsw32 just write:
ofstrem( "data.txt", std::binary );
--
Astar mailto:
|
|
From: Lucas K. T. <lk...@bo...> - 2003-02-16 14:43:13
|
Ok, first of all, I'm using WinXP and for some reason when I define controls
with the WS_TABSTOP style they should receive tab input to lose/gain focus,
right? but for some reason, then don't! eheheh btw, I'm creating those
controls with WS_VISIBLE and WS_CHILD within the WS_CREATE message handler.
As for disabling a button, I've tried using WS_ENABLE with FALSE and then
turning it back on, but that way, the control simply gets grayed, but not
disabled, but then if I add the WS_DISABLED style flag it doesn't seem to be
writeable at all, I was wondering if there was any way around this, without
having to call SetWindowLong.
And last: I'm trying to make a game, and I create a static control with
WS_CHILD | WS_VISIBLE| SS_OWNERDRAW | SS_NOTIFY styles.... then I used this
as a handler for WM_DRAWITEM:
case WM_DRAWITEM:
HBITMAP hBoardBmp, hOldBmp;
HDC hBoardDC;
LPDRAWITEMSTRUCT lpdis;
hBoardDC = CreateCompatibleDC(lpdis->hDC);
hBoardBmp = LoadBitmap(GetModuleHandle(NULL), MAKEINTRESOURCE(RSBORD));
hOldBmp = (HBITMAP)SelectObject(hBoardDC, hBoardBmp);
if (!BitBlt(lpdis->hDC, 0, 0, 93, 93, hBoardDC, 0, 0, SRCCOPY))
{
char a[50];
DWORD er;
er = GetLastError();
wsprintf(a, "%lu", er);
MessageBox(hWnd, a, NULL, 0);
}
SelectObject(hBoardDC, hOldBmp);
DeleteObject(hBoardBmp);
DeleteObject(hOldBmp);
DeleteDC(hBoardDC);
break;
Anyway, after some time trying to debug it, I found out BitBlt was giving me
an error code 6, then I went to dos prompt and typed 'net help 6' and 'net
helpmsg 6" both give me error message, so Ican't really figure out what's
going on, anyone's got any idea what error code 6 is? and/or how do I fix
this?
Note: The LoadBitmap call is working perfectly, it has no errors... I've
checked the only faulty one is BitBlt or perhaps SelectObject which I
couldn't really check.
Thanks for any answers...
lkt153
|
|
From: Ioannis V. <no...@ho...> - 2003-02-16 13:26:47
|
iostream.h is not proper C++. After the official ANSI/ISO C++ standard
ratification, standard library header files have no .h extension except o=
f
the C subset. Everything is defined in namespace std. Example:=0D
=0D
#include <iostream>=0D
=0D
int main()=0D
{=0D
std::cout<<"Hello new world!\n";=0D
=0D
return 0;=0D
}=0D
=0D
The C subset header files also exist in the form <cxxxx>, e.g. <cstdlib> =
and
everything in them is also defined in namespace std. Example:=0D
=0D
#include <iostream>=0D
#include <cstdlib>=0D
=0D
int main()=0D
{=0D
using namespace std;=0D
=0D
cout<<"Hello new world!\n";=0D
=0D
system("pause");=0D
=0D
return 0;=0D
}=0D
=0D
=0D
A slow thorough read of an up to date C++ book will have much to offer.=0D
=0D
=0D
Ioannis Vranos=0D
=0D
* Programming pages: http://www.noicys.freeurl.com=0D
* Alternative URL: http://run.to/noicys =0D
=0D
-------Original Message-------=0D
=0D
From: Martin Clausen=0D
Date: =CA=F5=F1=E9=E1=EA=DE, 16 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2003 12=
:22:31 =EC=EC=0D
To: dev...@li...=0D
Subject: Re: [Dev-C++] Cannot compile using Dev-C++ 5.0 beta 7 (4.9.7.0) =
(10
MB) with Min=0D
=0D
Hi again,=0D
=0D
Thanks for input Robson. The only iostream.h file in all directories unde=
r =0D
Dev-Cpp is in C:\Dev-Cpp\include\c++\backward.=0D
=0D
I swear I haven't touched a single thing :-) - just installed and run out=
of
=0D
the box. How do I get the compiler to find the iostream.h file ? and all =
the
=0D
other legacy files ? or is there somthing more fundametally wrong with my=
=0D
setup ? do you have iostream.h located somewhere else ?=0D
=0D
Just so I don't waste anybodys time, the problem only arises when I used =
the
=0D
latest version with Mingw/GCC 3.2 - with Mingw/GCC 2.95.3 everything work=
s =0D
fine.=0D
=0D
Martin=0D
=0D
=0D
_________________________________________________________________=0D
Find din ferie p=E5 MSN Rejser http://www.msn.dk/rejser=0D
=0D
=0D
=0D
-------------------------------------------------------=0D
This sf.net email is sponsored by:ThinkGeek=0D
Welcome to geek heaven.=0D
http://thinkgeek.com/sf=0D
_______________________________________________=0D
Dev-cpp-users mailing list=0D
Dev...@li...=0D
TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm=0D
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users=20 |
|
From: nada <na...@ca...> - 2003-02-16 12:36:12
|
Is there a way to modify the text inserted with "Insert->Comment Header"?
{rb}
--
|
|
From: nada <na...@ca...> - 2003-02-16 12:24:12
|
>
> i'm a new user to DevC++ whenever i compile and run a program the
>program runs in a flash without me able to see the output,how do i make the
>output screen stay till i close it .
> i'm a new user to DevC++ whenever i compile and run a program the
>program runs in a flash without me able to see the output,how do i make the
>output screen stay till i close it .
add:
system("pause");
on the line above "return 0;" in main().
"system" uses stdlib.h, so be sure to #include it.
FWIW: I added both of these to the "Insert" menu - saves me the time of
re-typing them. To add to the "Insert" menu:
1) Choose "Tools-->Editor-->Code->Add"
I hope this helps.
<rb>
|
|
From: <jm...@te...> - 2003-02-16 12:13:04
|
I can't compile long lines. g++.exe ../src/AboutDialog.o ../src/AColor.o ../src/AStatus.o ../src/AudacityApp.o ../src/AudioIO.o ../src/Benchmark.o ../src/BlockFile.o ../src/ControlToolBar.o ../src/DirManager.o ../src/EditToolBar.o ../src/Envelope.o ../src/FFT.o ../src/FileFormats.o ../src/FreqWindow.o ../src/Help.o ../src/HistoryWindow.o ../src/LabelTrack.o ../src/Landmark.o ../src/LangChoice.o ../src/Languages.o ../src/Mix.o ../src/MixerToolBar.o ../src/NoteTrack.o ../src/Prefs.o ../src/Project.o ../src/RingBuffer.o ../src/SampleFormat.o ../src/Sequence.o ../src/Spectrum.o ../src/Tags.o ../src/TimeTrack.o ../src/ToolBar.o ../src/Track.o ../src/TrackArtist.o ../src/TrackPanel.o ../src/UndoManager.o ../src/WaveTrack.o ../src/effects/Amplify.o ../src/effects/AvcCompressor.o ../src/effects/BassBoost.o ../src/effects/ChangeTempo.o ../src/effects/Compressor.o ../src/effects/Echo.o ../src/effects/Effect.o ../src/effects/Equalization.o ../src/effects/Fade.o ../src/effects/Filter.o ../src/effects/Invert.o ../src/effects/LoadEffects.o ../src/effects/Noise.o ../src/effects/NoiseRemoval.o ../src/effects/Phaser.o ../src/effects/Reverse.o ../src/effects/Silence.o ../src/effects/SimpleMono.o ../src/effects/SimplePairedTwoTrack.o ../src/effects/ToneGen.o ../src/effects/Wahwah.o ../src/effects/VST/AudioEffect.o ../src/effects/VST/audioeffectx.o ../src/effects/VST/LoadVSTWin.o ../src/effects/VST/VSTEffect.o ../src/export/Export.o ../src/export/ExportMP3.o ../src/export/ExportOGG.o ../src/export/ExportPCM.o ../src/import/Import.o ../src/import/ImportMIDI.o ../src/import/ImportMP3.o ../src/import/ImportOGG.o ../src/import/ImportPCM.o ../src/prefs/AudioIOPrefs.o ../src/prefs/DirectoriesPrefs.o ../src/prefs/FileFormatPrefs.o ../src/prefs/GUIPrefs.o ../src/prefs/KeyConfigPrefs.o ../src/prefs/PrefsDialog.o ../src/prefs/QualityPrefs.o ../src/prefs/SpectrumPrefs.o ../src/widgets/AButton.o ../src/widgets/ASlider.o ../src/widgets/Ruler.o ../src/xml/XMLFileReader.o ../src/effects/nyquist/LoadNyquist.o ../src/effects/nyquist/Nyquist.o ../src/commands/Commands.o ../src/commands/CommandsCallback.o ../src/commands/CommandsMenu.o ../src/commands/CommandsReader.o ../src/commands/CommandsWriter.o ../src/blockfile/PCMAliasBlockFile.o ../src/blockfile/SimpleBlockFile.o audacityJOAN_private.res -o "audacityJOAN.exe" -L"G:/dev/Dev-Cpp1/lib" -L"../lib-src/libogg/win32/static _release" -L"../lib-src/libvorbis/win32/vorbis_static_release" -L"../lib-src /libvorbis/win32/vorbisfile_static_release" -L"../lib-src/libid3tag" -L"../l ib-src/expat" -L"../lib-src/libmad" -L"../lib-src/libsndfile/Win32" -L"../li b-src/portaudio/winproj/lib" -L"../lib-src/allegro" -L"../lib-src/libnyquist " -L"../lib-src/portmixer/winproj" -L"../lib-src/libsamplerate/Win32" -mwind ows -llibsamplerate -lportmixer -llibnyquist -llibid3tag -lexpat -lmad -lsnd file -lPAStaticWMME -lwxmswu -logg_static -lvorbis_static -lvorbisfile_stati c -lpng -lzlib -ljpeg -ltiff -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg 32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32 -lcomc tl32 -llibci -lrpcrt4 -lwsock32 -lwinmm -I"G:/dev/Dev-Cpp1/include/c++" -I "G:/dev/Dev-Cpp1/include" -I"G:/dev/Dev-Cpp1/include/c++/mingw32" -I"." - I"../src/include" -I"../src/include/win32" -I"../lib-src/allegro" -I"../l ib-src/expat" -I"../lib-src/libid3tag" -I"../lib-src/portaudio/pa_common" -I"../lib-src/libsndfile/src" -I"../lib-src/libmad" -I"../lib-src/libogg/ include" -I"../lib-src/libvorbis/include" -I"../lib-src/libnyquist/nyx" - I"../lib-src/portmixer/px_common" -I"../lib-src/libsamplerate/src" --pipe - D_X86_=1 -DWIN32 -D_WIN32 -DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN 32__ -mthreads -DSTRICT -D__WXMSW__ -D__WINDOWS__ -Wall -fno-pcc-struct-ret urn -O2 -fno-rtti -fno-exceptions La l¡nea escrita es demasiado larga. make.exe: *** [audacityJOAN.exe] Error 255 |
|
From: Nilo R. da C. P. <np...@ho...> - 2003-02-16 10:58:13
|
hi all, i have just downloaded and installed Dev-C++ 5.0 beta 7 (4.9.7.0) with Mingw/GCC 2.95.3 on Win 98 system. Everything is working ok, except when I try to use wxWindows, that I got from devpack "WxWindows-2.2.9.DevPak". It compiles a simple program generated directly from wxWndows template, but it results in a lot of linker errors (undefined references). What am I missing? TIA Nilo R C Paim np...@ho... Porto Alegre - RS - Brasil _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 |
|
From: Martin C. <mar...@ho...> - 2003-02-16 10:52:16
|
Hi again, Well solved the problem now, but in a round about way. The error messages indicated that som files where missing from the C:\Dev-Cpp\include\c++\bits dir, so I copied the complete contents of the C:\Dev-Cpp\include\c++\mingw32\bits dir to C:\Dev-Cpp\include\c++\bits dir, and now everything works - but why was it broken in the first place ? really strange. Martin >From: Terry L Fritts <tf...@sm...> >Reply-To: Terry L Fritts <tf...@sm...> >To: dev...@li... >Subject: Re: [Dev-C++] Cannot compile using Dev-C++ 5.0 beta 7 (4.9.7.0) >(10 MB) with Mingw/GCC 3.2 >Date: Sun, 16 Feb 2003 04:41:29 -0600 > >Hello Martin, > >Sunday, February 16, 2003 you wrote: >MC> Thanks for the input, but unfortunatly it didn't solve th problem. > >I think something else must be wrong because I copied your code to a >project on my system, compiled it, and ran it. I have 3.2. I think >it must not be exactly with the compiler. > >But I had the same exact problem at first and it was very confusing. > >I'm sorry - I had great hopes. > >hope you find it soon - > > >Terry Fritts > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Få Hotmail på mobilen http://www.msn.dk/mobile |
|
From: Terry L F. <tf...@sm...> - 2003-02-16 10:41:29
|
Hello Martin, Sunday, February 16, 2003 you wrote: MC> Thanks for the input, but unfortunatly it didn't solve th problem. I think something else must be wrong because I copied your code to a project on my system, compiled it, and ran it. I have 3.2. I think it must not be exactly with the compiler. But I had the same exact problem at first and it was very confusing. I'm sorry - I had great hopes. hope you find it soon - Terry Fritts |
|
From: Martin C. <mar...@ho...> - 2003-02-16 10:21:23
|
Hi again, Thanks for input Robson. The only iostream.h file in all directories under Dev-Cpp is in C:\Dev-Cpp\include\c++\backward. I swear I haven't touched a single thing :-) - just installed and run out of the box. How do I get the compiler to find the iostream.h file ? and all the other legacy files ? or is there somthing more fundametally wrong with my setup ? do you have iostream.h located somewhere else ? Just so I don't waste anybodys time, the problem only arises when I used the latest version with Mingw/GCC 3.2 - with Mingw/GCC 2.95.3 everything works fine. Martin _________________________________________________________________ Find din ferie på MSN Rejser http://www.msn.dk/rejser |
|
From: Martin C. <mar...@ho...> - 2003-02-16 10:09:00
|
Hi Terry,
Thanks for the input, but unfortunatly it didn't solve th problem. Now I get
the following error message instead:
C:/Dev-Cpp/include/c++/iostream:44:28 bits/c++config.h: No such file or
directory
Do you know how to cut and paste from the compile log btw ? gets tiresome
keying in the error messages.
I include the modified Hello.dev below for reference.
Martin
#include <iostream>
using namespace std;
int
main (int argc, char *argv[])
{
char quit;
quit = '\0';
while (quit != 'q')
{
cout << "Hello ! This is a console app." << endl;
cout << "To create a console, go to Project Options and select" <<
endl;
cout << "\'Win32 Console\'." << endl;
cout << "Press q to quit " << endl;
cin >> quit;
}
return 0;
}
>From: Terry L Fritts <tf...@sm...>
>Reply-To: Terry L Fritts <tf...@sm...>
>To: dev...@li...
>Subject: Re: [Dev-C++] Cannot compile using Dev-C++ 5.0 beta 7 (4.9.7.0)
>(10 MB) with Mingw/GCC 3.2
>Date: Sun, 16 Feb 2003 03:52:27 -0600
>
>Hello Martin,
>
>Sunday, February 16, 2003 you wrote:
>MC> Just downloaded and installedlatest edition of Dev-C++ with Mingw/GCC
>3.2,
>MC> and I cannot get even Hello.dev to compile ?
>
>I just had this issue.
>use this:
> #include <iostream>
> using namespace std;
>instead of:
> #include <iostream.h>
>
>hth
>
>Terry Fritts
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
_________________________________________________________________
Hold kontakten med dine venner med MSN Messenger http://messenger.msn.dk
|
|
From: Robson B. <rob...@su...> - 2003-02-16 09:57:05
|
Hi Martin, check if "iostream.h" is in the include directory. If it's there, try using #include <iostream.h> instead #include "iostream.h" []'s |
|
From: Terry L F. <tf...@sm...> - 2003-02-16 09:52:29
|
Hello Martin, Sunday, February 16, 2003 you wrote: MC> Just downloaded and installedlatest edition of Dev-C++ with Mingw/GCC 3.2, MC> and I cannot get even Hello.dev to compile ? I just had this issue. use this: #include <iostream> using namespace std; instead of: #include <iostream.h> hth Terry Fritts |
|
From: <tel...@ya...> - 2003-02-16 09:43:29
|
ohh!!! so THAT'S what system('pause') does. Yeah it's
a simple problem that windows will automatically close
the finished programs.
i dont like the cin.get approach cos it feels so much
like leaving things open.
What i resorted to was simple to run the program
through the DOS prompt, this saved me the bother of
double clicking every time to run, and it also leaves
the program to terminate the way it should :)
http://mobile.yahoo.com.au - Yahoo! Mobile
- Exchange IMs with Messenger friends on your Telstra or Vodafone mobile phone.
|
|
From: Martin C. <mar...@ho...> - 2003-02-16 09:42:45
|
Hi All, Just downloaded and installedlatest edition of Dev-C++ with Mingw/GCC 3.2, and I cannot get even Hello.dev to compile ? everything is fine if I use Dev-C++ with Mingw/GCC 2.95.3. I have tried getting updates(as documented below), but it does not make any difference. I get the error message included below(Compile Log). Also please find below install log from vUpdate. Any help is greatly appreciated. Martin Error Message: Hello.cpp:1:22: iostream.h: No such file or directory vUpdate log: # This file is generated by vUpdate and is used to keep # track of what has already been installed. It is highly # recommend that you don't edit its contents unless you # know what you are doing. Doing so can result in # either yourself or vUpdate going mad. # vRoach 1.507 vRoach 1.507 # Dev-C++ Help File DevCppHelp 1.51 # Chinese TC Language LangChineseTC 1.6 # Danish Language LangDanish 1.5 # Danish Tips TipsDanish 1.1 # Dutch Language LangDutch 1.27 # English Language LangEnglish 1.91 # English Tips TipsEnglish 1.2 # French Language LangFrench 1.56 # French Tips TipsFrench 1.2 # German Language LangGerman 1.38 # German Tips TipsGerman 1.1 # Greek Language LangGreek 1.61 # Italian Language LangItalian 2.13 # Italian Tips TipsItalian 1.2 # Korean Language LangKorean 1.4 # Latvian Language LangLatvian 1.5 # Latvian Tips TipsLatvian 1.1 # Polish Language LangPolish 1.20 # Polish Tips TipsPolish 1.2 # Portuguese Language LangPortuguese 2.12 # Portuguese Tips TipsPortuguese 1.2 # Russian Language LangRussian 1.2 # Slovak Language LangSlovak 1.2 # Spanish Language LangSpanish 2.13 # Spanish Tips TipsSpanish 1.3 # Spanish Castellano Language LangSpanishCastellano 2.10 # Spanish Castellano Tips TipsSpanishCastellano 1.6 # Swedish Language LangSwedish 1.2 # Turkish Language LangTurkish 1.3 # Resource File Compiler windres 2.13 # Packman 2.2.2 Packman 2.22 # Chinese Language LangChinese 1.8 # Bulgarian Language LangBulgarian 1.3 # Dev-C++ Crash File DevCppMap 4.974 # Czech Language LangCzech 1.4 # Dev-C++ Critical Update DevCppExe 4.975 # Croatian Language LangCroatian 1.2 # Latest commctrl.h installed by vUpdate 1.616 on Sun Feb 16 10:26:17 2003 CommCtrlHeader 1.12 _________________________________________________________________ Få MSN Hotmail på mobilen http://www.msn.dk/mobile |
|
From: Martin C. <mar...@ho...> - 2003-02-16 09:08:41
|
Hi Delbert,
One solution - and a common one - is to add:
cin.get();
just after you produced your output. That will make the system wait for a
keystroke - return - from cin - aka your keyboard. See below for a simple
Hello, World ! program that uses this technique. Another solution is the one
used in the Hello.dev example project that comes with Dev-C++.
Hope this helps.
Martin
#include <iostream>
using namespace std;
int main() {
cout << "Hello, World!" << endl;
cin.get();
}
_________________________________________________________________
Send søde postkort til søde mennesker http://www.msn.dk/postkort
|
|
From: Adam M. <up...@in...> - 2003-02-16 08:27:57
|
Hi Delbert.
All you need to do is to place following line in your code:
system("PAUSE");
It should be placed at the end of program.
upanie.
----- Original Message -----
From: "Delbert" <dme...@ho...>
To: <dev...@li...>
Sent: Sunday, February 16, 2003 7:49 AM
Subject: [Dev-C++] Problem running programs
> Hi,
> i'm a new user to DevC++ whenever i compile and run a program the
> program runs in a flash without me able to see the output,how do i make
the
> output screen stay till i close it .
> Please help me out.
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
> ----------------------------------------------------------------------
> Turystyka > Centrum rezerwacji >>> http://link.interia.pl/f16cf
>
>
>
|
|
From: Delbert <dme...@ho...> - 2003-02-16 06:53:01
|
Hi,
i'm a new user to DevC++ whenever i compile and run a program the
program runs in a flash without me able to see the output,how do i make the
output screen stay till i close it .
Please help me out.
|
|
From: <cg...@wo...> - 2003-02-15 21:05:01
|
Instead ios_base, simply ios
Robson Bernard wrote:
>Hello all,
>
>I'm new in this list and so in c++ programming. I use Dev-C++ with MingW32
>in a Windows 98, 220 RAM, K6-2 550MHz.
>
>Well, i'm working with <fstream> routines and want to create a file to save
>binary data but it's not working. An error occurs when trying to compile the
>following line:
>
> ofstream fout("datafile.dat", ios_base::binary);
>
>The error says that 'ios_base::binary' does not exists in that class. What's
>wrong? Should i use namespace std????
>
>
>Thanks
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
>
>
|
|
From: Robson B. <rob...@su...> - 2003-02-15 18:40:58
|
Hello all,
I'm new in this list and so in c++ programming. I use Dev-C++ with MingW32
in a Windows 98, 220 RAM, K6-2 550MHz.
Well, i'm working with <fstream> routines and want to create a file to save
binary data but it's not working. An error occurs when trying to compile the
following line:
ofstream fout("datafile.dat", ios_base::binary);
The error says that 'ios_base::binary' does not exists in that class. What's
wrong? Should i use namespace std????
Thanks
|