Thursday, July 30, 2009

Microsoft Visual C++ 2008 Express?

I am trying to teach myself C.








Okay, I entered a simple C program(no errors in the source code). I need to know how to compile and link it. I also need to know how to make an .exe file to execute it.








I did put the program in a project. I hit build it and it compiled and linked it. There was no .exe file created though.








Please help. I need to know if I put it in a project or not and what menues to go to.





Thanks,


Greeneyehawk

Microsoft Visual C++ 2008 Express?
Depending on the configuration you are running it may have put the exe in the debug or release folder.





The best way to do this is to do a "publish" it will ask you which folder you wish to publish to. When publishing, it will create the EXE for you.
Reply:Steven K really knows what he's talking about; listen to him if you want to stick with the Visual C++.





However I normally find that their interface is a bit annoying at times, and is often hard to use. When I first began C and C++ programming, I used DevC++ and loved it. You can use tons of different features, all very easy to use, and its free too. I cited it in my sources.





I also like Edit Pad Pro, also free. It's great for multi-code-lingual people like me, who have to code in HTML, Python, C++ and Java all within 50 minutes of each other, but it has no compiler.








Anyway, if you still want to use VisualCPP, then go right ahead, its a great tool, but just make sure that your client has the .NET framework before you go and sell them a product.





:)





Hope this helps!





~Jared


No comments:

Post a Comment