recieving a Undefined setw() function have the following libraries declared which one am i missing
#include <conio>
#include <time>
#include <math>
#include <stdlib>
#include <stdio>
#include <string>
#include <iomanip>
#include <iostream>
cheers
recieving a Undefined setw() function have the following libraries declared which one am i missing
#include <conio>
#include <time>
#include <math>
#include <stdlib>
#include <stdio>
#include <string>
#include <iomanip>
#include <iostream>
cheers
how are you using the setw(). setw() is defined in <iomanip> so your fine their
Woop?
Using it like
Which seems ok or maybe not.Code:std::cout<<setw(10)<< array[plane][col][row];
You would think so but setw is still in namespace std.
Try
Code:std::cout<<std::setw(10)<<array[plane][col][row];
Woop?
cheers works a treat