GitHub for beginners (debian/ubuntu/linux)

Just yesterday I was trying to setup my first github repository, but it wasn’t that easy I thought it would be. YES I know, github has a support page, but  it didn’t seemed to work for me.So here, I’ll give you a little introduction on the initial setup of git on your local machine and setting…

Read more...

C++: incomplete type and cannot be defined

A very confusing error just now: error: aggregate ‘std::ofstream out’ has incomplete type and cannot be definedfrom simple code: std::ofstream out;And the similar one: error: variable ‘std::ofstream out’ has initialiser but incomplete typefrom this code: std::ofstream out(fname.c_str(),std::ios_base::app);Using this didn’t help: #include <iostream>Using this also didn’t help: #include <ofstream>That was confusing me most, but now I…

Read more...