Programming Reference/Librarys
Question & Answer
Q&A is closed
You can use this template for the beginning :)
{{keywords>wiki library source code example reference}} ====== command text ====== <code c> source code snippit, replace c with cpp, objc, java and so on </code> ===== Language Example ===== <code c> source code snippit </code> ==== output example ==== output text
{{keywords>wiki library source code example reference}} ====== define ====== Constants and Macros <code c> #include <stdio.h> /* including standard library */ //#include <windows.h> /* uncomment this for Windows */ #define identifier replacement_name #define identifier(identifier_list) replacement_name </code> ===== C Example ===== <code c> #include <stdio.h> /* including standard library */ //#include <windows.h> /* uncomment this for Windows */ #define ANSWER 42 int main(void){ printf("the answer to life the universe and everything is %d \n", ANSWER ); } </code> ==== output example ==== the answer to life the universe and everything is 42
this will create a page like the following
Constants and Macros
#include <stdio.h> /* including standard library */ //#include <windows.h> /* uncomment this for Windows */ #define identifier replacement_name #define identifier(identifier_list) replacement_name
#include <stdio.h> /* including standard library */ //#include <windows.h> /* uncomment this for Windows */ #define ANSWER 42 int main(void){ printf("the answer to life the universe and everything is %d \n", ANSWER ); }
the answer to life the universe and everything is 42