1. Home
  2. Computing & Technology
  3. C / C++ / C#
photo of David Bolton
David's C / C++ / C# Blog

By David Bolton, About.com Guide to C / C++ / C#

Compiling Programs in C with Microsoft Visual C++ 2005 Express Edition

Thursday October 19, 2006

I received an email from a reader asking how to compile and debug C programs using Microsoft Visual C++ 2005 Express Edition, as he was fairly new to it and wasn't sure if it's possible. Well the good news is that yes it's possible and I've added it as a Quick Tip.

I tested it with the Star Trek Conversion Project and it compiled and ran without changes. Here's how I did it.

Just follow the Quick tip instructions and after renaming the source file, open it in the editor. Now download the Star Trek C source in your browser, select it all and cut and paste into the editor. The following line needs to be added and then you can save, make and run it.

#include "stdafx.h"

New Book Review - Accelerated C# 2005 by Trey Nash

Link to Book Review I really liked this book and strongly recommend it. You'll find a full review in the book reviews.

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore C / C++ / C#
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#

©2009 About.com, a part of The New York Times Company.

All rights reserved.