This works for me, too. Both with a makefile using Be's makefile engine and with g++ on the command line. 99.999999% of the time when you blame the compiler or your setup, it is really your frustration with your own code. :-) I speak from experience. But, in this case, it looks like it really is your setup. ;-) >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 > > >