Change the name of the function that displays your name

Assignment Help C/C++ Programming
Reference no: EM131102252

Objective Become familiar with the C++ compiler/environment that you plan to use for the programming assignments in this class. I strongly recommend using the Unix system as we discussed in class.

Requirements

- Get the "Hello, world!" program working.

- Add a function (ShowProgramHeader () as described in lecture) to print your name and class information before the "Hello, world!" message.

Note: This will be required on all future assignments.

The following changes should generate compiler errors/warnings. If it does, record the message; if it does not, record that. Turn this record in with your assignment.

- Remove the semi-colon from the output statement in main().

- Comment out the using namespace std; statement. Use either a block comment or an in-line comment. Is there a difference?

- Comment out the #include <iostream> (#include <iostream h> on older compilers) statement. Use either a block comment or an in-line comment. Is there a difference?

- Change the double quotes that enclose the Hello, world! message to single quotes.

- Change the << (put to operator) to < on one of your output lines.

- Remove the starting brace from main 0 .

- Remove the closing brace from main 0 .

- Change cout to Cout or COUT.

- Change main to Main or MAIN.

- Change the name of the function that displays your name, date, etc, from ShowProgramHeader() to ShowHeader().

Deliverables
- Program fully documented.
- Output-neatly formatted and documented.
- List of errors neatly formatted

AS you can see the assignment I want you to work on it.

Verified Expert

The solution program written in online UNIX system and executed in c++ compiler. There are two programs to display the name and class using user defined function ShowProgramHeader(). ShowHeader() function to print the system current date. The solution file prepared in word and answered all required questions with program, output screen shot and error details.

Reference no: EM131102252

Questions Cloud

Admissions and records of a large western university : The Office of Admissions and Records of a large western university released the accompanying information concerning the contemplated majors of its freshman class. (Round your answers to three decimal places.)
Who designs and installs accounting systems : Who designs and installs accounting systems?
Statistical methods for research workers : Answer every part of each of the four questions on this exam. Show all of your work.  You may earn partial credit for incorrect or incomplete answers if you show work that demonstrates appropriate statistical reasoning or the application of an app..
Calculate the first-run npv and irr : calculate the first-run NPV and IRR. Assume that the cash flows for each year are independent of cash flows for other years.. Frequency distributions for NPV and IRR are plotted by the computer, and the distributions' means and standard deviations ar..
Change the name of the function that displays your name : Change the double quotes that enclose the Hello, world! message to single quotes - Change the name of the function that displays your name
What are the three basic functions of every accounting : What are the- three basic functions of every accounting -system?
What do we mean when we say that an accounting system : What do we mean when we say that an accounting system needs to be "cost-effective"?
Find the expected transmitted energy per binary digit : That is, the transmitter sends a/gm/ instead of a. Find the expected transmitted energy per binary digit.
What is an accounting system : What is an accounting system and what is the primary objective of such t system?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd