WoW! CodeShare.io
Teach people to program
Share your code with students and peers then educate them. Universities and colleges around the world use Codeshare every day.
pcopy
我很喜欢,也常用的一个分享代码(文字)的网站:
很有用的网站,基于命令行来分享文字
# Show curl help page
curl nopaste.net
# Copy/upload to clipboard (POST/PUT both work)
curl -d Howdy nopaste.net/hi-there
curl -T germany.jpg https://nopaste.net/germany
# Paste/download from clipboard
curl https://nopaste.net/hi-there
最常用,上传代码到一个随机的地址
curl -T 1.cpp https://nopaste.net/random
写成一个shell函数使用,加入到~/.bashrc或~/.zshrc
nopaste() {
curl -T $1 https://nopaste.net/random
}
分享文字
有时间需要把代码或文件传给学生,或者学生在课下询问题目
-
国内,轻松传:https://easychuan.cn/
-
基于链接实时分享文字: https://qtext.io/
-
应该在同一个局域网就可以实时分享文字: https://www.ssavr.com/
-
老牌的在线分享文字代码的网站,好像不能在termial里使用 https://pastebin.com/
-
另一个,可以使用curl,打开网站就是doc. https://paste.c-net.org/
-
可以上传图片与文字,asciinema https://fars.ee/
cppreference
- https://en.cppreference.com/w/ 必备的网站,c++在线参考手册
在线c++编译器
- https://cpp.sh/
- https://www.programiz.com/cpp-programming/online-compiler/
- https://godbolt.org/ 查看cpp的汇编结果 github地址
- https://cppinsights.io/ 一些新的c++ 语法,template 如何转成c++代码的
- https://coliru.stacked-crooked.com/ 一个非常神奇的网站,研究这个网站的源码 你就可以学会写 judger了
在线gdb
- onlinegdb 简单的,在线调试c++代码