#include <iostream.h>
#include <cstdlib>
int main() {
int Value; // eine int-Variable
int *pValue; // eine Zeigervariable, zeigt auf einen int
int *pNumber; // ein weiterer "Zeiger auf int"
Value = 10; // Zuweisung eines Wertes an eine int-Variable
pValue = &Value; // Adressoperator '&' liefert die Adresse einer Variable
pNumber = pValue; // pZahl und pWert zeigen jetzt auf dieselbe Variable
*pValue += 5;
*pNumber += 8;
std::cout << "Value = " << Value << std::endl;
return 0;
}
Yes, I think the same. It's really strange this behaviour. I don't work in this IDE but the problem might appear because of a missing file, I guess. Have you downloaded or installed new programs (which might be a virus) in your computer? Check the folder where is located the project and see if everything is ok. You probably deleted it without knowing that.