Why is inherited member not allowed?

You have to declare the over-ridden functions as part of your class definition Note that the use of virtual here is optional. As n.m. noted, you should also include a virtual destructor in Shape. You may also want to make its virtual functions pure virtual (based on your comment about Shape being abstract)

C++ – include unistd.h: why not cunistd?

Your algorithm is correct for most (all?) standard C headers, but unistd.h is not part of standard C so standard C++ in turn doesn’t include it with the other c… headers.

How to call on a function found on another file?

You can use header files. Good practice. You can create a file called player.h declare all functions that are need by other cpp files in that header file and include it when needed. player.h player.cpp main.cpp Not such a good practice but works for small projects. declare your function in main.cpp

Win32 Console Application

The Win32 templates have been renamed to Windows Desktop. In VS2017, If you want to create the Win32 Console Application,I suggest you could choose File->New->Project. And then choose Windows Desktop Wizard.As shown below: If you want to create Win32 Console Application, you could select Console Application(.exe) in Application type. If you want to create the … Read more

How to convert an ASCII char to its ASCII int value?

I would like to convert a char to its ASCII int value. I could fill an array with all possible values and compare to that, but it doesn’t seems right to me. I would like something like The point is atoi() won’t work here as it is for readable numbers only. It won’t do anything … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)