@ Julie Zelenski: It is obvious you are knowledgeable and intelligent, but when you dumb things down for beginners you should explain you are doing that to them. Made up stories about why fstreams take c strings make you look dumb. It is also frustrating to students when one day they are told things they assumed to be true actually were just simplifications of the truth(think of some bad instructors for middle/high school math). Hope rest of lectures get better.
Seems this course isn't for me. I can't get the course headers included. not with g++ -I /full/path/stanford_dir and not with g++ -include /full/path/to/simpio.h (and to genlib). I can't get it to compile even if I copy the headers and the private dir to the dir with my program. I still get undefined reference to `GetLine()' and such.
I'm using archlinux, g++ in a terminal and vim/emacs. How do I include these special libraries if I keep them in a folder of their own? symlinks? compiler options? Is is possible to do the assignments without the IDE-specific files? (like .vcproj .suo .sln .XML) I'm not going to "right-click on a file".
Haha, I just asked for support in a youtube comment!
I wish the camera man would loose interest in her and keep the damn camera on the screen, we do not need to see her awesome hand movements and physique
@MrStanly09 Download the Xcode library from the site and install it. You will find Standford project when you attempt to create new project. If you get a compile error saying cannot find the SDK, right click on the project file from the Groups & Files explorer(or click info button from the toolbar), Get info -> Build tab -> change Base SDK to "Current Mac OS"
Wait, maybe I'm missing something but only a third of the class has even installed the compiler by the 4th lecture? Wouldn't you want to be done that by the 2nd lecture?
But I don't understand why they have implemented the "Vector".
In C++ there's a standard library called deque which does basically the same thing but with more functionality....And it is a standard, AND it is probably safer ;)
I believe that the professor's answer to the question at 14:52 is incorrect. As you can and will do things like while (getline(...)) {...} which checks the error code from the function return and not from the stream fail() call.
@Thetranslatorguy yes i agree , Mehran Sahami is far better , i hope he hold the course some day
shayan915 1 month ago
This has been flagged as spam show
Mehran Sahami is far better than her ,
Stanford should give the course to him.
shayan915 1 month ago
what IDE is she using in her lectures?
martmelee 1 month ago
@martmelee: Xcode 3
shayan915 1 month ago
This has been flagged as spam show
Very fast-paced lecture. Although it is a bit in speed, every information that she blurts is vital.
grunder20 2 months ago
can anyone fucking help me with warezing C++ Primer by Lippman, plz send me a private message
codeXmith2010 2 months ago
what standard libraries i should include instead of genlib.h or simpio.h
codeXmith2010 2 months ago
@ Julie Zelenski: It is obvious you are knowledgeable and intelligent, but when you dumb things down for beginners you should explain you are doing that to them. Made up stories about why fstreams take c strings make you look dumb. It is also frustrating to students when one day they are told things they assumed to be true actually were just simplifications of the truth(think of some bad instructors for middle/high school math). Hope rest of lectures get better.
joinedfor1comment 2 months ago
nice lecture!
adelle0001 3 months ago
This has been flagged as spam show
Great program! No errors!
grunder20 3 months ago
Very good lecture. The prof is really very knowledgeable.
agapitoflores001 3 months ago
Not a good example... by convention, Class() es are starting with an uppercase letter, and function() s with a lower case letter.
SaschaHeylik 5 months ago in playlist Course | Programming Abstractions
Seems this course isn't for me. I can't get the course headers included. not with g++ -I /full/path/stanford_dir and not with g++ -include /full/path/to/simpio.h (and to genlib). I can't get it to compile even if I copy the headers and the private dir to the dir with my program. I still get undefined reference to `GetLine()' and such.
dashiellv 7 months ago
I'm using archlinux, g++ in a terminal and vim/emacs. How do I include these special libraries if I keep them in a folder of their own? symlinks? compiler options? Is is possible to do the assignments without the IDE-specific files? (like .vcproj .suo .sln .XML) I'm not going to "right-click on a file".
Haha, I just asked for support in a youtube comment!
dashiellv 8 months ago
I think I love her
MegaCrazyJB 1 year ago
I wish the camera man would loose interest in her and keep the damn camera on the screen, we do not need to see her awesome hand movements and physique
gatraw 1 year ago 4
can anyone tell me how to add 106B library in xcode????
MrStanly09 1 year ago
@MrStanly09 Download and import it .
selfdealloc 1 year ago
@MrStanly09 Download the Xcode library from the site and install it. You will find Standford project when you attempt to create new project. If you get a compile error saying cannot find the SDK, right click on the project file from the Groups & Files explorer(or click info button from the toolbar), Get info -> Build tab -> change Base SDK to "Current Mac OS"
eungomi 10 months ago
I find her super savvy and super attractive, god bless her, we need this chick around in u_tube to teach us stupid dude so we can learn something....
omahdezavalos 1 year ago
Wait, maybe I'm missing something but only a third of the class has even installed the compiler by the 4th lecture? Wouldn't you want to be done that by the 2nd lecture?
Alimistar 1 year ago
@Alimistar The first few lectures are just a review of C++, technically you don't need your compiler until the assignment is due...
BestTypoEver 1 year ago
@BestTypoEver Ah ok, that makes sense. Thanks
Alimistar 1 year ago
after MEHRAN SAHAMI, now there is again good teacher from Standford@@
muhamedkhan 2 years ago 10
thanks standford
hmk9221 2 years ago
nice pace and teaacher
mylastnameiskhan 2 years ago
How come she doesn't need to use "using namespace std;" for the iostream at 17:00?
stm666 2 years ago
@stm666 if you open genlib.h it is written there on line 26
tibnor88 2 years ago 3
Because it pollutes the namespace when you start adding everything when you only need a few things.
FrankRizzo6662 2 years ago
Good one...
But I don't understand why they have implemented the "Vector".
In C++ there's a standard library called deque which does basically the same thing but with more functionality....And it is a standard, AND it is probably safer ;)
YeahyeahIndeed 2 years ago
In my opinion:
to learn how vectors are writen.
why deque - to reveal details of deque.
aisbaa 2 years ago
I believe that the professor's answer to the question at 14:52 is incorrect. As you can and will do things like while (getline(...)) {...} which checks the error code from the function return and not from the stream fail() call.
d1sfunct 2 years ago 2
screw you guys, i love her fast pace.
Pontifican 2 years ago 39
@Pontifican call
selfdealloc 1 year ago
Does anybody know if Mehran Sahami has got any other lectures on youtube apart from CS106A? Thanks in advance!
arran5498 2 years ago
does anybody know that there's a *search* bar in upper right corner of this window??
dupreee27 2 years ago 3
I dont think so. I really wanted to see his Discrete Maths videos. But apart from 106a, I dont think any other lectures are available publicly.
mailbvk 2 years ago
i think she gonna take a xanax so she will talk slower
heavsar 2 years ago
Good
Lolluthegreat 3 years ago
This has been flagged as spam show
she makes it sound more difficult than it is.
She should explain it in simpler terms.
ex: Just say integer is a whole number
MASSIVE100 3 years ago
The students in this class are just getting used to the C++ specifics, they have programming experience in Java. And your example was just bad.
drb021 2 years ago
This has been flagged as spam show
I want to marry her seriously.
and after marry her I can learn C++ from her
freeboyerror 3 years ago
After you learn C++ and make a multimillion Dollar program then you can divorce.
eddiekoski 2 years ago