Formatting Xml Files with xmllint
I am currently working on a project where I need to parse Open Xml files comming from the Office Suite. As you may already know this involves opening what is...
I am currently working on a project where I need to parse Open Xml files comming from the Office Suite. As you may already know this involves opening what is...
I recently had to debug an error where stuff that should have been returned through a server to server call did not work correctly. Both servers - in development mode at...
Csharp was probably the first compiled language I really loved. When the first version of .net came out I wrote a small CMS using C# and the new runtime. (A...
Reading a file in lua is pretty straight forward.
lines = {}
for line in io.lines(arg[1]) do
lines[#lines + 1] = line
end
for k,v in pairs(lines) do
print(k .. '...
Lua is among the programming languages - that I write about here - I have used the least.
Reading program arguments is as easy as in most languages.
for i=1,#arg,1
do
print(arg[i])
end
First...
My son (Toke, 7 years old) and I have long talked about making our own computer game.
I have four reasons for doing so.
Reading a file in C++ is almost identical to how it's done C.
#include <iostream>
#include <fstream>
int main()
{
std::ifstream in("test.cpp");
std::string line;
auto num = 0;
while...
To create a plugin system in C++ you need three things.
To parse json in Rust you need a library. The one used here is called rustc-serialize
.
The first step is to create a new project.
cargo new test_json
cd !$
And then include...
In C++ there are no built-in ways to handle json. However there are many open source libraries to help you.
One of the more popular ones is JsonCpp - and it...