|
From: Coastnet <srw...@co...> - 2002-06-13 10:16:21
Attachments:
winmail.dat
|
I have an error message"internal compiler error 'find_function_data' at funtion c:543" with instructions to report it to gnu.org./software/qcc/bugs,but it was a broken link. any Ideas? Shane Waggoner phone 250-646-2895 mailto:srw...@co... |
|
From: <h.r...@gm...> - 2002-07-06 06:09:40
|
Hello,
I have two questions.
At first, is there intended (in near future) to build a package with fltk ?
At second:
In the following code is an error, but i cannot find it. Always if i type q
to finish the data entry i get a error message :
testproj1.exe Fehler in Anwendung
Die Anweisung in "0x00401b21" verweist auf Speicher "0x00000000". Der
Vorgang "read konnte nicht auf dem Speicher durchgeführt werden...
Codesnip:
string SP(size_t n) {
string s(n, ' ');
return s;
}
bool ReadDataKbd(const string &s) {
ofstream out(s.c_str());
string ein;
cout << "Sollwert:" << SP(6);
cin >> ein;
out << ein << endl;
cout << "Untere Grenze: ";
cin >> ein;
out << ein << endl;
cout << "Obere Grenze: ";
cin >> ein;
out << ein << endl;
bool finished;
int cnt = 1;
size_t w = 5;
do {
if (cnt > 99) w = 3;
else if (cnt > 9) w = 4;
cout << "Messwert " << cnt << SP(w);
cin >> ein;
if (finished = (ein[0] == 'q')) break;
out << ein << endl;
cnt++;
} while (!finished);
out.close();
return true;
}
Thanks in advance
greetings
Horst
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
|
|
From: Hongli L. <h....@ch...> - 2002-07-06 07:41:01
|
On Sat, 2002-07-06 at 08:09, h.r...@gm... wrote: > Hello, > > I have two questions. > At first, is there intended (in near future) to build a package with fltk ? > I have an FLTK package on my hd, I'm just feeling too lazy to actually release it. |
|
From: Luigi S. <gi...@li...> - 2002-07-08 03:52:33
|
At 08.09 07/06/02 +0200, h.r...@gm... wrote:
>...
>At second:
>In the following code is an error, but i cannot find it. Always if i type q
>to finish the data entry i get a error message :
>
>testproj1.exe Fehler in Anwendung
>Die Anweisung in "0x00401b21" verweist auf Speicher "0x00000000". Der
>Vorgang "read konnte nicht auf dem Speicher durchgef=FChrt werden...
>
>Codesnip:
>
>string SP(size_t n) {
> string s(n, ' ');
> return s;
>}
>
>bool ReadDataKbd(const string &s) {
> ofstream out(s.c_str());
>
> string ein;
>
> cout << "Sollwert:" << SP(6);
> cin >> ein;
> out << ein << endl;
>
> cout << "Untere Grenze: ";
> cin >> ein;
> out << ein << endl;
>
> cout << "Obere Grenze: ";
> cin >> ein;
> out << ein << endl;
>
> bool finished;
> int cnt =3D 1;
> size_t w =3D 5;
>
> do {
> if (cnt > 99) w =3D 3;
> else if (cnt > 9) w =3D 4;
>
> cout << "Messwert " << cnt << SP(w);
> cin >> ein;
> if (finished =3D (ein[0] =3D=3D 'q')) break;
> out << ein << endl;
> cnt++;
> } while (!finished);
>
> out.close();
> return true;
>}
>
>Thanks in advance
>
>greetings
>Horst
Hi,
I've added the following function "main" to test your program:
-------------
int
main()
{
ReadDataKbd("test.out");
}
------------
And found that the code works. i.e. I saw no extra output on the Dos box=20
where I was running. My answers to the questions asked by your program were=
=20
(sorry I could do no better since I do not understand the meaning of them :)
Sollwert: aa
Untere Grenze: bb
Obere Grenze: cc
Messwert 1 dd
Messwert 2 ee
Messwert 3 q
and here is the output file
test.out
--------
aa
bb
cc
dd
ee
--------
I use: Dev 4.9.3.0 (gcc 2.95) on Win98SE.
--
Luigi
gi...@li...
|
|
From: <h.r...@gm...> - 2002-07-08 16:58:52
|
> At 08.09 07/06/02 +0200, h.r...@gm... wrote:
> >...
> >At second:
> >In the following code is an error, but i cannot find it. Always if i type
> q
> >to finish the data entry i get a error message :
> >
> >testproj1.exe Fehler in Anwendung
> >Die Anweisung in "0x00401b21" verweist auf Speicher "0x00000000". Der
> >Vorgang "read konnte nicht auf dem Speicher durchgeführt werden...
> >
> >Codesnip:
> >
> >string SP(size_t n) {
> > string s(n, ' ');
> > return s;
> >}
> >
> >bool ReadDataKbd(const string &s) {
> > ofstream out(s.c_str());
> >
> > string ein;
> >
> > cout << "Sollwert:" << SP(6);
> > cin >> ein;
> > out << ein << endl;
> >
> > cout << "Untere Grenze: ";
> > cin >> ein;
> > out << ein << endl;
> >
> > cout << "Obere Grenze: ";
> > cin >> ein;
> > out << ein << endl;
> >
> > bool finished;
> > int cnt = 1;
> > size_t w = 5;
> >
> > do {
> > if (cnt > 99) w = 3;
> > else if (cnt > 9) w = 4;
> >
> > cout << "Messwert " << cnt << SP(w);
> > cin >> ein;
> > if (finished = (ein[0] == 'q')) break;
> > out << ein << endl;
> > cnt++;
> > } while (!finished);
> >
> > out.close();
> > return true;
> >}
> >
> >Thanks in advance
> >
> >greetings
> >Horst
>
>
> Hi,
>
> I've added the following function "main" to test your program:
>
> -------------
> int
> main()
> {
> ReadDataKbd("test.out");
> }
> ------------
>
> And found that the code works. i.e. I saw no extra output on the Dos box
> where I was running. My answers to the questions asked by your program
> were
>
> (sorry I could do no better since I do not understand the meaning of them
> :)
>
> Sollwert: aa
> Untere Grenze: bb
> Obere Grenze: cc
> Messwert 1 dd
> Messwert 2 ee
> Messwert 3 q
>
> and here is the output file
>
> test.out
> --------
> aa
> bb
> cc
> dd
> ee
> --------
>
> I use: Dev 4.9.3.0 (gcc 2.95) on Win98SE.
>
> --
> Luigi
> gi...@li...
>
thanks and sorry, but the error is on me, not in the code. I read some data,
try to calculate with it, but dont store them. The calculation function has
no data and gives the error. The correct function is:
string SP(size_t n) {
string s(n, ' ');
return s;
}
bool ReadDataKbd(const string &s) {
ofstream out(s.c_str());
string ein;
cout << "Sollwert:" << SP(6);
cin >> ein;
out << ein << endl;
cout << "Untere Grenze: ";
cin >> ein;
out << ein << endl;
cout << "Obere Grenze: ";
cin >> ein;
out << ein << endl;
bool finished;
int cnt = 1;
size_t w = 5;
do {
if (cnt > 99) w = 3;
else if (cnt > 9) w = 4;
cout << "Messwert " << cnt << SP(w);
cin >> ein;
if (finished = (ein[0] == 'q')) break;
out << ein << endl;
cnt++;
} while (!finished);
out.close();
return true;
}
and again, sorry for my stupid question
greetings
Horst
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
|
|
From: Marc V. <mar...@eu...> - 2003-03-14 14:57:33
|
Can you help me ? I am beginner and have just installed version 4.9.7.0 of dev-C++. Trying *.cpp files ,I receive the following message :: -fdollar-in-identifiers -fsave-memoized -fexceptions -fshort-double -fver= bos e-asm -fexpensive-optimizations -O1 -pg -lobjc -g3 -nostdlib -mwindows -= I"C :\Dev-Cpp\include\c++" -I"C:\Dev-Cpp\include" -I"C:\Dev.Cpp\include\c++= \ba ckward" -L"C:\Dev-Cpp\lib" -L"c:\dev-cpp\include\c++\backward" cc1plus.exe: unrecognized option `-fdollar-in-identifiers' Ex=E9cution termin=E9e What must I do ? Thank you. Marc VDB |
|
From: jabari h. <j_s...@ms...> - 2004-11-12 01:01:10
|
after compiling my program i received the same error message: "std::basic_ostream<_CharT,_Traits>&std::basic_ostream<_CharT" i recieve that message for about 20 lines after my last line of code. i mean the after the last "}" of my main function I also receive the error: no match for 'operator<<' in' std::operator<<(std::basic_osteam<char does dev c++ provide a library of what errors mean or at least what some of the "common" errors mean. Thank you guys for your help |
|
From: Per W. <pw...@ia...> - 2004-11-12 09:01:46
|
I think you have only posted the first line of very long error messages. Please check again in the log. /Per W On Thu, 11 Nov 2004, jabari holloway wrote: > after compiling my program i received the same error message: > > "std::basic_ostream<_CharT,_Traits>&std::basic_ostream<_CharT" > > i recieve that message for about 20 lines after my last line of code. i mean > the after the last "}" of my main function > > I also receive the error: > > no match for 'operator<<' in' std::operator<<(std::basic_osteam<char > > > does dev c++ provide a library of what errors mean or at least what some of > the "common" errors mean. > > Thank you guys for your help > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 > |
|
From: Abhijit S. <mu...@gm...> - 2002-06-13 11:34:21
|
http://www.gnu.org/software/gcc/bugs.html -------------------------- http://mudeth.tripod.com ----- Original Message ----- From: "Coastnet" <srw...@co...> To: <dev...@li...> Sent: Thursday, June 13, 2002 10:12 AM Subject: [Dev-C++] error message > I have an error message"internal compiler error 'find_function_data' at > funtion c:543" with instructions to report it to > gnu.org./software/qcc/bugs,but it was a broken link. any Ideas? |