├── README.md ├── vscdebugc ├── .vscode │ ├── launch.json │ └── tasks.json ├── Makefile ├── README.md └── hello.c └── wiki-images ├── cypher-disbelief.jpg ├── hackerrank_howto_thumb.png └── repo-fork-sync.svg /README.md: -------------------------------------------------------------------------------- 1 | # Lambda School CS Wiki Repo 2 | 3 | This is the Lambda School CS Wiki. Feel free to add things here that need to be written and shared but don't warrant their own repos. 4 | 5 | Click [here](https://github.com/LambdaSchool/CS-Wiki/wiki) or the `Wiki` tab, above. 6 | -------------------------------------------------------------------------------- /vscdebugc/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | 8 | { 9 | "name": "Hello world", 10 | "type": "cppdbg", 11 | "request": "launch", 12 | "program": "${workspaceFolder}/hello", 13 | "args": [], 14 | "stopAtEntry": false, 15 | "cwd": "${workspaceFolder}", 16 | "environment": [], 17 | "externalConsole": true, 18 | "MIMode": "gdb", 19 | "setupCommands": [ 20 | { 21 | "description": "Enable pretty-printing for gdb", 22 | "text": "-enable-pretty-printing -gdb-set detach-on-fork off", 23 | "ignoreFailures": true 24 | } 25 | ] 26 | } 27 | ] 28 | } -------------------------------------------------------------------------------- /vscdebugc/.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | // See https://go.microsoft.com/fwlink/?LinkId=733558 3 | // for the documentation about the tasks.json format 4 | "version": "2.0.0", 5 | "tasks": [ 6 | { 7 | "label": "Build", 8 | "type": "shell", 9 | "command": "make", 10 | "group": { 11 | "kind": "build", 12 | "isDefault": true 13 | }, 14 | "problemMatcher": { 15 | "owner": "cpp", 16 | "fileLocation": ["relative", "${workspaceFolder}"], 17 | "pattern": { 18 | "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", 19 | "file": 1, 20 | "line": 2, 21 | "column": 3, 22 | "severity": 4, 23 | "message": 5 24 | } 25 | } 26 | } 27 | ] 28 | } -------------------------------------------------------------------------------- /vscdebugc/Makefile: -------------------------------------------------------------------------------- 1 | OBJS=hello.o 2 | 3 | all: hello 4 | .PHONY: all 5 | 6 | hello.o: hello.c 7 | gcc -Wall -c -g $< 8 | 9 | hello: $(OBJS) 10 | gcc -o $@ $^ 11 | 12 | clean: 13 | rm -f $(OBJS) 14 | .PHONY: clean -------------------------------------------------------------------------------- /vscdebugc/README.md: -------------------------------------------------------------------------------- 1 | # C Debugging with VS Code 2 | 3 | Example for the wiki. 4 | -------------------------------------------------------------------------------- /vscdebugc/hello.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(void) 4 | { 5 | printf("Hello, world!\n"); 6 | 7 | return 0; 8 | } -------------------------------------------------------------------------------- /wiki-images/cypher-disbelief.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/CS-Wiki/460bd5cde8a8a8e62d040e01f06b6a66c4bb28d8/wiki-images/cypher-disbelief.jpg -------------------------------------------------------------------------------- /wiki-images/hackerrank_howto_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/CS-Wiki/460bd5cde8a8a8e62d040e01f06b6a66c4bb28d8/wiki-images/hackerrank_howto_thumb.png -------------------------------------------------------------------------------- /wiki-images/repo-fork-sync.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | --------------------------------------------------------------------------------