View Full Version : HTML Programming
pacificboy
27-02-2008, 11:45 AM
Hi,
Can somebody help me in finding the solution to the problem?
How to hyperlink a C/C++ program in a HTML file? Remember it should be HTML programming through which a C/C++ program is accessed.
ThinkFree
27-02-2008, 11:49 AM
Want to give link of a c/c++ exe file in html page. Just create it you would link a website and give the address of file in format
file:///[full path including the drive example file:///C:/Documents%20and%20Settings/pc/desktop/test.exe]
Gigacore
27-02-2008, 11:55 AM
^ exactly...
bit polished:
<a href="file:///C|/TC/BIN/FILENAME.EXE">C Program</a>
rohan_shenoy
27-02-2008, 12:07 PM
So you want the visitor to open a file stored on his computer?
ray|raven
27-02-2008, 12:08 PM
^Lolz :p
rohan_shenoy
27-02-2008, 12:10 PM
^Lolz :p
:rolleyes:
Why, did I get it wrong?
ray|raven
27-02-2008, 12:12 PM
Nah,was laughing at the what you pointed at,
Folks suggesting html code to launch apps from a users computer.
Btw, am still not clear why he wants to run a C/C++ app from a html page.
Gigacore
27-02-2008, 12:21 PM
i think he just wants to link a c program in his computer.
If he wants visitors to download/view the file, just upload the c program with the index file in the same folder and link it as usual.
<a href="/filename.exe">C Program</a>
QwertyManiac
27-02-2008, 04:44 PM
First things first, HTML is not a programming language. :p
Secondly, you can't access/run/execute any process/program via HTML. You'll be better off making an applet in Java than doing it in a non-web friendly language like C++. :)
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.