User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







read_me:howto:using_our_template

Using our Template

You can use this template for the beginning :)

template_empty.txt
{{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
    
template_filled.txt
{{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

define

  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

C Example

#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 );
}

output example

  the answer to life the universe and everything is 42 

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
read_me/howto/using_our_template.txt · Last modified: 2024/02/16 01:06 (external edit)

Impressum Datenschutz