Jump to content
Hash, Inc. - Animation:Master

C++ 2023 Week 6


robcat2075

Recommended Posts

  • Hash Fellow

Lesson 12 Bools and Chars

This completes our set of classic Data types everyone should know.

Idea for project:

Declare a couple of Boolean variables. Set one equal to true and the other equal to false. Print out the values of both. Label your output.

Declare a char variable and set it equal to a value. Print out both its character value and its integer value. Label your output.

Declare a second char variable and prompt the user to give a value for it. Print out both versions of the char value. Label your output.

 

Lesson 13 If

"If" is our first "decision structure." We can start getting the computer to make choices.

Idea for project:

Prompt the user to guess something that is one of a set (e.g. month of the year) and use only "if" statements to tell him if he is correct, close to, or wrong with his guess.

 

  • Like 1
Link to comment
Share on other sites

  • Admin
1 hour ago, robcat2075 said:

@Rodney on the popup "DataTips"... are you sure you're in full Visual Studio and not "Visual Studio Code" (as Roger had been a couple weeks ago and not getting popups)?

Visual Studio Code is an entirely different program (also from Microsoft)... so not quite sure what you are referring to here.

 

BUT... Good news.  Restarting Visual Studio appears to have resolved the problem!

  • Like 1
Link to comment
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...