feat(Colleen): adding the Colleen source
- Multiclonage
This commit is contained in:
parent
3f8b4c9e07
commit
960681d986
1 changed files with 14 additions and 0 deletions
14
C/Colleen/Colleen.c
Normal file
14
C/Colleen/Colleen.c
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Return the all program in a string using placeholder
|
||||||
|
*
|
||||||
|
* @return all the program even this comment
|
||||||
|
*/
|
||||||
|
const char *get_program(void) {
|
||||||
|
return "#include <stdio.h>%1$c%1$c/**%1$c * @brief Return the all program in a string using placeholder%1$c *%1$c * @return all the program even this comment%1$c */%1$cconst char *get_program(void) {%1$c%2$creturn %3$c%4$s%3$c;%1$c}%1$c%1$cint main(void) {%1$c%2$cprintf(get_program(), 10, 9, 34, get_program());%1$c%2$creturn 0;%1$c}%1$c";
|
||||||
|
}
|
||||||
|
|
||||||
|
int main(void) {
|
||||||
|
printf(get_program(), 10, 9, 34, get_program());
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue