Tuesday 12 February 2013

How to open website using C

You can easily open your website using C. You can pass the your website url as argument. When you run the code, this will open the url in browser. The code is very simple. You have to include <stdlib.h> or <windows.h> to use it.


#include<windows.h>
int main()
{
    system("explorer http://www.easy-learn-c-languageblogspot.com");
    return 0;
}

No comments:

Post a Comment

Comment