OpenLiveWriter 插入代码插件尝试
c#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace test01 { class Program { static void Main(string[] args) { Console.WriteLine("Hello-world!"); Console.WriteLine("I love Hello-world!"); string name1 = Console.ReadLine(); Console.WriteLine("姓名为:{0}", name1); Console.ReadLine(); } } }
c++
#include <iostream> using namespace std; int main(int argc,char** argv) { cout << “hello world" <<endl; system("pause"); return 0 }
代码看上去都正常。但是不知道什么原因,每次关闭总是要报一个错
注: 操作系统 windows 8.1

浙公网安备 33010602011771号