Hi guys, I just found out that setw is not recognized in Netbeans C++ with Cygwin even when IOMANIP is included in my program.
Is there anything I can do for this? I need to format the output of my program, thanks.

How are you using it? Also, have you declared "using namespace std;"? If not, then you need to prefix it with std:: as in std::cout << std::setw(width) << std::dec << value << std::endl;

I've never had a problem with Cygwin's gcc version (yes, it is a bit old - you might want to update so you are running gcc/g++ 4.x). Did you try MingW instead?

Thanks Rubberman. I have declared Using Namespace std;
Do I still have to prefix setw with std:: ?