0

Just some questions.

Can Visual C++ express be used to code non-CLI applications? What is the proper way to do this?

What's up with the stdafx.h header? Can somebody explain what that is for please?

How come I can't use stdio.h for C code in it? (yet printf and other functions from that library still work? What?!)

Is C++ "comfortable" in CLI?

Is Visual Studio a suitable tool for non-CLI applications?

2
Contributors
2
Replies
4
Views
9 Years
Discussion Span
Last Post by scru
0

>is Visual Studio a suitable tool for non-CLI applications?

Yes. Just create an empty project and include the headers that you need.

>What's up with the stdafx.h header?

stdafx.h is ms specific and unnecessary for console applications. There are different ones which just include different headers or define various macros. Just manually #include the specific headers you require.

>How come I can't use stdio.h for C code in it?

You should be able to use this. The only limitation with c and ms compilers is their lack of support for c99.

0

Hi. Thanks. Leave it to my to try exverything ecept Empty Project. Works fine now.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.