
Untitled
By: a guest on
May 6th, 2012 | syntax:
None | size: 0.50 KB | hits: 12 | expires: Never
#include <windows.h>
#include <string>
#include <iostream>
#include <stdio.h>
int main(void)
{
using namespace std;
char lol[256];
for (int i = 0; i < 10; i++)
{
ZeroMemory(&lol, sizeof(lol));
strcat(lol, "http://www.facebook.com/ajax/profile/connect.php?profile_id=");
//Putting the integer value, i, into the buffer goes here
strcat(lol, "&rel_dialog=1&src=top_bar");
ShellExecute(NULL, "open", lol, NULL, NULL, SW_SHOWNORMAL);
}
}