Question:
Is it possible to program C windows programs using the .net framework (api)?
Code-designer
2010-04-03 15:41:27 UTC
I have been programming C for about almost a year now and I want to go further with it, but I didn't know where to look but then my friend (he programs C++) said I should look and see if C can use .net framework to make windows applications. Can I use the .net framework? if so please post links where I can learn it.
Three answers:
peteams
2010-04-03 16:15:24 UTC
With a little fiddling, yes you can certainly use C with the .NET frame work. But using C most things a fiddling, so that's not really a problem.



C is not a .NET language, however C++ is and C is a subset of C++. So what you need to write is C++. This might mean it is simplest to store you C code in .CPP files and perhaps wrap it in extern "C" { CcodeGoesHere } type wrappers. If you can just write C++ that might be better.



You can download Microsoft Visual Studio Express from microsof.com, see link below.
?
2016-10-07 07:32:58 UTC
Gates and Jobs have very diverse backgrounds. Gates replaced into an assembly-language programmer who hit vast with Microsoft common then offered the MS-DOS os which grew to grow to be Windoze. via the time he replaced into overseeing the GUI (Windoze) compilers for pascal c and c++ have been hardship-unfastened and he's this sort of hardware junkie you could guess he had them. whilst Jobs fairly replaced into the finance guy and Wozniak the Wizard of Apple, they the two got here out of the Homebrew computer club (construction the machines from off-the shelf aspects at living house) besides as construction black packing boxes. additionally Woz had an afternoon activity at Hewlett Packard -- which replaced right into a much greater useful place in those days. that they had the only right approaches available to them -- till now Microsoft. Apple is unquestionably greater of an innovator than Microsoft.
Me M
2010-04-03 16:14:27 UTC
To my understanding, you can use the .NET framework with Microsoft's implementation of C++/CLI, but not standard C. The .NET framework is object oriented.... C is not and object oriented programming language. Also, I believe that to use the .NET framework, a language must follow the specifications of Microsoft's CLI (Common Language Infrastructure). C does not fit this requirement.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...