1 Right-click this drive and select Properties. 2  Click the Tools tab. 3  In the Error-checking category, click Check now... 4  In the dialog that appears, check Automatically fix file system errors and Scan for and attempt recovery of bad sectors.. 5  Click Start.
A static variable is a special variable that you can use in a function, and it saves the data between calls, and it does not delete it between calls. For example: void func(){ static int count; // If you don't declare its value, the value automatically initializes to zero printf(%d, , count); count++; } void main(){ while(true){ func(); } }
Because all of the members belong to the class (instead of object of the class), and class declarations usually have global scope, a pure static class is essentially the equivalent of declaring functions and global variables in a globally accessible namespace, with all the requisite downsides that global variables have.