Is this ok?

I wanted to create a function that simply opens a url.

previously i tried shellexecute() which worked great for me and most of those that were using my program, But the hassle of having to have all their file directories is a pain not to mention some error trying to use the feature.

so i tried system(command) despite everything telling me to avoid it.

1
2
3
4
5
Main()
{
const char* URL = "Start http://Url.com"
system(URL);
}


is there any problem with using this? works for me...
Topic archived. No new replies allowed.