opening Internet Explorer using c programming language -


i made c program in used notorious system () function open internet explorer.there no error compiled giving me output illegal command. problem?? have rechecked internet explorer address in c drive perfect. how solve this?

i guess have specified path internet explorer this

"c:\program files\internet explorer\iexplore.exe" 

but because \ character "escape" character in literal string, need defeat escape

"c:\\program files\\internet explorer\\iexplore.exe" 

there no error when compiled because compiler cannot check whether command passed system() meaningful, or valid @ runtime.


Comments

Popular posts from this blog

How to run C# code using mono without Xamarin in Android? -

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -