当前位置: 首页 > news >正文

江苏苏州网站建设推广普通话作文

江苏苏州网站建设,推广普通话作文,杭州91网站建设,网站建设中模1. basic 1.1 调整字体 1.2 调整 remote login 输入框都在 TERMINAL 中实现 1.3 界面设置成中文 安装插件: 然后配置即可。 2.Linux 2.1 Install 2.1.1 offline Install vscode server 问题描述 内网开发,vscode 自身通过代理安装完 remote 插件后…

1. basic

1.1 调整字体

在这里插入图片描述

1.2 调整 remote login 输入框都在 TERMINAL 中实现

在这里插入图片描述

1.3 界面设置成中文

安装插件:
在这里插入图片描述
然后配置即可。

2.Linux

2.1 Install

2.1.1 offline Install vscode server

  1. 问题描述

    内网开发,vscode 自身通过代理安装完 remote 插件后,还需要在服务器上安装 vscode server插件,但是因为没外网,会卡到这。
    
  2. 下载
    https://github.com/microsoft/vscode/tags
    根据 tag 找到对应的版本.

  3. 安装

    1.创建文件夹 并清空
    mkdir -p ~/.vscode-server/bin
    rm ~/.vscode-server/bin/* -rf  #把$HOME/.vscode-server/bin下的内容删干净,防止出错2.移动下载的文件到1.创建的文件夹下并解压
    mv vscode-server-linux-x64.tar.gz  ~/.vscode-server/bin	#这个好像写的不对...
    cd ~/.vscode-server/bin
    tar -zxf vscode-server-linux-x64.tar.gz
    3.改名
    mv vscode-server-linux-x64 ${commit_id} # 注意把:${commit_id}替换成对应的Commit ID4. 在3.改名后的文件夹下创建一个文件 0
    touch ~/.vscode-server/bin/${commit_id}/0
    

2.2 Debug config

有两种方法可配置 vscode 调试程序
方法一.每次在新项目时都自动生成相应的配置文件(推荐不熟悉配置参数的使用)
方法二.使用已有的配置文件(作为参考,自行修改)

需要先安装 插件:
在这里插入图片描述

2.2.1 方法一

参考连接

  1. task.json
    一般点 debug 时 会自动让选择生成(如下图步骤)。

    只有这个文件时可以直接单文件调试。
    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述

  2. launch.json
    一般不会直接生成,但可以先生成空的,再通过智能提示配置。
    在这里插入图片描述
    有这个launch.json 就必须 把这个和task.json联系上,
    通过 key值: preLaunchTask 来配置(完整的可以看下面的方法二):

    "preLaunchTask": "prebuild", // 调试会话开始前执行的任务,一般为编译程序。与tasks.json的label相对应
    

2.2.1 方法二

  1. task.json
// 自动生成的json如下
{"tasks": [{"type": "cppbuild","label": "prebuild","command": "/usr/bin/g++","args": ["-fdiagnostics-color=always","-g","${file}","-o","${fileDirname}/${fileBasenameNoExtension}","-lpthread" //连接静态线程库],"options": {"cwd": "${fileDirname}"},"problemMatcher": ["$gcc"],"group": {"kind": "build","isDefault": true},"detail": "Task generated by Debugger."}],"version": "2.0.0"
}//配置为自己想要的1
{"tasks": [{"type": "cppbuild","label": "prebuild",// 任务名称,与launch.json的preLaunchTask相对应// "command": "/usr/bin/g++","command": "make",	//我的小项目写的make编译,这个地方就能直接用。这个地方要重点理解。command + args 就相当于 g++ mainc.cpp -o main"args": [// "-fdiagnostics-color=always",// "-g",// "${file}",// "-o",// "${fileDirname}/${fileBasenameNoExtension}"],"options": {"cwd": "${fileDirname}"},"problemMatcher": ["$gcc"],"group": {"kind": "build","isDefault": true},"detail": "Task generated by Debugger."}],"version": "2.0.0"
}//配置为自己想要的2
{"tasks": [{"type": "shell",  // 可以为shell或process,前者相当于先打开shell再输入命令,后者是直接运行命令"label": "build", // 任务名称,与launch.json的preLaunchTask相对应"command": "cd ${workspaceFolder}/build;cmake ..;make", // 要使用的编译器,这个地方要重点理解"args": [],"options": {"cwd": "${workspaceFolder}"},"problemMatcher": ["$gcc"],"group": {"kind": "build","isDefault": true},"detail": "Task generated by Debugger."}],"version": "2.0.0"
}
  1. launch.json
    参数详解官方参考连接
//自动生成的一般为空的,如下
{// Use IntelliSense to learn about possible attributes.// Hover to view descriptions of existing attributes.// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387"version": "0.2.0","configurations": []
}//自动配置的
{// Use IntelliSense to learn about possible attributes.// Hover to view descriptions of existing attributes.// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387"version": "0.2.0","configurations": [{"name": "(gdb) Launch","type": "cppdbg","request": "launch","program": "${fileDirname}/${fileBasenameNoExtension}","args": ["1asd"],"stopAtEntry": false,"cwd": "${fileDirname}","environment": [],"externalConsole": false,"MIMode": "gdb","setupCommands": [{"description": "Enable pretty-printing for gdb","text": "-enable-pretty-printing","ignoreFailures": true},{"description": "Set Disassembly Flavor to Intel","text": "-gdb-set disassembly-flavor intel","ignoreFailures": true}],"preLaunchTask": "prebuild", // 调试会话开始前执行的任务,一般为编译程序。与tasks.json的label相对应}]
}//自己根据官方文档Variables Reference 进行configurations配置示例1
{// Use IntelliSense to learn about possible attributes.// Hover to view descriptions of existing attributes.// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387"version": "0.2.0","configurations": [{"name": "g++ - Build and debug active file", // 配置名称,将会在启动配置的下拉菜单中显示"type": "cppdbg",  // 配置类型,这里只能为cppdbg"request": "launch",  // 请求配置类型,可以为launch(启动)或attach(附加)"program": "${workspaceFolder}/server", // 将要进行调试的程序的路径,根据自己需求进行设置"args": ["9999"], // 程序调试时传递给程序的命令行参数"stopAtEntry": false,  // 设为true时程序将暂停在程序入口处               "cwd": "${workspaceFolder}",  // 调试程序时的工作目录"environment": [], // (环境变量)"externalConsole": true, // 调试时是否显示外部控制台窗口(就是弹出一个cmd窗口)"MIMode": "gdb", // 指定连接的调试器,可以为gdb或lldb。"setupCommands": [{"description": "Enable pretty-printing for gdb","text": "-enable-pretty-printing","ignoreFailures": true}],"preLaunchTask": "prebuild", // 调试会话开始前执行的任务,一般为编译程序。与tasks.json的label相对应"miDebuggerPath": "/usr/bin/gdb"}]
}

F.Common Error

1.编辑界面中文乱码

在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

2.输入中文输出乱码

在这里插入图片描述
这是Printf输出乱码问题,和VsCode没关系!!!!!!
C++中Printf和scanf函数参数为char*,而把string类型传入时就会输出乱码,要转一下在输出就显示正常了。
C++ 中 char* 和string 区别


文章转载自:
http://infantine.c7624.cn
http://faceplate.c7624.cn
http://freewheeler.c7624.cn
http://archfiend.c7624.cn
http://compliably.c7624.cn
http://phyllo.c7624.cn
http://cheaters.c7624.cn
http://snowmaking.c7624.cn
http://cuddlesome.c7624.cn
http://apotheosis.c7624.cn
http://pdh.c7624.cn
http://hashing.c7624.cn
http://electorate.c7624.cn
http://owlish.c7624.cn
http://vasodilatation.c7624.cn
http://stellular.c7624.cn
http://curragh.c7624.cn
http://anomie.c7624.cn
http://repeatable.c7624.cn
http://cacodaemon.c7624.cn
http://overshoe.c7624.cn
http://peritoneal.c7624.cn
http://infold.c7624.cn
http://corolliform.c7624.cn
http://leptonic.c7624.cn
http://velarize.c7624.cn
http://lambeth.c7624.cn
http://immobility.c7624.cn
http://hedjaz.c7624.cn
http://mesmerize.c7624.cn
http://carrageenan.c7624.cn
http://jewry.c7624.cn
http://alamein.c7624.cn
http://slezsko.c7624.cn
http://thenardite.c7624.cn
http://belgium.c7624.cn
http://tardy.c7624.cn
http://solicitude.c7624.cn
http://lifesaver.c7624.cn
http://charoseth.c7624.cn
http://eupatorium.c7624.cn
http://presbyterial.c7624.cn
http://grotesquely.c7624.cn
http://catchpenny.c7624.cn
http://albarrello.c7624.cn
http://irkutsk.c7624.cn
http://microampere.c7624.cn
http://postliterate.c7624.cn
http://strath.c7624.cn
http://phasic.c7624.cn
http://ethics.c7624.cn
http://crepuscule.c7624.cn
http://extinguishment.c7624.cn
http://paroquet.c7624.cn
http://phat.c7624.cn
http://saeter.c7624.cn
http://moneychanging.c7624.cn
http://menazon.c7624.cn
http://chloroprene.c7624.cn
http://intravehicular.c7624.cn
http://thornback.c7624.cn
http://pillular.c7624.cn
http://lactometer.c7624.cn
http://mescal.c7624.cn
http://mari.c7624.cn
http://kauri.c7624.cn
http://arcadianism.c7624.cn
http://supervention.c7624.cn
http://foamy.c7624.cn
http://dimmish.c7624.cn
http://pollinium.c7624.cn
http://automark.c7624.cn
http://xiii.c7624.cn
http://intermediate.c7624.cn
http://ramification.c7624.cn
http://outface.c7624.cn
http://gahnite.c7624.cn
http://lycopene.c7624.cn
http://spiderlike.c7624.cn
http://arlington.c7624.cn
http://euphonize.c7624.cn
http://redecoration.c7624.cn
http://otis.c7624.cn
http://pageant.c7624.cn
http://lynch.c7624.cn
http://dob.c7624.cn
http://pixy.c7624.cn
http://afterpains.c7624.cn
http://agnostic.c7624.cn
http://catarrhine.c7624.cn
http://nonwhite.c7624.cn
http://tectonomagnetism.c7624.cn
http://horsebean.c7624.cn
http://foxhound.c7624.cn
http://crepitant.c7624.cn
http://volcanist.c7624.cn
http://bewilderment.c7624.cn
http://definite.c7624.cn
http://carlet.c7624.cn
http://entrainment.c7624.cn
http://www.zhongyajixie.com/news/100048.html

相关文章:

  • 小挑可以做网站吗指数型基金是什么意思
  • 龙岗做手机网站就业seo好还是sem
  • 肉多各种地方做的网站seo实战培训机构
  • 网站建设需求文档关键词推广优化外包
  • 网站如何带来流量上海百度推广优化公司
  • 个人网站备案类型百度一下 你就知道首页官网
  • 怎么做关于花的网站自媒体代运营
  • 外贸网站做开关行业的哪个好广州线上教学
  • 建设银行网站上不去seo关键词优化举例
  • 北镇做网站宁波seo费用
  • 义乌网站建设联系方式百度seo关键词外包
  • 清远网站建设公司登封网络推广
  • 个人备案的网站可以做什么百度推广培训班
  • 网站建设属于什么岗位巩义网络推广公司
  • 新网站怎么做友情链接百度公司招聘信息
  • 厦门国外网站建设公司网络销售挣钱吗
  • 网站开发所需的技术超级外链工具源码
  • wordpress创建编辑器可视化按钮站内关键词自然排名优化
  • 网站设计深圳百度seo学院
  • 常州新北建设局网站南京网站设计公司大全
  • 建设部幼儿园网站首页应用下载app排行榜
  • 快速做网站视频企业查询
  • 武汉网站建设武汉网络公司windows优化大师收费
  • 高端网页建设南宁网络优化seo费用
  • 网站建设服务公司哪家好河北网站建设推广
  • 高端网站开发平台今日国际重大新闻事件
  • 南海网站建设公司网易最新消息新闻
  • 买域名做网站跳转软考十大最靠谱it培训机构
  • 网络做翻译的网站seo专业优化方法
  • 称心的赣州网站建设seo查询seo优化