Read/write access in Windows\system32

Hi,

Recently I was trying to compile a c++ program but couldn't because access of reading or writing is denied in the Windows\system32\drivers etc. Can anyone help me with it??

Answer
Answer
Hi Aman

That indicates an error in your code, an example of a standard 'Hello World' first app in C++ is listed below, please check you code against that, even the smallest difference or a missing semi-colon would cause your code not to compile. If you want, post your code and I will have a look for you . . .


#include <iostream>
using namespace std;

int main()
{
   cout << "Hello, World!";
   return 0;
}
___________________________________________________________________

Power to the Developer!

MSI GV72 - 17.3", i7-8750H (Hex Core), 32GB DDR4, 4GB GeForce GTX 1050 Ti, 256GB NVMe M2, 2TB HDD

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated March 17, 2021 Views 275 Applies to: