My current project is a basic syntax to c/c++ translator.
In legacy code that I inherited this line
LINE INPUT hFile,a$
Is translated to:
Code:fgets(a, 1048576, hFile);
with a$ having the default size of a $:
I am curious why no (windows) compiler(gcc,PellesC) emits a warning when compiling?Code:char a[2048];
Is it a "JUST DON'T DO THAT !!" ?
James