Just been getting the hang of using header files with classes and decided to check some values, and got an error stating
cannot remove file 'C:\Users\myuser\AppData\Local\Temp\Link\{F1995F9B-04C9-4-81B-BC6C-CF1477B35C51}.tmp'
Says this occurred at line one, which is of course where the #include <iostream> statement is if this has anything to do with it.
#include <iostream>
#include <string>
#include "Weapons.h"
#include "Enemies.h"
int main()
{
int PlayerLevel = 25;
int money;
int strength = 5;
std::string name;
swords TrainingSword;
TrainingSword.setDamage(strength, 10);
std::cout <<"Training sword deals "<< TrainingSword.getDamage() << " damage." << std::endl;
landenemy Muural;
Muural.SetDamage(6, 4, 3, PlayerLevel);
std::cout << "Muural deals " << Muural.GetDamage() << " damage at level 50." << std::endl;
std::cin >> money;
return 0;
}
Realized I said damage at level 50 instead of 25, minor thing though fixing that right now.