Thank you for your reply. I tried what you said but it gives the same as before..
Your code does work however I don't understand the conio.h or the getch ();
My compiler also gives this message with your code:
Warning 1 warning C4996: 'getch': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _getch. See online help for details.
Could anyone tell me how to alter my original code to give the days fully?
We have been learning about "if" statements so if that's relevant I can try that too.
// Week Days.cpp : main project file.
int main ()
for (i = 0; i<7; i++)
cout << dayname[i]<< " "; // Used 5 spaces to get days of week to stretch across console
_getch(); // Located in the Conio.h header file