codepad
|
|
/******************************************************************************
Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby,
C#, OCaml, VB, Perl, Swift, Prolog, Javascript, Pascal, COBOL, HTML, CSS, JS
Code, Compile, Run and Debug online from anywhere in world.
*******************************************************************************/
#include <stdio.h>
int main()
{
printf("Hello World");
return 0;
}
|
view (16 lines, 1 line of output) |
#include <iostream>
using namespace std;
int main () {
cout << "hello world" << endl;
return 0;
}
|
view (7 lines, 1 line of output) |
#include <stdio.h>
int main() {
// printf() displays the string inside quotation
printf("Hello, World!");
return 0;
}
|
view (6 lines, 1 line of output) |
<?php
$metin = "<h1>Hello WorldÆØÅ!</h1>";
$yeni_metin=filter_var($metin,FILTER_SANITIZE_STRING,FILTER_FLAG_STRIP_HIGH);
echo $yeni_metin;
?>
|
view (5 lines, 1 line of output) |