Bunu zaten var olan Header.h dosyasının içini sil yapıştır.




#pragma once
#include<iostream>
using namespace std;


class Virus
{
//overload << operators as a friend
friend ostream &operator<<(ostream& o,Virus& v);
private:
float size; //default = 1 mm
float growthRate; //random between 0-1
float resistance; // resistance = size * growthrate
public:
Virus();

float getsize();
float getres();
float getgrowth();

void setgrate(float);
void setsize(float);

Virus(float size,float grate);

Virus* diffuse(int);
//if size of virus < 5 print message which says : "Virus can not diffuse " and return NULL
//Otherwise create same size viruses and return them as an array of viruses

};