User:Paradox-01/C: Difference between revisions

m
+cat
mNo edit summary
m (+cat)
 
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:
* Visual Studio
* Visual Studio
** Choose C++ template (empty project). Add new file but rename extension from cpp to c.
** Choose C++ template (empty project). Add new file but rename extension from cpp to c.
==Language==
C exists in different versions, the so called [[wp:ANSI_C#History_and_outlook|standards]]: ANSI/C90, [https://www.open-std.org/JTC1/sc22/wg14/www/docs/n1256.pdf C99], C11, ...


==.h==
==.h==
Line 77: Line 80:
  //#include <stdbool.h>
  //#include <stdbool.h>
  //bool a = true;
  //bool a = true;
// C99 standard
  [https://stackoverflow.com/questions/8724349/difference-between-bool-and-bool-types-in-c _Bool b = 1;]
  [https://stackoverflow.com/questions/8724349/difference-between-bool-and-bool-types-in-c _Bool b = 1;]


Line 85: Line 90:
----
----


Arrays, pointers, conversions, globals, ...
Arrays, pointers, conversions, globals, [https://stackoverflow.com/questions/10586003/try-catch-statements-in-c try catch simulation], [https://stackoverflow.com/questions/154136/why-use-apparently-meaningless-do-while-and-if-else-statements-in-macros?rq=1 macros] ...


----
----


==Files==
==Files==
Line 113: Line 117:
     }
     }
  }
  }
[[Category:Userspace]]