This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdarg.h> | |
// compound literals | |
#define count(...) _count_pointer((int[]){0}, __VA_ARGS__, NULL) | |
size_t _count_pointer(void *unused, ...) { | |
size_t cnt = 0; | |
va_list ap; | |
va_start(ap, unused); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <errno.h> | |
#include <limits.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define INT int64_t | |
#define BUF_SIZE 64 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
class A { | |
protected: | |
// public: | |
int key = 1; | |
double key2 = 20.1; | |
int key3 = 123454654; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wrapper"> | |
<label for="text">Text to speak:</label> | |
<textarea id="text">Hello! Feel free to change this text and don't forget to turn your volume on.</textarea> | |
<div class="properties"> | |
<label for="voice">Voice:</label> | |
<select id="voice"></select> | |
<div></div> | |
<label for="pitch">Pitch:</label> | |
<input id="pitch" type="range" min="0.1" max="2" step="0.1" value="1"> |