How to know what the ‘errno’ means?

You can use strerror() to get a human-readable string for the error number. This is the same string printed by perror() but it’s useful if you’re formatting the error message for something other than standard error output. For example: Linux also supports the explicitly-threadsafe variant strerror_r().

Can I store images in MySQL 

Yes, you can store images in the database, but it’s not advisable in my opinion, and it’s not general practice. A general practice is to store images in directories on the file system and store references to the images in the database. e.g. path to the image,the image name, etc.. Or alternatively, you may even … Read more

Visual Studio 2019 – error MSB8020: The build tools for Visual Studio 2013 cannot be found

Open the keycastow.vcxproj with notepad, change here the <PlatformToolset>v120</PlatformToolset> to <PlatformToolset>v142</PlatformToolset> to use the VC++ 2019 platform or change the version via UI In Visual Studio, in Solution Explorer, open the shortcut menu for your project (not for your solution) and then choose Properties to open your project Property Pages dialog box. In the Property Pages dialog box, open the Configuration drop-down … Read more

Is it possible to install a C# compiler without Visual Studio?

Sure, the framework includes a compiler, csc.exe. Look at this article for a quick how-to. The important parts: You can get the command-line compiler (csc.exe) from Microsoft site http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx. Download the redistributable package of the .NET Framework, which includes the compiler and the .NET Framework with C# 2005 syntax support. The compiler is located in the following directory: … Read more

Pointer to 2D arrays in C

Using pointer2 or pointer3 produce the same binary except manipulations as ++pointer2 as pointed out by WhozCraig. I recommend using typedef (producing same binary code as above pointer3) Note: Since C++11, you can also use keyword using instead of typedef in your example: Note: If the array tab1 is used within a function body => this array will be placed within the call stack memory. But the stack size is limited. Using … Read more

CodePro Analytix: Where to find the plugin

That is an Eclipse update site, you can’t open it in a web browser. Instead you install it from Eclipse by opening ‘Help > Install New Software…’. In the ‘Work with:’ field enter the update site URL for example https://dl.google.com/eclipse/inst/codepro/latest/3.7 which still works with Eclipse Oxygen. Eclipse will then show you what can be installed from the … Read more

How to make a div 100% height of the browser window

There are a couple of CSS 3 measurement units called: Viewport-Percentage (or Viewport-Relative) Lengths What are Viewport-Percentage Lengths? From the linked W3 Candidate Recommendation above: The viewport-percentage lengths are relative to the size of the initial containing block. When the height or width of the initial containing block is changed, they are scaled accordingly. These units are vh (viewport … Read more