Nameless
|
codepad
|
|
Nameless
|
Saved pastes by Nameless:
#include <iostream>
#include <sstream>
#define dbg(EXP) std::cout << std::boolalpha << #EXP ": " << (EXP) << std::endl
|
view (15 lines, 2 lines of output) |
#include <stdio.h>
int main()
{
printf("%s", (sizeof(char)==sizeof('a') ? "C++" : "C"));
|
view (7 lines, 1 line of output) |
#include <stdio.h>
int main()
{
printf("%s", (sizeof(char)==sizeof('a') ? "C++" : "C"));
|
view (7 lines, 1 line of output) |
#include <stdio.h>
int main(char*a){printf(a,34,a="#include <stdio.h> int main(char*a){printf(a,34,a=%c%s%c,34);}",34);}
|
view (2 lines, 2 lines of output) |
#include <iostream>
bool func_(const char *beg){
char id = *beg;
for( ; *beg ; ++beg, ++id)
|
view (17 lines, 1 line of output) |