> Konstantin wrote: > Hi! > Why there are no problems with this code in gcc? Because GCC supports pointer arithmetic on void * pointers as an extension. Try it with -Wall -ansi -pedantic. > string1++; //MS VC have got error size unknown > string2++; //MS VC have got error size unknown MSVC doesn't have that extension.