10 2016 档案
摘要:atom 有script插件可以直接调用很多编译器,试了很多次一直出问题找不到文件,查了文档之后发现script只支持OSX和linux。 所以,还是使用gpp-compiler比较靠谱 gpp-compiler 安装 安装MinGW编译器 主要是g++,具体模块另百度吧。 将g++.exe的位置添加到环境变量 E:\programfiles\MinGW-0.6.2\bin 在at...
阅读全文
摘要:使用VPython,python(x,y)中已安装VPython模块 from visual import *cylinder(pos=(0,1,0), axis=(0,1,0), radius=0.1, color=(0,1,0))box = box(length=4, height=0.5, width=4, color=color.blue)ball = sphere(pos=(0,4,...
阅读全文