Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 6th, 2012  |  syntax: None  |  size: 0.50 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #include <windows.h>
  2. #include <string>
  3. #include <iostream>
  4. #include <stdio.h>
  5.  
  6. int main(void)
  7. {
  8.     using namespace std;
  9.     char lol[256];
  10.     for (int i = 0; i < 10; i++)
  11.     {
  12.         ZeroMemory(&lol, sizeof(lol));
  13.         strcat(lol, "http://www.facebook.com/ajax/profile/connect.php?profile_id=");
  14.         //Putting the integer value, i, into the buffer goes here
  15.         strcat(lol, "&rel_dialog=1&src=top_bar");
  16.         ShellExecute(NULL, "open", lol, NULL, NULL, SW_SHOWNORMAL);
  17.     }
  18. }