[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Hi all; Thanks for all the responses on my last post.
Torsten: pkgsrc/jed is excellent; exactly what I wanted.
Uwe: Still saving up to buy the HDD :)
I've just started my course and I'm working on some simple progs to
begin with; However, I've run across a problem with one of the textbook
examples (C++ code follows).
// quickie prog to convert decimal to hex
using namespace std;
cout << "Enter decimal number to convert: ";
cin >> i;
cout << "0x" << hex << i << " hex.\n";
This code compiles and runs on NetBSD/hpcsh, but segfaults at the point
where it should print the hex value to stdout. Same code compiles and
runs clean on my FreeBSD/i386 desktop.
Is this indicative of a larger problem, or am I just a noob? :)
Main Index |
Thread Index |