Coder Social home page Coder Social logo

program-problem-1-lhage's Introduction

Display_Text

Program Problem 1

cool

Program Problem 1: Display Text

Create a New Project to display your Full Name, your period stored as a variable, and “Hello World”, without the quotations. You will make sure that it prints to the console in a readable format, and pauses before the console exits so the user can actually read what is displayed.

Below is a template to start your program:

/*

Your Name - Date Period

Assignment Name : *

Brief Description of the Assignment

*/

// Libraries

#include // gives access to cin, cout, endl, <<, >>, boolalpha, noboolalpha

#include <conio.h> // gives access to _kbhit() and _getch() for pause()

// Namespaces

using namespace std; //*

// Functions()

void pause() {

cout << "Press any key to continue . . .";

while (!_kbhit());

_getch();

cout << '\n';	

}

// MAIN

void main() {

// Define and Assign your variable(s)

// Display Text

pause(); // pauses to see the displayed text

}

How to Start a New Project : Open Visual Studios 2015 (Not Blend) Click File and Navigate to New > Project, select that or Press Ctrl+Shift+N Navigate through Templates to Visual C++, choose General from the drop downs or until you can see “Empty Project” from that selection. Change the Name to the Project Name. Make sure the location is not saving to your H Drive. Once you finish the setup, right click in the Solution Explorer’s file Source File. ** If no Solution Explorer exists, click on View in the ToolBar and select Solution Explorer you can also press Ctrl+Alt+L. After right clicking in the Solution Explorer, on the Source Files Folder, select Add >New Item or press Ctrl+Shift+A and select the C++ File (*.cpp) and follow the specified Naming Convention. FName_LName_AssignmentName.cpp Remember while coding to save often Ctrl+S saves the single file your working on, Ctrl+Shift+S saves all files in the open project. Remember that when you Debug or Compile sometimes you are unable to go back and undo previous edits. Make sure you keep up with your changes.

program-problem-1-lhage's People

Contributors

allencompsci avatar lhage avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.