Posts

Showing posts with the label Compiler problem

MinGW: Installation in 2022

Image
  Hello everyone, today we will install the MinGW installer and compiler in the perfect way so you can run your C or C++ code quickly without any errors. Before I have already discussed a MinGW compilation problem and many people found that very useful, you must check this if you have the same problem  Access-denied-in-vs-code-for-gcc So let's start, there are two things we have to understand, first there is a MinGW installer and a MinGW compiler. First, install the MinGW installer from this link:  MinGW-Installer After downloading click on the installer and it looks like this After installation, we have to install compilers, so follow the below images : As you will land on this page, now select only the selected ones in the image, and on the top-left, you can see an installation button, click on it and install these packages. Now we have to set the path for the MinGW so that our IDE and PC can recognize the compiler. Follow these steps :  File Manager > Windows(...

Access denied in VS code for gcc while doing C programming

Image
  Hi guys the problem I am going to discuss in this blog is about some problem that you may face while doing C programme in your VS code. There are various methods to install VS code and MinGW(C compiler) but when you use them to run a code it may show you some error in output or in VS code terminal. But if you think your installation process is wrong, wait that may be not the reason, it's because of your system's anti virus that is blocking your    VS code to get access of your  MinGW's bin folder. This problem mostly seen when you buy a new Laptop or PC & they give you a trial of anti virus software (McAfee). Solution :  All you need to do is when you gonna run a programme in your system simply 1>Open your McAfee anti virus application 2>Now find the settings option then click on it and then click on "Real Time Scanning" 3>Now last step is click on the "Turn Off" button and turn it off as long as you want. With these simple steps you can e...