Category Archives: cpp
Basic source/headers structure in c/c++
Just as another cheatsheet, took from here, as usually though. If you want to use a function in multiple source files (or rather, translation units), then you place a function declaration (i.e. a function prototype) in the header file, and the definition in one source … Continue reading
Posted in c, cpp, programming
Leave a comment
C / C++ basic input/output – it’s a little about streams
While I’ve solved some algorithm problems to practice a little with coding, my shame, it turned out I’ve never known how to handle standard input/output streams stdin and stdout, trying to code them similar to console streams cin and cout. … Continue reading
Posted in cpp, programming
Leave a comment