hello,

i am new to vc++,
can i write and run c program in vc++?

if yes,
please explain how to do so.

Yes. Start VC. Choose the project type. Write the code.

And make sure you name your source code as say
prog.c
and not the default it gives you of
prog.cpp

yeah, that too...

But it isn't necessary. prog.cpp will compile anyway.

But it isn't necessary. prog.cpp will compile anyway.

Of course, that it most likely will compile. Nevertheless, that will create a C++ program and not a C program.
Sad that what it should be obvious, it needs to be explained in just great detail.

I knew it wasn't a superset, but I will study that page. Thank you Salem.

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.