| C LAB WORKSHEET 1: INTRODUCTION
Together with the Tenouk’sC/C++ Tutorial, lab worksheets are used in the practical session. You may go through theC/C++ Tutorial first, before doing the practical of the compiling, linking and running the C/C++ programs. However, this lab worksheet is independent and can be used standalone in learning C through hands-on activities, no prior pre-requisite is needed. In the first series we are going to concentrate on C coding. The compiler used is Visual C++ 2005 Express Edition (part of theVisual Studio 2005 Express Edition). This compiler is a 'Lite' version of the Visual C++ 2005 (part of theVisual Studio 2005), free and can be downloaded atMicrosoft Visual C++ website. Using VC++ 2005 Express Edition is sufficient for us to play around with C/C++ coding and it is based on the .Net framework 2.x. The latest version is Visual C++ 2008 (Visual Studio 2008) with .NET Framework 3.5 and the Express edition also available. You will find that whether ANSI/ISO/IEC Standard or implementation specific C, newer compilers have introduced or supported many new constructs mainly in the security aspects of the library functions. This series will not cover all the topics and/or subtopics in the C/C++ Tutorial but it will give you a sufficient C understanding through a lot of exercises and at the same time provide you the activities in order to be familiar with your compiler and understand the C syntaxes and constructs. It contains coding, compiling and answering questions tasks. As a starting point, in this lab worksheet we are trying to re-compile Tenouk’s C++ programs (MFC #1, MFC #2 andMFC #3) created using Visual C++ 6.0 inVisual C++ .Net 2003. Keep in mind that there is no more support for VC++ 6.0 from Microsoft. After that we will proceed with installing and using Visual C++ 2005 Express Edition. What ever it is, we are not going to use themanaged code (Common Language Runtime - CLR based) of the .Net framework, just a plain Standard C code so that the C code snippets can be used with any C/C++ compilers, open source or commercial.
Converting Visual C++ 6.0 MFC project to Visual C++ .Net 2003
The following steps demonstrate on how to convert your old VC++ 6.0 to Visual C++ .NET 2003 (the Visual C++ .NET 2003 and prior .NET IDE is based on Managed Extension C++. The real Managed C++ is Visual C++ .NET 2005 and above) We are going to open Visual C++ 6.0 MFC project (myapp raw files, myapp in zip) from the previous tutorial inVisual C++ .Net 2003 (converting the project as well). |
| |
| ![]() |
| ![]() |
| |
| ![]() |
| ![]() |
| |
| |
| |
| ![]() |
| ![]() |