Editors in the linux environment

Assignment Help Basic Computer Science
Reference no: EM131652584

C++ Programming in Linux 

Program Objective:

1. This program is intended to get acquainted with Linux (or refresh programming experience). This will be a short interactive program that will get me started an editor in Linux (pico, vi, emacs, etc.).

2. It will get me through compiling, linking, and running a program. You will write the program in C++

Editing: Program in Linux, use the editors in the Linux environment. Use the pico editor. Also available are vi and emacs editors.

Compiling: The compiler is g++. This can be used from the command prompt. Sample compilation is

C++ program: g++ -o test test.cpp (source program is test.cpp)

Executing: Here, test is the executable file name, and the execution is as follows.

C++ program: . /test

Program Description:

I am trying to make a small Linux program that will calculate the average of the following five grades: 77, 85, 80, 94, and 97. The program does not have to accept these grades, they may be hard coded into the program.

You must compute the average as a separate function such as average(sum, numGrades).

The program should print out the average, and then terminate.

Program requirements:

Enough documentation (either embedded in the code with comments, or external) to explain how you parsed the program and to follow what you expect to happen. Source code for your program file name linuxfc.cpp.

Reference no: EM131652584

Questions Cloud

Explain the concept of uniformitarianism : In your own words, explain the concept of uniformitarianism. Explain why Hutton's proposal of slow geologic processes was controversial?
Jeopardize and compromise a database : Confidentiality, integrity, and availability are the three common security goals. Select at least three security vulnerabilities that could jeopardize.
Small departmental database : You have been asked to develop two database management systems, one for a small departmental database and the other for a clinical data warehouse
Assume you will be interviewing a person : Assume you will be interviewing a person for a help desk position. Compile a list of questions that you would ask the candidate
Editors in the linux environment : Program in Linux, use the editors in the Linux environment. Use the pico editor. Also available are vi and emacs editors.
Need asssitance with a powerpoint presentation : Need asssitance with a powerpoint presentation (2 to 4 slides) with notes that cover
Discuss psychology students studying at the university : The participants were 90 first-year Psychology students studying at the University
Society often tends to attach a stigma to mental illness : Society often tends to attach a stigma to mental illness, Sometimes families try to hide such issues
Implementing a new commission policy : The management of JustLEe Books has approved implementing a new commission policy and the benefits plan for account managers.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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