How can you break the main method

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

In this assignment, we will still work on our main.c file that we used in assignment 0. So far we have been working with the code all on one file which is not a good programming practice. What we want to do in this assignment is we want to break our main file into three files: interface, client, and implementation. What you will need to decide the following:

- There is no functions in the main file we have, only the main method, how can you break the main method into smaller ones, each specific for a certain task? What name are you going to use for these methods? what would be the input for the methods?

- Based on how you are going to break the main into smaller methods, create your interface to include the method prototype

- Remaining is the client. Connect your methods and call them in the correct order to obtain the same behavior we had before for the main.c file.

Things to consider while programming:

- No global variables are allowed

- For the method parameters, chose only the ones that need to be sent. If a parameter only needed by a single method, then it has to be a local variable to this method.

What you need to submit:

- The interface, implement, and client files, including fully document code explaining what every method does

- In addition, similar to assignment 0, you need to include a block comment that includes your name and the program version

- README file explaining what you did.

- Compress all the files together and submit through blackboard

Attachment:- main copy.rar

Reference no: EM131229163

Questions Cloud

Companies improve the security of online classifieds : Security of Online Classifieds Web Pages How are the companies in this business protecting their users from such assaults, and how can these companies improve the security of online classifieds?
About legal environment of business-business organizations : This project requires you to identify and analyze legal issues and to make recommendations based on one or more fact patterns. The issues will relate to the concepts covered in weeks 1, 2, and 3 about the legal environment of business and business or..
Globally sources at least one material or service : If your organization or one with which you’re familiar globally sources at least one material or service, please (a) describe the item being sourced and its importance to the organization and (b) why they are sourcing it globally, i.e. low cost, clos..
Examine causes and consequences of international trade : ECO 4703. Examine causes and consequences of international trade. We will use both the core and new models of international trade as a tool to understand why and how countries trade, what they trade, and who gains from trade.
How can you break the main method : What we want to do in this assignment is we want to break our main file into three files: interface, client, and implementation and
What time does the process start to lose customers : Homework - Process Flow Analysis - what time does the process start to lose customers and What is the longest possible waiting time (in minutes) for a customer who joined the queue?
Analyse the data provided by the supplier : Your task is to independently analyse the data provided by the supplier and produce a poster for the management of your company with your recommendations about commissioning the ORC
Write a matlab script to display the even component : Write a MATLAB script to Display both the even component and odd component of v(t) in window 2 by using subplot. Verify if the system y(t) = sit(t) is time-invariant by displaying x1(t) = v(t), y1(t), x2(t) = v (t - 2), and y2 (t) ) in window 3,
Complete frame for transmission : In the CRC error detection scheme, the chosen pattern is P(x) = x 4 + x + 1. Given the message bits D=10010011011, determine the FCS bits to be added to make the complete frame for transmission.

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