Underline the word underline where it appears in this sentence 3 underline Move

Underline the word underline where it appears in this

This preview shows page 6 - 11 out of 12 pages.

Underline the word underline where it appears in this sentence (3 × underline).Move this paragraph (Alt+Shift+Up) to appear just below TopMove these three paragraphs so they are in order:3. Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.2. Real Programmers don't write specs -- users should consider themselves lucky to get any programs at all, and take what they get.1. Real Programmers use C because it's the easiest language to spell.BottomAfter completing the following Visual Studio activity which adds a new line of code with IntelliSense, Copy your new helloWorld.c source code (Ctrl+A, Ctrl+C) and paste (Ctrl-V)at the very end (Ctrl+End) of your activity answer document. (40 points)6 of 12
Background image
Computer Principles for Programmers – Keyboard Shortcuts – W2Visual StudioReference: -keyboard-shortcuts-in-visual-studio-- Microsoft’s documentation on Default Keyboard Shortcuts in Visual Studio is also available from the Help menu (Alt+H K).Start Visual Studio.Open a project such as last week’s containing helloWorld.c(You did back it up to USB drive and your Office 365 OneDrive, didn’tyou? If not, recreate from the CPR101_Week1_VS 2017 demo.docx)7 of 12
Background image
Computer Principles for Programmers – Keyboard Shortcuts – W2Customize Visual StudioIPC144 uses this style of bracesint main(void){ Instead of this int main(void){ Override the default VS option to control this…Alt+ Tfor the Tools menu. Ofor OptionsText Editor/ C/C++/ Formatting/ New Lines/ Position of open braces for functions –> select Move to a new line8 of 12
Background image
Computer Principles for Programmers – Keyboard Shortcuts – W2Alt+ Tfor the Tools menu.Ofor Optionsp.s. If you set up the editor to be 8 pt purple text on a black background, it may look cool but don’t ask anyone over the age of 25 to look at your code. Consolas Font in size 14 is a good choice.Position the cursor anywhere inside the helloWorld.c editing window.Press Ctrl+APress Delete Oops. Always be careful about selecting all text before doing something.Press Ctrl+Z ( UNDO -- the key sequence we are all thankful for)IntelliSense and code completion:Add a new line of code using code completion features. Each below is a step to build a single line of code./* Hello World program */#include<stdio.h>// Standard Input/Output headerintmain(void) {printf("Hello World, ");printf("This is me.\n");position cursor at end of this line, press Enterto start a new linekey “pr”, IntelliSense code completion dialog opens, press TAB“printf” appearsprintfkey a (left parenthesis. Then key a “double quote9 of 12
Background image
Computer Principles for Programmers – Keyboard Shortcuts – W2printf("more console output");resulting print command with textreturn 0;}Copy your new helloWorld.c source code to the end of your activity answers document. Please submit this activity through Blackboard. Backup your entire Visual Studio project folder to a USB drive or zip it into an archive and save the zip file in OneDrive or the Blackboard Content System. E.g.
Background image
Image of page 11

You've reached the end of your free preview.

Want to read all 12 pages?

  • Fall '16
  • Windows Vista, Control key, Computer keys, CTRL-V

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes