What your compiler is trying to tell you is that the expression used in a case must be a constant, i.e., you should write:
#include <iostream>
using namespace std;
int main()
{
for...
Type: Posts; User: laserlight
What your compiler is trying to tell you is that the expression used in a case must be a constant, i.e., you should write:
#include <iostream>
using namespace std;
int main()
{
for...
What are you trying to do?