mardi 1 août 2017

Why does Global variable show ambiguity error even if there isno local variable?

#include<iostream>
using namespace std;
int move=0;
void main()
{
 ++move;
}

##Error: "move" is ambiguous

How do I overcome this?


Aucun commentaire:

Enregistrer un commentaire