Tuesday 11 September 2012

C++ ( Tutorials VIII )

File Naming Convention :- 

A few points regarding file nomenclature are:

 1.) In MSDOS a filename cannot have more than 8 characters whereas in Windows there is no such restriction.
2.) Use meaningful names (depending on what the program performs).
3.) Avoid using underscores in the file names.
4.) Be careful when using characters that look similar to each other. For example ‘1’ (the number one) and ‘l’ (the lowercase alphabet L) look alike.

                       File Type                          Extension used

                       C++ source file                    *.cpp
                      
                       C++/C header file                 *.h
                       C source file                         *.c
                       Executable file                      *.exe
                       Object Code                         *.obj
                       Text file                               *.txt
                       Word document                     *.doc
                       Image/graphics file                *.jpg/ *.gif/ *.bmp

0 comments:

Post a Comment