Feels so good to get back into C++
Now that the school year is over, I'm finally done with that filthy high-level Java BS, and I can get back into virus creation.
The first thing I've programmed in C++ in close to a year:
Code:
#include <iostream>
#include <windows.h>
using namespace std;
int main() {
cout << "Operating System Recognition Test" << endl;
char buf[1024];
DWORD dwCompNameLen = 1024;
if (0 != GetComputerName(buf, &dwCompNameLen)) {
cout << "Utilizing GetComputerName() of windows.h..." << endl;
cout << "Computer Name: " << buf;
}
return 0;
}
swaggity swag viruses here we come