sprockets TV Commercial by Matt Campbell Greeting of Christmas Past by Gerry Mooney and Holmes Bryant! Learn to keyframe animate chains of bones. Gerald's 2024 Advent Calendar! The Snowman is coming! Realistic head model by Dan Skelton Vintage character and mo-cap animation by Joe Williamsen
sprockets
Recent Posts | Unread Content
Jump to content
Hash, Inc. - Animation:Master

Recommended Posts

  • Hash Fellow
Posted

Lesson 10: Integer Types

Integers are whole numbers and the computer can store their exact values... within certain ranges.

John Purcell shows how to use the <limits> constants to find the min and max allowed values of different types of ints, and how to use "sizeof"  to see much RAM they take.

Assignment: There are at least 10 distinct types of integers in C++

Pick at least four types. In your program, declare an instance of each type, assign it a value, output the values.

Conclude the program with a display of the minimum value, maximum value, and "size" for each of your four types type.

Label your output!

 

Lesson 11: Floating Point

Floating point numbers can represent numbers with fractional decimal portions.

Assignment:

Declare at least two types of floating point variable and prompt the user to input values for them.

Use the tools of <iomanip> to display the values in several formats and their "sizeof" values.

Label your output!

 

Lesson 12: Chars and Bools?

TBD

 

  • Admin
Posted

I knew there had to be an option to keep from having to specifically activate what project runs when debugging in a solution, and there is...

Right Click on the solution and open Properties.

There you should see an option to run the selected project versus the default 'Single Startup project' that gets updated each time we select and set a specific project as the startup project.

Change that option (radio button) to 'Current selection' and whatever project is selected in the Solution Explorer at the time of running debug (or release) should run.

 

image.png

  • Like 1
  • robcat2075 changed the title to C++ 2023 Week 5

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...