[IDEA] Make a video out of a chess game.

Sort:
b10fu3l
Threexk wrote:

ffmpeg can make video out of gif (that is already an option), so what's wrong with that?

Just personal preference...

Threexk
b10fu3l wrote:

....

C/C++:

I haven't seen C++ in a while,but surely cout over printf

GM_Salzi
Threexk wrote:
b10fu3l wrote:

....

C/C++:

I haven't seen C++ in a while,but surely cout over printf

In C++ cout is faster then printf. You could actually create a benchmark and measure a diffrence, but in C there is no cout, so when writing code that can be used in C and C++ you have to use printf.

Also @b10fu3l: very well done

dawgisgreat
b10fu3l hat geschrieben:

Python: print("Hello, world!")

JavaScript: console.log("Hello, world!");

Java:

public class HelloWorld {

public static void main(String[] args) {

System.out.println("Hello, world!");

}

}

C/C++:

#include <stdio.h>

int main() {

printf("Hello, world!");

return 0;

}

Swift: print("Hello, world!")

Let me know if you want me to write Hello World in other languages! Also, you're meant to use the word "to" instead of "too", but I'm being a little picky, aren't I?

Danke, dass du das gelesen hast! (Thanks for reading this!)

Gut gemacht! Nun lerne, wie man die Fibonacci-sequenz programmiert (well done, champerino! Now learn to code a fibonacci sequence)

b10fu3l
Threexk wrote:
b10fu3l wrote:

....

C/C++:

I haven't seen C++ in a while,but surely cout over printf

Yes, but I can't remember off the top of my head which include it is... shame

b10fu3l
dawgisgreat wrote:
b10fu3l hat geschrieben:

Python: print("Hello, world!")

JavaScript: console.log("Hello, world!");

Java:

public class HelloWorld {

public static void main(String[] args) {

System.out.println("Hello, world!");

}

}

C/C++:

#include <stdio.h>

int main() {

printf("Hello, world!");

return 0;

}

Swift: print("Hello, world!")

Let me know if you want me to write Hello World in other languages! Also, you're meant to use the word "to" instead of "too", but I'm being a little picky, aren't I?

Danke, dass du das gelesen hast! (Thanks for reading this!)

Gut gemacht! Nun lerne, wie man die Fibonacci-sequenz programmiert (well done, champerino! Now learn to code a fibonacci sequence)

Python:

def fib(n):

if n < 2: return n

res = 1

for i in range(n):

res *= i + 1

b10fu3l

Unfortunately, I can't show indents...

b10fu3l

Also I know how to code in Python, I'm just lazy.