[openbeos] newbie problem
- From: Andre Stark <An.Stark@xxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Sat, 14 Dec 2002 17:21:41 +0100
hello together,
until this time i only used beos. no i would like to start some programming.
first time in beos and also in c++.
. an extract of my problem is the following piece of code:
# include <iostream>
using namespace std;
int main() {
int x;
float a;
double b;
x=10;
a=10.12345678901234567890;
b=10.12345678901234567890;
cout << "\n" << x << "\n";
cout << "\n" << a << "\n";
cout << "\n" << b << "\n";
cout.precision(16);
cout << "\n" << a << "\n";
cout << "\n" << b << "\n";
return 0;
}
running from console with "g++ file.cpp"
there is no error message, but when running the executable i get an
error. debugger is telling me this:
loading symbols
segment violation occurred
__overflow:
__overflow:
+0023 ec04ce77: * 14408b movl 0x00000014(%eax), %eax
im new, firstly in programming c++, second in programming beos apps,
so i don't really know what kind my problem ist, but will really be
happy for some help.
thanks all
andre
- Follow-Ups:
- [openbeos] Re: newbie problem
- From: Eric Petit
- [openbeos] Re: newbie problem
- From: Jack Burton
- [openbeos] Re: newbie problem
- From: Michael Phipps
- [openbeos] Re: newbie problem
- From: Scott MacMaster
- References:
- [openbeos] Re: virtualdrive !?
- From: Marcus Overhagen
Other related posts:
- » [openbeos] newbie problem
- » [openbeos] Re: newbie problem
- » [openbeos] Re: newbie problem
- » [openbeos] Re: newbie problem
- » [openbeos] Re: newbie problem
- » [openbeos] Re: newbie problem
- » [openbeos] Re: newbie problem
- » [openbeos] Re: newbie problem
- » [openbeos] Re: newbie problem
- » [openbeos] Re: newbie problem
- » [openbeos] Re: newbie problem
- [openbeos] Re: newbie problem
- From: Eric Petit
- [openbeos] Re: newbie problem
- From: Jack Burton
- [openbeos] Re: newbie problem
- From: Michael Phipps
- [openbeos] Re: newbie problem
- From: Scott MacMaster
- [openbeos] Re: virtualdrive !?
- From: Marcus Overhagen