-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"files.associations": { | ||
"syscall.h": "c", | ||
"unistd.h": "c", | ||
"intrinsic.h": "c", | ||
"thread.h": "c", | ||
"process.h": "c", | ||
"gdt.h": "c", | ||
"vga.h": "c", | ||
"*.inc": "c", | ||
"loader.h": "c", | ||
"vaddr.h": "c", | ||
"init.h": "c", | ||
"flags.h": "c", | ||
"filesys.h": "c", | ||
"synch.h": "c", | ||
"input.h": "c", | ||
"off_t.h": "c" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"tasks": [ | ||
{ | ||
"type": "cppbuild", | ||
"label": "C/C++: gcc-7 build active file", | ||
"command": "/usr/bin/gcc-7", | ||
"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" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#include <stdio.h> | ||
|
||
int main() | ||
{asdfsafkn;adfna;nf; | ||
long num = 4613937818241073152; | ||
long* ptr = # | ||
long** dptr = &ptr; | ||
long*** tptr = &dptr; | ||
|
||
printf("\n abcd~~ abcd~~~ 0x%02X \n", *(long **)dptr); | ||
printf("\n abcd~~ abcd~~~ 0x%02X \n", **(long **)dptr); | ||
printf("\n abcd~~ abcd~~~ 0x%02X \n", **(long ***)dptr); | ||
printf("\n abcd~~ abcd~~~ 0x%02X \n", ***(long ***)dptr); | ||
|
||
//int aList[10] = {1,2,3,4,5,6,7,8,9,10}; | ||
return 0; | ||
} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.