Saturday, May 22, 2010

Can VisualC++6.0 run C codes?

i have microsoft visual C++ 6.0 complier, and would like to know if it runs C,





if it does where is the best place to learn C for the visual C++ complier? most codes i find are for unix and that is just mind confusing...

Can VisualC++6.0 run C codes?
all c++ compiler run c code
Reply:THe MSVC++ 6 compiler will compile C code. Just make sure you take the appropriate steps to make a C project. If you have cpp files, they will be compiled as C++, and if you have c files, they will be compiled as C. You may want to get Visual C++ Express. THat's the compiler for the newest C++ version. The compiler is more up to date.





%26gt; if it does where is the best place to learn C for the visual C++ complier?


Any place that teaches standard C. K %26amp; R's book is the standard resource. There's a few resouces on the net as well, like cprogramming.com. Make sure you choose one that is accurate. Some kid's C tutorial is an unsuitable resource. Also see http://c-faq.com/ . The tools and resources section mentions a few books.





%26lt; most codes i find are for unix and that is just mind confusing...


C itself is a portable language. It won't matter if it's being compiled on Windows or Linux or Unix or Mac. You just need to find a resource that teaches you standard C rather than some compiler dependent hack. Once again, it's a question of finding a good resource.





(Aside, if you find an appropriate resource that shows code for Unix, it doesn't matter. That same code will run on Windows. As long as it is standard C.)


No comments:

Post a Comment