This file contains 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 <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
typedef const char* str; | |
#define TYPE str | |
#include "vector.h" | |
#include "vector.def" | |
#undef TYPE |
This file contains 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 <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
typedef const char* str; | |
#define TYPE str | |
#include "vector.h" | |
#include "vector.def" | |
#undef TYPE |
This file contains 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
function nouveau_compteur(increment) | |
local compte = 0 | |
return function () | |
compte = compte + increment | |
return compte | |
end | |
end | |
local incr_1 = nouveau_compteur(1) | |
local incr_2 = nouveau_compteur(2) |
This file contains 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
/* | |
13-10-2015 | |
Retroactive (retroactive.me) | |
Siapran Candoris | |
This code is public domain, inspired by the work of Nathan Seidle, Spark Fun Electronics 2011. | |
This code allows writing data to the Nokia 5110 84x48 graphic LCD: | |
http://www.sparkfun.com/products/10168 |
This file contains 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
$ g++ -std=c++98 main.cpp -o main | |
In file included from main.cpp:1:0: | |
ArduinoJson.h:513:39: error: ‘IsBaseOf’ is not a member of ‘ArduinoJson::TypeTraits’ | |
typename TypeTraits::EnableIf<TypeTraits::IsBaseOf< | |
^~~~~~~~~~ | |
ArduinoJson.h:513:39: error: ‘IsBaseOf’ is not a member of ‘ArduinoJson::TypeTraits’ | |
ArduinoJson.h:514:44: error: ‘RemoveReference’ in namespace ‘ArduinoJson::TypeTraits’ does not name a template type | |
std::istream, typename TypeTraits::RemoveReference< | |
^~~~~~~~~~~~~~~ | |
ArduinoJson.h:514:59: error: expected template-argument before ‘<’ token |
This file contains 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
siapran@pc-vlb-0163:~/Programming/C++/JSONTest$ git clone https://github.com/bblanchon/ArduinoJson.git | |
Cloning into 'ArduinoJson'... | |
remote: Counting objects: 8927, done. | |
remote: Compressing objects: 100% (131/131), done. | |
remote: Total 8927 (delta 50), reused 0 (delta 0), pack-reused 8794 | |
Receiving objects: 100% (8927/8927), 2.91 MiB | 537.00 KiB/s, done. | |
Resolving deltas: 100% (6073/6073), done. | |
siapran@pc-vlb-0163:~/Programming/C++/JSONTest$ g++ -std=c++98 main.cpp -o main | |
In file included from ArduinoJson/src/ArduinoJson/JsonArray.hpp:13:0, | |
from ArduinoJson/src/ArduinoJson.hpp:11, |
This file contains 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
siapran@pc-vlb-0163:~/Programming/C++/JSONTest$ g++-4.9.3 --version | |
g++-4.9.3 (GCC) 4.9.3 | |
Copyright (C) 2015 Free Software Foundation, Inc. | |
This is free software; see the source for copying conditions. There is NO | |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
siapran@pc-vlb-0163:~/Programming/C++/JSONTest$ g++-4.9.3 -std=c++98 main.cpp -o main | |
In file included from ArduinoJson/src/ArduinoJson/JsonArray.hpp:13:0, | |
from ArduinoJson/src/ArduinoJson.hpp:11, | |
from ArduinoJson/src/ArduinoJson.h:10, |
This file contains 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
[ ] => Available | |
[X] => Taken | |
[?] => Reserved/Unsure | |
[ ] 2064: Read Only Memories | |
[ ] 7 Grand Steps | |
[ ] A Boy and His Blob | |
[ ] A Story About My Uncle | |
[ ] A Virus Named Tom | |
[ ] Abyss Odyssey |
This file contains 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
siapran@pc-vlb-0163:~/Programming/C++/JSON_Config$ make | |
"make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf | |
make[1]: Entering directory '/home/siapran/Programming/C++/JSON_Config' | |
"make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux/json_config | |
make[2]: Entering directory '/home/siapran/Programming/C++/JSON_Config' | |
mkdir -p build/Debug/GNU-Linux | |
rm -f "build/Debug/GNU-Linux/Config.o.d" | |
g++ -c -g -MMD -MP -MF "build/Debug/GNU-Linux/Config.o.d" -o build/Debug/GNU-Linux/Config.o Config.cpp | |
mkdir -p build/Debug/GNU-Linux | |
rm -f "build/Debug/GNU-Linux/ErrnoException.o.d" |
This file contains 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
siapran@pc-vlb-0163:~/Programming/C++/JSON_Config$ make | |
"make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf | |
make[1]: Entering directory '/home/siapran/Programming/C++/JSON_Config' | |
"make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux/json_config | |
make[2]: Entering directory '/home/siapran/Programming/C++/JSON_Config' | |
mkdir -p build/Debug/GNU-Linux | |
rm -f "build/Debug/GNU-Linux/Config.o.d" | |
g++ -c -g -MMD -MP -MF "build/Debug/GNU-Linux/Config.o.d" -o build/Debug/GNU-Linux/Config.o Config.cpp | |
mkdir -p build/Debug/GNU-Linux | |
rm -f "build/Debug/GNU-Linux/ErrnoException.o.d" |
OlderNewer