Html 崇高文本上的hello world错误
我不熟悉使用sublime2文本编辑器,每当我尝试以HTML格式运行hello world时,都会出现以下错误:Html 崇高文本上的hello world错误,html,Html,我不熟悉使用sublime2文本编辑器,每当我尝试以HTML格式运行hello world时,都会出现以下错误: [Error 2] The system cannot find the file specified [cmd: [u'bash', u'-c', u"g++ 'C:\\Users\\ahadhabib\\Desktop\\My Websites!\\ch.1 html\\helloworld.html' -o 'C:\\Users\\ahadhabib\\Desktop\\My
[Error 2] The system cannot find the file specified
[cmd: [u'bash', u'-c', u"g++ 'C:\\Users\\ahadhabib\\Desktop\\My Websites!\\ch.1 html\\helloworld.html' -o 'C:\\Users\\ahadhabib\\Desktop\\My Websites!\\ch.1 html/helloworld' && 'C:\\Users\\ahadhabib\\Desktop\\My Websites!\\ch.1 html/helloworld'"]]
[dir: C:\Users\ahadhabib\Desktop\My Websites!\ch.1 html]
[path: C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Skype\Phone\C:\Users\ahadhabib\Desktop\My Websites!\ch.1 html]
[Finished]
[dir:C:\Users\ahadhabib\Desktop\My Websites!\ch.1 html]
请确保使用保存目录(文件夹)和文件。没有空格或特殊字符
所以。。。您应该将文件保存为ch1.html
,而不是当前的ch1.html
还有我的网站代码>目录应重命名为类似于MyWebsites
的一些提示:
- 重命名你的文件夹<代码>我的网站
并删除空格和感叹号。好名字可以是:MyWebsites
ch1。html
是一个文件夹名(类似于:第1章html)。尝试更改此文件夹的名称,例如:ch1\u html
虽然它创建了一个internet文件,并且链接实际上打印了hello,但我不确定为什么我会在编辑器底部得到一个错误表单sublime。