Review problem based on the running applications

Assignment Help Other Subject
Reference no: EM132613765

Discussion: Your initial discussion thread is due and you have to respond to your classmates. Your grade will reflect both the quality of your initial post and the depth of your responses.

Running Applications

Install the application provided with the text. You should be installing Microsoft Visual C++ 2005 (Windows Vista users will also need to install Service Pack 1 before running the program).

You will also need to copy the zip file that provides the C++ libraries: Libraries.zip. Please read these Instructions on downloading the zip files to your hard drive.

As part of this exercise you will also use the sample code below to test the application, compile the code and communicate that your application was installed and working.

This is the sample code:

#include <iostream>

#include <string>

using namespace std;

int main()

{

string str1("Alpha");

string str2("Beta");

string str3("Omega");

string str4;

// assign a string

str4 = str1;

cout << str1 << "\n" << str3 << "\n";

// concatenate two strings

str4 = str1 + str2;

cout << str4 << "\n";

// concatenate a string with a C-string

str4 = str1 + " to " + str3;

cout << str4 << "\n";

// compare strings

if(str3 > str1) cout << "str3 > str1\n";

if(str3 == str1+str2)

cout << "str3 == str1+str2\n";

/* A string object can also be

assigned a normal string. */

str1 = "This is a null-terminated string.\n";

cout << str1;

// create a string object using another string object

string str5(str1);

cout << str5;

// input a string

cout << "Enter a string: ";

cin >> str5;

cout << str5;

system("pause");

return 0;

}

The code above is a simple program that will output some string statements and then ask for one input and close after you enter text and then hit enter.

Try to change the text once you are successful and rename your source file. Play around with the strings. Report your experience and your efforts to the discussion board. Respond to at least two of your classmates' postings.

Reference no: EM132613765

Questions Cloud

Explain the reasons for an internal audit : Explain the reasons for an internal audit - Review the current auditing regulatory environment - Understand current external audit legal and professional
Review and reflect on knowledge you have gained from course : What were the most compelling topics learned in this course? What approaches could have yielded additional valuable information?
Design training presentation on best practices : The CEO and other executive leaders have requested you to design a training presentation on "Best Practices" for managers on diversity in the workplace.
Social networks-social interactions and exchange of ideas : People that resist using online social networks such as Facebook and Twitter are an unusual minority in this country.
Review problem based on the running applications : Install the application provided with the text. You should be installing Microsoft Visual C++ 2005 (Windows Vista users will also need to install Service Pack.
Patient visit to orthodontist with those for endodontist : Compare the frequency and purpose of patient visit to an orthodontist with those for an endodontist.
What are the moral dimensions of information systems : Refer to page 413 Figure 12-1 in your text - The Relationship Between Ethical, Social, and Political Issues in an Information Society.
Learning to your current and future professional success : The purpose of this discussion is for you to reflect on the personal relevance of your learning to your current and future professional success.
Why are information systems essential for running business : Why are information systems so essential for running and managing a business today? What exactly is an information system? How does it work?

Reviews

Write a Review

Other Subject Questions & Answers

  What reasons do donor countries use to distribute

What reasons do donor countries use to distribute aid through the use of Non-Governmental Organizations (NGOs)?

  Russians threw the 2016 presidential election

We must conclude that the Russians threw the 2016 Presidential election." (Name the fallacy)

  Similarities between the kaplans stages of sexual response

Sexual Response Cycle ChartComplete the template provided by comparing and contrasting the Masters and Johnson Human Sexual Response Cycle to the Kaplan's.

  International culture and international business

What are the approaches international managers seek to understand when instituting change in the international arena? Why is it important to know about the international culture and how does it affect the international business?

  What makes the poorly written job descriptions weak

What makes the poorly written job descriptions weak? What makes the better job descriptions more effective? Respond to each question with a minimum of 250 words

  Circumstances where mechanical ventilation is required

There are many reasons that can lead to a welding site being ventilated. Ventilation serves a lot of purpose in safeguarding the workers by regulating air flow in the workingareas. It is a necessity requirement for every welding site.

  Importance of shared meaning

Develop a categorical syllogism. Discuss the meaning of the terms and/or propositions with a goal of understanding the importance of shared meaning.

  How are questioning strategies used as a guide

In 250-500 words, provide a reflection that explains how using questioning strategies builds on prior instructional sessions, encourages student content.

  Lasa 1 promoting cognitive development unit 3 module 3 - m3

ltbrgtunit 3 module 3 - m3 assignment 2 ltbrgt ltbrgt ltbrgt ltbrgt ltbrgt ltbrgt ltbrgtdropbox

  How did the 14th amendment change the constitution

What is so important about the 14th Amendment. How did it fundamentally change the Constitution

  Humes dialogues concerning natural religion

I have to do an essay on Hume's Dialogues Concerning Natural Religion. I have answered all the other questions in the prompt but I am having trouble understanding why Philo reverses his position on the teleological argument in part XII and how it rel..

  Critically analyses preliminary design and detailed design

Critically analyse the system design process of a project using the theory and principles studied during the course. This assessment item relates to the course

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