Looking for improvements, such as automated deletion or just some memory wasting projects :)
#include <iostream>
#include <string>
#include <ostream>
#include <fstream>
//mini .txt virus (160MB min!)
int main()
{
std::cout << "Starting Amogus.exe" << '\n';
for (int i{}; i < 1000; i++)
{
std::ofstream newip("Amogus" + std::to_string(i) + ".txt", std::ios::app);
for (int j{}; j < 1000; j++)
{
for (int a{}; a < 10; a++)
{
newip << "sus ";
}
newip << '\n';
}
newip.close();
}
std::cout << "Done! enjoy deleting them now :)" << '\n';
return 0;
}
//capiche?
// TODO: Replace examples and use TDD by writing your own tests