Ide Coding
Lab 1 TECH 104 Fall 2013Maximum Marks 10Lab reports are due at the beginning of the lab.The lab reports that are handed in late are not marked.Objectives:Get familiar with the IDEGet familiar with various components of basic C programCreate errors in the code and identify error massages generated by the IDEUnderstand the basic print statements (printf and fprintf)Write simple program that displays formatted information on different lines and using tabs and spaces.Part-IOpen Microsoft VC++ 2010 Express edition/ Microsoft Visual Studio Professional Edition and create new project named “Lab1”.It is Win32 Console Application and create “Empty Project”.Add new source file “Lab1_part1.c” in this project.Show the path where your project folder Lab1 (folder) is created: 1 Mark
Now type the following program in the file “Lab1_part1.c”[pic 1]Using Debug menu option, select “Build Solution”What is the Build Information that you see at the bottom of the “Output Build” window at the bottom of the workspace? Did it build successfully? unsuccesfully 1 MarkPlace the mouse cursor on the following statements one by one and write the error messages below: 2 Marksprintf(….)Identifier “printf” is undefined:fprintf(…):identifier “fprintf” is undefinedscanf(…):Identifier “scanf” is underfinedgetchar():Identifier “getchar” is underfinedNow include the following statement on the first line of the source code (Lab1_part1.c):#include Use Debug menu option and “Build Solution” once again. Now observe the Build Information on the Output Build window at the bottom of the workspace of the source code. What is the build information that you see now? Was the Build successfully completed?