Connecting...

This is a quick preview of the lesson. For full access, please Log In or Sign up.
For more information, please see full course syllabus of Introduction to C++
For more information, please see full course syllabus of Introduction to C++
Introduction to C++ C++ Standard Library
Lecture Description
In this lesson, our instructor Alvin Sylvain gives an introduction to C++ standard library. He starts by discussing system time, human-readable time, and local and GMT time. He then moves on to time structure and formatting time. He also goes into math library and function from ctype and cstrings.
Bookmark & Share
Embed
Share this knowledge with your friends!
Copy & Paste this embed code into your website’s HTML
Please ensure that your website editor is in text mode when you paste the code.(In Wordpress, the mode button is on the top right corner.)
×
Since this lesson is not free, only the preview will appear on your website.
- - Allow users to view the embedded video in full-size.
Next Lecture
Previous Lecture
0 answers
Post by Kitt Parker on December 25, 2014
I'm a little confused by the output of the Human readable time slide. Its a char pointer that does not need to be de-referenced and seems to contain a string which may possibly be an array of chars. Any extra information on this? thanks for any extra help.
1 answer
Wed Oct 29, 2014 9:58 PM
Post by Ram Manohar Oruganti on October 29, 2014
if(isdigit('3'))
cout<<"Yes, that's a digit"<<endl;
else
cout<<"Nope"<<endl;
o/p:Yes, that's a digit
if(isdigit(3))
cout<<"Yes, that's a digit"<<endl;
else
cout<<"Nope"<<endl;
o/p:Nope
So, does isdigit need a character input? The slides say it takes an integer value. I would be glad if you could clear up my confusion.