Added: 3 years ago
From: StanfordUniversity
Views: 75,858
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (90)

Sign In or Sign Up now to post a comment!
  • I think using these custom libraries is not a good idea for beginners. Best to stick with standard at first.

  • I'll stick with COBOL.

  • bad programming practice! she forgot to compile it and check for errors! the line under "const int NumScores = 4;" should be

    "double GetScoresAndAverage(int NumScores);"

  • @XzGameTimezX Wrong. The function parameter variable name does NOT need to be given the same name as the variable that is being passed in to it. It could be "int placeholder" for all it matters, since it is a duplication of the original variable. The only thing that matters is that her declaration of "cont int NumScores" matches her reference to it when she passes it in to the function, which it does.

  • @XzGameTimezX I think she wrote it directly to the presentation. She did say she might confuse syntaxes. In Java the first letter in a variable/method is often lowercase.

  • @ShadowSky24 WAIT A SECOND, how stupid I am. No dude, she is right. It's a method prototype and takes an int, it's not using the function. Geez, I am embarassed xD

    I guess you know now (since it's been two months) why the code is right.

  • hi i'm geek about database can i found database course in stanford universality :)

  • Very useful lecture, can anybody help me about following:

    Xcode 4 gives following error how can i solve:

    The run destination My Mac 64-bit is not valid for Running the scheme 'assn-0-narcissism'.

    The scheme 'assn-0-narcissism' contains no buildables that can be built for the SDKs supported by the run destination My Mac 64-bit. Make sure your targets all specify SDKs that are supported by this version of Xcode.

  • Why does it seem like I'm the only one who thinks she doesn't speak fast? Most Americans I know speak that fast, perhaps it's mostly non-Americans watching these? Also I almost raged when I realized she's using a fucking mac.

  • Comment removed

  • turbo c++ does not accept "Get Integer" any insights

  • @AGYETECH Oh god! Is people still using Turbo C++?! That's madness, madness I say!! 8D

    By the way, you can use Dev-C++, it's free, for Windows, easy to use and not that archaic. =D

  • @alfaalfa99 i think dev C++ is archaic compared to code blocks :D

  • @brashodan Visual Studio is best for hard-core programmers (Code::Blocks prolly 2nd, imo). Geany is by far the best for students/newbies. For Windows, that is.

  • @alfaalfa99 Try Geany. Fastest way to create small C++ programs.Like Dev (or the new/improved ver, wxDev-C++), u dont need a darn project to make a small prog. Its better, tho

  • I like it!

  • at 28:40 why does she cast Sum to a double at the end of the function rather than just making sum a double?

    Any insights?

  • SHIT GIRL PRO PROGRAMMER!

  • her breathing disturbs me.. but great lecture overall

  • why doesn't she use the standard C++ library for the classes?

  • It's the last weekend in which you will not be my Slave..... That's Funny !!...

  • Yes! candies are back again :)

  • The asymmetry of her sweater drives me insane.

  • take these classes online and don't get a degree :D this is for making games

  • look at that OS, its evil i tell u :)

  • very intelligent women.

  • she forgot to use : using namespace std, if you forget this you have to type std::cout and std::endl

  • @NorthEastAlbo it's probably included in the other headers...

  • @NorthEastAlbo that depends if she did or didnt do it in the other head files.

  • @NorthEastAlbo I assume "using namespace std;" is contained in "genio.h"? If that's the case, why not just include iostream in there as well? Seems strange to me. Oh well.

  • it is awesome

  • can anyone tell me how to add 106B library in xcode????

  • @MrStanly09

    Check the course materials, there is a instruction pdf. For some reason you have to manually adjust the Project Format to 'compatible' and set the SDK for all configurations under 'Project'->Edit Project Settings

  • mis Julie Zelenski you are the best

  • Please talk a LIITTTLE bit slower :(

  • the libraries and code can be found at

    stanford.edu/class/cs106b/inde­x.html

    and

    see.stanford.edu/see/courseinf­o.aspx?coll=11f4f422-5670-4b4c­-88

  • you are really needful to many!

    for me its true

    thanks a lot!

  • do all stanford lecturers have the candy policy ? lol

  • she compared C++ to a "crack-mom" :) I'm hooked! bring on the next instalment.

  • Just started coding? Cpp, Java, OOP PHP or anything OOP; Check out Doxygen! Best effin tool ever. Makes it fun to documentate your shit.

  • What editor is she using?

  • XCode for Macs I believe.

  • @WOWNumansi She is using Xcode for Mac OS

  • download it for little bit better quality.

  • can anyone read what she is typing? I can not read any one of these because it is blurry,,any suggestions?

  • Very nice intro to c++

  • Ms Julie Zelenski please come to india to my institute..

    you are d best in d branch i have ever seen....

    good luck and happy coding

  • I really love this but her breathing in the mic is annoying after awhile... otherwise great

  • @chjustin69 my thoughts exactly lol

  • excellent work!

  • really impressed

  • thanks standford

  • I dont understand why she left out that you are to be using the standard namespace. My c++ wont compile programs that use the commands which arent specified i guess.. Because I have to include that im using the standard namespace or it wont recognicte the output or "cout" function.

  • Programming Abstractions in C.>> standford come on 1

  • The display works perfectly on my own programs, just not on the Stanford ones using their project files from the website. Can anyone help, because this is a great course and I'd love to be able to follow it through to the end. (Been trying on and off for months now :( )

  • Is anyone else having the same problem as me or does anyone have a solution? I have tried countless times to run these programs along with the ones from the assignments on the website, and while they compile and run, nothing appears on the screen. It's as if it's typing in white on a white screen :) I've played with every possible setting but can't work out what is causing the problem.

  • I think i have an explanation and if you dont liek mine you can go and keep looking.

    Basically when the program finishes .. the compiler doesnt actually know that a human wants to look at it. So you have to give in the program a command which calls for the part that you can see to remain that way before finishing complete execution.

    some people add a system("PAUSE")

    and some compilers dont need that because they are made to automatically do that.

  • Hiya TopSideUp, thanks a lot for the reply. However, that is not the problem. I am already inserting a system("PAUSE") as you say, to stop the window disappearing. However the problem is, the text which is supposed to appear just doesn't. It looks like the program is working, because the cursor moves position and it accepts input, but like i say it is like it is printing white text on a white background. Both output and input are invisible! Thanks a lot for your ideas. Take care.

  • what compiler is she using ? Is that compiler available for windows too ?

  • @lornpropitiation she said microsoft visual studio

  • Go figure what?

  • Well, I know of one moron. But he can't even spell bologna correctly, so it's hard to read his opinion without laughing hysterically at his foolishness.

  • @Jeximo and w hat do u do with ur life?

  • i just read in the newspaper that MIT and Stanford are uploading full lectures to youtube's education site and i am amazed by this on!

    she is awesome isn't she? i like it when it's explicit.

  • Kudos to both those two Uni's to be honest. What's holding other Universities back I wonder?

  • could somebody tell me where i have to start what is first and what second i have abstractions, paradigms, methodology,

  • I've looked at Paradigms for a bit (107?), then I went to Methodology and that's where I started first.

    Methodology (106A) teaches you about programming itself, the basics and stuff starting with JAVA. Abstractions (106B - this one) comes after that, it teaches some C++ and more advanced concepts, etc. Then I suppose you can go to Paradigms (107?) and continue from there - it probably discusses more languages there like Python, etc.

    Seems logical: 106A, 106B, 107 :P

  • methodology, abstractions,paradigms.

  • Question about casting. Is casting in C++ different than casting in C? because usually when you cast you should put paretheses around type, in this case

    (double) sum / numScores;

    rather than

    double (sum ) / numScores;

  • you don't need parantheses.

  • I am watching every single one of these lectures a day. I hope to learn more from this than I did from the teacher I took a C Programming class this summer which ended 2 weeks ago. My big problem is taking information I understand on an intellectual level and actually applying it.

  • I must say that these lectures are one of the greatest series of videos I've discovered online. Awesome.

  • @elpresidio

    how's the coding coming along? :)

  • I love her style of tackling a program - in int main() making sure each part works before developing the function. ^^ I'm going to start using that method.

  • Imagine how annoying this would be if we couldn't watch in HQ.

    Anyway very good way to learn programming.

  • thanks for this great work

    Bravo

  • damn i wish i had this kind of professors ours were full of shit but nothing.

  • yeah she really is good. i tried watching the 106A lecture with Jerry Cain, and it wasn't that helpful. this is the better C++ lecture.

  • Well, Jerry Cain teaches 107 which also focusses on Assembler, etc.

    His explanations on pointers and how they worked helped me a lot!

    I've "attended" (:D) the first 14 lectures of CS107 in the last few days, and found it very useful. I'll now check out the the CS106B ones and afterwards 106A.

  • Ah that's an excellent point which makes sense on how he's going about explaining the relation between code and architecture - which i know is invaluable and overall great in what he's teaching of course, but I think for pure C++ and OOP standpoint I'll stick with Julies tutorials.

  • Probably, considering I already have a bit of c/c++ knowledge I found Jerry Cains very interesting though I didn't watch all of the lectures because some of the later topics that don't focus on c++ were uninteresting to me.

    I've started CS106B a few days ago and reached Lecture 12 now. Recursion is very well explained and the examples are quite leet too! However she talks DAMN fast which forces me as a poor and non-native english speaker to really concentrate on following :-)

  • Actually, you won't be able to appreciate Jerry Cain's lectures if you don't go through the Programming Methodology and Abstractions first. Cain's class is more complicated as it tackles multiple programming languages. But don't worry, you'll learn to love these videos sooner or later.

  • Wonderful, great teacher!

  • love these lectures

  • very interesting~

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more