NewToGNU wrote: > using namespace std; > using std::cout; You have a bit of redundancy here.
> this code worked fine on windows based compiler. Why doesn't it work on > unix? ...because it just sits on the couch and watches TV? Try to get hold of an essay by Eric S. Raymond about asking questions the smart way, read that, and then ask again - crystal balls are rare in this part of the Usenet. Uli -- http://gcc.gnu.org/faq.html http://parashift.com/c++-faq-lite/ _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus