Is it compiled as a C file when compiling `c` files in Visual Studio 2010?

C and C are different languages, I can still compile them in Visual Studio 2010 under the C project. Why is this? Does the compiler interpret C files as C language?
No, it is compiled to C code.

C in Visual Studio Projects can contain C and C code. The cl compiler recognizes the file extension and compiles it accordingly.

Files ending in .c are compiled into C code. Files ending in .cpp or .cxx are compiled Compile to C. This can be changed as per the documentation here

C and C are different languages, I can still compile them in Visual Studio 2010 under the C project. This Why? Does the compiler interpret C files as C language?

No, it is compiled into C code.

C projects in Visual Studio can contain C and C code. cl compiler recognizes File extension and compile it accordingly.

Files ending in .c are compiled into C code. Files ending in .cpp or .cxx are compiled into C. This can be changed according to the documentation here< /p>

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1992 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.