Compiling Java sources won’t produce executable which could be run independently. It produces binary code which is executed by Java. So in order to run Java program you need Java to be installed. Just to[…]
Author: Andrew Kirik
Git basics, part II
Now let’s look at one of typical real life scenarios. You came to the office in the morning and you want to get all latest changes: git pull this would sync your copy with other[…]
Git basics
Linux, as usual, is more friendly to command line tool than Windows. Git is either already available for you or you can easily install it (e.g. sudo apt-get install git). On Windows one of the[…]
makefiles, part II
Like I said with just one file it doesn’t make sense to create a makefile. Let’s create something more complex. Let’s create four files: main.cpp, class1.cpp, class1.h and common.h // common.h #pragma once enum class[…]
makefiles, part I
got tired of remembering all compiler and linker switches? I got a good news for you – you can setup everything once and forget about it. One way is to user some studio and create[…]
Hello, World on C/C++ on Windows, part II
This time we are going to use Windows SDK. We are going to write a program which would accept file name as command line parameter and would print out content of that file. This could[…]
Hello, World on C/C++ on Windows
On to Windows. And we will continue using command line only, no Studio yet. The are two options in my opinion: Cygwin which is Linux stimulations and Build Tools for Visual Studio 2019 (scroll down[…]
Hello, World on C/C++ on Linux, part II
Last time we wrote C application, this time let’s do a C++. Our Hello, World could look like this: #include <iostream> int main() { []{ std::cout
Hello, World on C/C++ on Linux
So you came home from your first 101 computer science class and you have homework to do – write a program on C. Where do you start? I’ll try to answer that. The easiest way[…]
WinDgb Cheat Sheet
I want to share with you cheat sheet I created which helps me to work with WinDbg. (if you don’t see the link, go to the Blog page)