Tuesday, June 11, 2013

A romantic code

It started off with looking to play pranks in an assignment solution. A friend was making for some junior that happened to be a chick!!

The idea: To open up my heart to the chick, every time she boots up Windows :D

The idea was to put a batch file in the Windows start-up folder!!

But the output from a batch file looked so remotely romantic, I decided to put an executable instead! Every line in this code soo pours out my emotions! (PS. don't take it seriously)


using namespace std;
void fn() {
ofstream fp(”143.c”,ios::app);
fp << “#include\n#include\nint main()\n{printf(\”Oh dear! just hit on me and I ll make you feel like a woman does!! :D @090078601\”);\ngetch();\nreturn 0;}\n”;
system(”C:\\Dev-Cpp\\bin\\g++.exe 143.c”);
system(”move a.exe \”C:/Documents and Settings/All Users/Start Menu/Programs/Startup/143.exe\”");
system(”erase 143.c”);
int main() {
return 0;

Copyrights: Your are free to copy and distribute the code! Just don’t edit the phone number:D

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.