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?

Recommended Answers

All 2 Replies

>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.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.