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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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