Lecture 3 | Programming Abstractions (Stanford)
July 12th, 2010 by CGI & PHP.com
Lecture 3 by Julie Zelenski for the Programming Abstractions Course (CS106B) in the Stanford Computer Science Department. Julie goes over C++ libraries and explains what they are and how they are useful. She continues to introduce C++ basics, including strings, various operators on strings and comparing two strings and takes special note that C++ is an 'industrial language' and does not guarantee anything and that the programmer has to be more attentive to finding his/her own bugs. Complete Playlist for the Course: www.youtube.com CS 106B Course Website: cs106b.stanford.edu Stanford Center for Professional Development scpd.stanford.edu Stanford University: www.stanford.edu Stanford University Channel on YouTube: www.youtube.com
Popularity: 33% [?]

Lecture 1 | Programming Abstractions (Stanford)
Lecture 11 | Programming Abstractions (Stanford)
Lecture 2 | Programming Methodology (Stanford)
Lecture 1 | Programming Methodology (Stanford)
Lecture 28 | Programming Methodology (Stanford)
Lecture 3 | Programming Methodology (Stanford)





July 12th, 2010 at 7:57 am
Pretty , quite and smart this teacher
July 12th, 2010 at 8:26 am
If you don't already know, you can get the header files on the class website without logging in – stanford.edu/class/cs106b/ – They are in the blank project files.
July 12th, 2010 at 8:36 am
&fmt=18
July 12th, 2010 at 9:15 am
@Pontifican
the very last video for CS106B talks about the standard library. They use their own version because like they mentioned in the first video, this is NOT a C++ course. It is not about the language at all. They made their own library to make it easier to teach the course without having to get into detail of the syntax of C++
July 12th, 2010 at 9:34 am
I could really do with the header files, it's throwing me off completely without them.
July 12th, 2010 at 10:27 am
"she doesn't comfortable teaching" You are obviously much smarter.
July 12th, 2010 at 10:41 am
she doesn't comfortable teaching, her eyes dip down the carpet when tries to make eye contact with the class. Public Speaking techniques are very important.
July 12th, 2010 at 10:52 am
Do you know where I can get the .h files that they are using ?
July 12th, 2010 at 10:57 am
@BeserkRodent yo dawg dat was sum wack shit right thur
July 12th, 2010 at 11:46 am
This shiz is nuts YO! time to go make some homemade moonshine YEEEEHAAAWW PAAA!
In all seriousness, i stumbled upon this and i have no idea wtf is going on… -__-
July 12th, 2010 at 11:52 am
People dont do things like using namespace std because it pollutes your namespace. But I guess you don't understand that yet. And BTW, it's size_t not size_type.
July 12th, 2010 at 12:01 pm
Um, its STANFORD, there is no D
July 12th, 2010 at 12:36 pm
what a pace hmm.
July 12th, 2010 at 1:32 pm
thanks standford
July 12th, 2010 at 2:19 pm
i have a problem using cs106 library simpio.h, i am using the platform vc++ and in a program i include the mentioned header file to get integer but could not get it ,, even cope and paste eric robort code and could not run , PLEASE TELL ME IF I HAD TO PASTE HEADER FILE IN ThE PROJECT FOLDER OR ANY OTHER LOACTioN TO MAKE THAT WORK!!! i appreciate if plz reply by email at
hammad(dot)khan(dot)sg(at)gmail(dot)com
July 12th, 2010 at 2:49 pm
Lecture is great until it gets to the "free-form" style of ad-hock examples which seem convoluted and disorganized. Easy to miss the points trying to be made. I like the class, and I am grateful it is here but certainly prefer something a bit more structured, maybe it is why I didn't get into Stanford. I would also like to say thanks for making the courses available online. In honor of CS106A I will say "CS106A Rocks! and CS106B… Not so Much"
July 12th, 2010 at 3:04 pm
@teledynepost – You dont know anything about women.
Also, you're blatantly not 71. 7 maybe…
July 12th, 2010 at 3:44 pm
I can understand in not going in to the STL and namespace but just meantioning them wouldn't destroy the class, as stated in the B course, students should have som basic programming background? but some of the stuff she says the language is "ok with and compiles" seems to be the fact that her compiler doesn't care more than the language?
My compiler screams like crazy if I use a function with a return but doesn't add a return to that function and won't build it (like hers does in lecture 2?)
July 12th, 2010 at 4:00 pm
Handout 10 for June, 2009 version of CS106B says: In principle, we could just learn the STL classes, but they can be cumbersome and difficult to use for someone programming in C++ for the very first time (however, we will be talking about the STL classes in CS106L if you're interested in learning them.) Instead, we're going with some simpler versions of the very same ideas. This way we can emphasize concept instead of syntax.
July 12th, 2010 at 4:47 pm
Yea i dont get why when all of the students already have had java classes why they would hide the std headers from them like this. Doesent make sense.
July 12th, 2010 at 5:17 pm
I think the reason for not using the stl is because later in the course she's going to focus on how the libraries are implemented, and thats going to be much easier to demonstrate with their simplified versions.
I cant imagine anyone going through this course, doing all the assignments, and not being able to switch over to using the stl!
July 12th, 2010 at 6:11 pm
They should use standardized libraries. ;/
July 12th, 2010 at 6:16 pm
women don't know anything about programming
July 12th, 2010 at 6:24 pm
I don't understand why they teach their own custom functions from the CIS106 library. why not teach standard functions commonly used like rand(); and srand():. What good is information on their custom library opposed to the standard library functions which perform the same tasks and are widely used and recognized.
July 12th, 2010 at 6:34 pm
Jealous mutch?