摘要: function GetCurrentDirectory(){var curHref = location.href;var curArray = locHref.split("/");delete curArray[curArray.length - 1]; var curdir = curArray.join("/");return curdir;} 阅读全文
posted @ 2010-12-14 16:57 liujunhua 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 1. 打开“Visual Studio 2010 命令提示”窗口。“开始”按钮-“程序”-“Microsoft Visual Studio 2010”-“Visual Studio 工具”-“Visual Studio 2010 命令提示”。2. 在命令提示符下,键入notepad helloworld.cpp,并按 Enter。在系统提示是否创建新文件时,单击“是”。在记事本中,键入下列各行:#include iostreamusing namespace std;int main(){ cout "Hello,C++ World!" endl; return 0;} 阅读全文
posted @ 2010-12-14 16:06 liujunhua 阅读(4223) 评论(2) 推荐(0) 编辑