SHARE
TWEET

my-code

a guest Oct 25th, 2016 769 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - c_cpp_properties.json
  2. {
  3.     "configurations": [
  4.         {
  5.             "name": "Mac",
  6.             "includePath": ["/usr/include"],
  7.             "browse" : {
  8.                 "limitSymbolsToIncludedHeaders" : true,
  9.                 "databaseFilename" : ""
  10.             }
  11.         },
  12.         {
  13.             "name": "Linux",
  14.             "includePath": ["/usr/include"],
  15.             "browse" : {
  16.                 "limitSymbolsToIncludedHeaders" : true,
  17.                 "databaseFilename" : ""
  18.             }
  19.         },
  20.         {
  21.             "name": "Win32",
  22.             "includePath": ["c:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include"],
  23.             "browse" : {
  24.                 "limitSymbolsToIncludedHeaders" : true,
  25.                 "databaseFilename" : ""
  26.             }
  27.         }
  28.     ]
  29. }
  30. - tasks.json
  31. {
  32.     "version": "0.1.0",
  33.     "command": "g++",
  34.     "isShellCommand": true,
  35.     "showOutput": "always",
  36.     "args": ["-g", "main.c"]
  37. }
  38. - c program
  39. #include <stdio.h>
  40. #include <stdlib.h>
  41.  
  42. int main(int argc, char *argv[])
  43. {  
  44.     printf("Hello World");
  45.     return 0;
  46. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top