Virus attack on this program

I tried to run this code on sublime. Everytime it shows virus attck and program cannot be executed.
Interesting thing is it is only happening with this program and not other programs. I ran this program of handling input output under different names but still same result. Help me!

@Spartan_online,
Only class members have access of this pointer, so please kindly share your “this” code for us to access it.Use Coding Blocks IDE for sharing your code.

#include
using namespace std;

int main()
{
int num;
cin>> num;
int no;

while(num>0)
{
	cin>>no;
	cout<< no * no;
	num--;
}

return 0;

}

This program was taught in handling input output section by prateek bhaiya. It’s not running in sublime and showing virus attack. Only in this program .

@Spartan_online,
Please use Coding Blocks IDE to share your code. Don’t just copy paste raw code here.

Try now , updated code

Make sure you provide input correctly, like this

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

1 Like

thanks for helping! My doubt was resolved