@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.
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.
@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
@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.
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
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.
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.
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.
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.
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
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 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.
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.
This comment has received too many negative votesshow
There's no need to talk that fast if you're gonna be short of breath after 5 minutes and making little pauses here and there so that we hear panting for almost the whole class! It distracts and stresses the audience!
I think using these custom libraries is not a good idea for beginners. Best to stick with standard at first.
ryanakron 2 months ago in playlist c++ stanford 5
I'll stick with COBOL.
jvolstad 2 months ago
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 2 months ago
@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.
George19881988 3 weeks ago
@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 3 weeks ago in playlist Course | Programming Abstractions
@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.
ShadowSky24 3 weeks ago in playlist Course | Programming Abstractions
hi i'm geek about database can i found database course in stanford universality :)
MsSaeed28 3 months ago
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.
serkanqw 4 months ago in playlist Course | Programming Abstractions
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.
AIDSMcGuff 6 months ago
Comment removed
AIDSMcGuff 6 months ago
turbo c++ does not accept "Get Integer" any insights
AGYETECH 6 months ago
@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 2 months ago in playlist Course | Programming Abstractions
@alfaalfa99 i think dev C++ is archaic compared to code blocks :D
brashodan 1 month ago in playlist programming abstractions
@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.
intuit13 1 month ago in playlist Course | Programming Abstractions
@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
intuit13 1 month ago in playlist Course | Programming Abstractions
I like it!
VAPOQueen 6 months ago
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?
DrSeaking 6 months ago
SHIT GIRL PRO PROGRAMMER!
redpois0n 7 months ago
her breathing disturbs me.. but great lecture overall
CyanideV 7 months ago
why doesn't she use the standard C++ library for the classes?
cranil 7 months ago in playlist Course | Programming Abstractions
It's the last weekend in which you will not be my Slave..... That's Funny !!...
kalpsen 8 months ago
Yes! candies are back again :)
eungomi 9 months ago
The asymmetry of her sweater drives me insane.
cyrilallen 9 months ago 3
take these classes online and don't get a degree :D this is for making games
digimonworld123 10 months ago
look at that OS, its evil i tell u :)
SilveradoNL 10 months ago 2
very intelligent women.
trickyexploits 11 months ago 2
she forgot to use : using namespace std, if you forget this you have to type std::cout and std::endl
NorthEastAlbo 11 months ago 13
@NorthEastAlbo it's probably included in the other headers...
cranil 7 months ago in playlist Course | Programming Abstractions
@NorthEastAlbo that depends if she did or didnt do it in the other head files.
Deeharok 3 months ago in playlist Course | Programming Abstractions
@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.
intuit13 1 month ago in playlist Course | Programming Abstractions
it is awesome
sssandeep619 1 year ago
can anyone tell me how to add 106B library in xcode????
MrStanly09 1 year ago
@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
redaccent1 1 year ago
mis Julie Zelenski you are the best
marko15977 1 year ago
Please talk a LIITTTLE bit slower :(
qsdfqsdfqsdfq 1 year ago
the libraries and code can be found at
stanford.edu/class/cs106b/index.html
and
see.stanford.edu/see/courseinfo.aspx?coll=11f4f422-5670-4b4c-88
IronChefWannabe 1 year ago 6
you are really needful to many!
for me its true
thanks a lot!
chanvts 1 year ago
do all stanford lecturers have the candy policy ? lol
qqrandomizeqq 1 year ago
she compared C++ to a "crack-mom" :) I'm hooked! bring on the next instalment.
zeffii 1 year ago 3
Just started coding? Cpp, Java, OOP PHP or anything OOP; Check out Doxygen! Best effin tool ever. Makes it fun to documentate your shit.
daniel1982 1 year ago
What editor is she using?
WOWNumansi 1 year ago
XCode for Macs I believe.
SoNDgs 1 year ago
@WOWNumansi She is using Xcode for Mac OS
Rocafort8 1 year ago
download it for little bit better quality.
piyush115 1 year ago
can anyone read what she is typing? I can not read any one of these because it is blurry,,any suggestions?
minamotokahn 1 year ago
Very nice intro to c++
jaeshim1 1 year ago
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
jgenius07 2 years ago
I really love this but her breathing in the mic is annoying after awhile... otherwise great
chjustin69 2 years ago
@chjustin69 my thoughts exactly lol
marcusklaas 1 year ago
excellent work!
1888junkteam 2 years ago
really impressed
muhamedkhan 2 years ago
thanks standford
hmk9221 2 years ago
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.
TopSideUp 2 years ago
Programming Abstractions in C.>> standford come on 1
mylastnameiskhan 2 years ago
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 :( )
cyclerunner 2 years ago
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.
cyclerunner 2 years ago
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.
TopSideUp 2 years ago
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.
cyclerunner 2 years ago
what compiler is she using ? Is that compiler available for windows too ?
lornpropitiation 2 years ago
@lornpropitiation she said microsoft visual studio
Withless92 2 years ago
This comment has received too many negative votes show
Haha, the lecturer is giving out candy to students asking stupid and simple questions. Go figure.
iSeiyaku 2 years ago
Go figure what?
ElPeejerino 2 years ago
This has been flagged as spam show
ROFL Who the hell watches this bologney
Legit92nick 2 years ago
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 2 years ago 4
@Jeximo and w hat do u do with ur life?
Legit92nick 2 years ago
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.
propercoil3 2 years ago
Kudos to both those two Uni's to be honest. What's holding other Universities back I wonder?
ElPeejerino 2 years ago
could somebody tell me where i have to start what is first and what second i have abstractions, paradigms, methodology,
tmoris99 2 years ago
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
ice3715 2 years ago
methodology, abstractions,paradigms.
superjuice19 2 years ago
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;
elpresidio 2 years ago
you don't need parantheses.
aznkidd07 2 years ago
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.
elpresidio 2 years ago
I must say that these lectures are one of the greatest series of videos I've discovered online. Awesome.
elpresidio 2 years ago
@elpresidio
how's the coding coming along? :)
keithgarry 1 year ago
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.
edgar241 2 years ago
Imagine how annoying this would be if we couldn't watch in HQ.
Anyway very good way to learn programming.
kikkomania 2 years ago
thanks for this great work
Bravo
barchil 2 years ago
damn i wish i had this kind of professors ours were full of shit but nothing.
heavsar 2 years ago 2
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.
bcut 3 years ago
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.
w3sp 3 years ago 4
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.
bcut 3 years ago
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 :-)
w3sp 3 years ago
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.
interxavierxxx 2 years ago 3
Wonderful, great teacher!
ellenbrock 3 years ago 2
This comment has received too many negative votes show
There's no need to talk that fast if you're gonna be short of breath after 5 minutes and making little pauses here and there so that we hear panting for almost the whole class! It distracts and stresses the audience!
Maratonda 3 years ago
love these lectures
makaze34 3 years ago 28
very interesting~
eezgb 3 years ago 15