printf
printf();
printf("Hello World");
int main(){
printf("Hello World");
}
#include <stdio.h>
int main(){
printf("Hello World");
}
Otvor kapotu
Hoho
Vyber sviečku
Vlož novú sviečku
Zatvor kapotu
HohoHoho
OneTime
NextTime
Ktorú sviečku?
Druhú
Interpreter
Java
Otvor kapotu
Hoho
Vyber sviečku
Vlož novú sviečku
Zatvor kapotu
HohoHoho
OneTime
NextTime
Ktorú sviečku?
Compiller
C
Otvor kapotu
Hoho
Vyber druhú sviečku
Vlož novú sviečku
Zatvor kapotu
HohoHoho
OneTime
NextTime
Compiller
C
JavaScript
Python
C
Swift
Pascal
Java
01011111 10110100 10111110 10100101 11011010 10010010 11011100 01001101
10111001 10011001 01111001 01100100 01111101 01101100 11110100 10010100
11111100 11000101 01110110 11011011 00110101 10111100 11110010 00101111
00100100 10110101 10000101 10011101 11100110 11011011 01010100 10110111
00001000 01011001 10111011 10101101 00100101 01001110 11111001 10110111
11011000 00001010 01001000 11100100 01101011 00101011 01011000 10110011
11110111 00111011 01100000 10101000 01111000 10001011 01001011 00010100
11101111 00101111 10110100 10100100 11100110 11101011 01101101 00001011
01011111 10110100 10111110 10100101 11011010 10010010 11011100 01001101
10111001 10011001 01111001 01100100 01111101 01101100 11110100 10010100
11111100 11000101 01110110 11011011 00110101 10111100 11110010 00101111
00100100 10110101 10000101 10011101 11100110 11011011 01010100 10110111
00001000 01011001 10111011 10101101 00100101 01001110 11111001 10110111
11011000 00001010 01001000 11100100 01101011 00101011 01011000 10110011
11110111 00111011 01100000 10101000 01111000 10001011 01001011 00010100
11101111 00101111 10110100 10100100 11100110 11101011 01101101 00001011
gcc -o helloworld helloworld.c
make helloworld.c
cygwin
mingw
xcode
coffee :)
./helloworld
September 9, 1947,
sequence of program instructions that perform a specific task , packaged as a unit
ret_type name(params);
if(a<0){
printf("Hello");
}
if(a<0){
printf("Hello");
}
else{
printf("World");
}
if(a<0){
printf("Hello");
}
else{
printf("World");
}
while(a<0){
printf("Hello");
a++;
}
for(int i=0; i<10; i++){
printf("Hello %d", i);
}