here is my problem
<code>#include <iostream>
#include <Windows.h>
int main()
{
int coins = 1;
std::cout << &coins <<std::endl;
return 0;
}
</code>
<code>#include <iostream>
#include <Windows.h>
int main()
{
int coins = 1;
std::cout << &coins <<std::endl;
return 0;
}
</code>
#include <iostream>
#include <Windows.h>
int main()
{
int coins = 1;
std::cout << &coins <<std::endl;
return 0;
}
the coins value is the one i want to change with the second program
here is the code of the second program
<code>#include <iostream>
int main()
{
int* coins = reinterpret_cast<int*> (0x57da7ffe7c);
std::cout<<*coins<<"n";
return 0;
}
</code>
<code>#include <iostream>
int main()
{
int* coins = reinterpret_cast<int*> (0x57da7ffe7c);
std::cout<<*coins<<"n";
return 0;
}
</code>
#include <iostream>
int main()
{
int* coins = reinterpret_cast<int*> (0x57da7ffe7c);
std::cout<<*coins<<"n";
return 0;
}
i expected that it will print the value of coins witch is (1) but it gives me this error (exited with code=3221225477)
the editor i use is vs code
New contributor
yousef mohammed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2