Related Post

Spread the word

Digg this post

Bookmark to delicious

Stumble the post

Add to your technorati favourite

Subscribes to this post

25 Comments Already

mygif
ncmathsadist Said,
May 13th, 2010 @2:21 pm  

Remember, downcasting can leave you …… downcast.

mygif
Skwigle Said,
May 13th, 2010 @2:36 pm  

did just a guy barfed there? :D :D lmao

mygif
Rasmusorum Said,
May 13th, 2010 @3:03 pm  

is there a big difference between the pdf version of “the art and sience of java” book and the full original version? Will i be able to complete the course and understand all the details with the pdf preliminary draft of the book, or will i miss alot of detail if i don’t read the final example of the book?

mygif
mallithemadman Said,
May 13th, 2010 @3:14 pm  

The factorial program should have the i value as -1 in the for loop inside run() method. else the Println method isnt gona print 0!… am i goin nuts again???? :(

mygif
mallithemadman Said,
May 13th, 2010 @3:39 pm  

i was tricked by myself… the default notion… always start with x and x always equivalent to i … coz in xyz and ijk they hold the initial position… MY BAD… i take this comment back…

mygif
mallithemadman Said,
May 13th, 2010 @3:58 pm  

i’m a classroom training is best kinda person… Mehran changed my opinion… I can stick to my chair for more than 2 hours… man he is THE MASTER!!! Long live his lectures.. i spent 27 hours already on his lectures… Bravo Bravo!!!

mygif
mallithemadman Said,
May 13th, 2010 @4:13 pm  

i’m not done yet doing the checkerboard prog myself. I’m kinda leap without looking person…

alright!

Ideally X should be assigned the value of i in the for loop and Y should be assigned the value of j in the for loop, if we are printing Square boxes row wise but this program looks like we are printing it column wise… like x1y1 , x2y1, x3y1…. and then after the column completes. y goes for an increment which means the focus goes tothe second column… i’m fine with it otherwise.

mygif
hmk984 Said,
May 13th, 2010 @4:30 pm  

yes u people is right , the no of coment decreases as the programming is not as eaisy

previously when i do c i have some ambiguity about how Method created , this lecture sole my prolemmm….

mygif
funk021 Said,
May 13th, 2010 @5:11 pm  

n!!!!!!!!!

mygif
v12345vtm Said,
May 13th, 2010 @6:09 pm  

schaakbord

mygif
daniel1982 Said,
May 13th, 2010 @6:19 pm  

If it is constant that the amount of squares in a in a single square is always y*x, why don’t he use z instead of x and y? (just a little something).

Love this dude; he’s really good.

mygif
ysatria Said,
May 13th, 2010 @6:59 pm  

find the smallestInt and largestInt to compare with the next input value itself to know if it is smaller and bigger value using if and else logic. hope this can be a hint.

mygif
superjuice19 Said,
May 13th, 2010 @7:17 pm  

im having problems with the findrange problem, help please!!

mygif
SuperMasenka Said,
May 13th, 2010 @7:33 pm  

hey i took care of it,so what u need to do is download acm..and then import it in ur project…if u need details ill expalin it,its no biggy,trust me :-)

mygif
okochat Said,
May 13th, 2010 @8:21 pm  

i have the same problem too man….

mygif
SuperMasenka Said,
May 13th, 2010 @9:11 pm  

java i mean :-) lol

mygif
SuperMasenka Said,
May 13th, 2010 @9:16 pm  

hi does anyone know what is the best youtube literature after these mahani’s luctures,thanks

mygif
SuperMasenka Said,
May 13th, 2010 @10:15 pm  

oh hi..it took a while for someone to reply,yes i know about that,i did get that library and stuff but the thing is i was typing java.acm.graphics, not acm.graphics without that java infront…i hate stupid mistakes,but thank you anyway,

mygif
aakksshhaayy Said,
May 13th, 2010 @10:52 pm  

you have to get the acm library first, then import acm.graphics*; and import acm.program.*;

associate the library with your project first.

mygif
Myshcan Said,
May 13th, 2010 @11:00 pm  

/*
* File: CheckerboardKarel.java
* —————————-
*/

import acm.program.*;
import acm.graphics.*;

public class CheckerboardKarel extends GraphicsProgram {

private static final int NROWS = 8;
private static final int NCOLUMNS = 8;

mygif
Myshcan Said,
May 13th, 2010 @11:48 pm  

I finally got the checkerboard to print, albeit with an error warning. I noticed that the acm imports were in karel.jar. So I altered the checkerboardkarel so it was similar to checkerboard.java

mygif
SuperMasenka Said,
May 14th, 2010 @12:11 am  

coz this acm is not workin

mygif
SuperMasenka Said,
May 14th, 2010 @12:27 am  

hey i need help,i just saw this lecture and wanteed to run this program on my computer but the thing is that i am workin in eclipse so it always says that this GRect cannot be resolved to a type,so can u tell me which class should i import? i would be really grateful :-)

mygif
Myshcan Said,
May 14th, 2010 @12:30 am  

Trying to figure out how to run checkerboard.java in Stanford’s Eclipse. Apparently I am missing the part that says how to create projects and classes. Or, is the project already in Stanford’s version of Eclipse?

mygif
moeibrahim1 Said,
May 14th, 2010 @12:49 am  

It’s called “syntax highlighting”, and it’s a feature of the editor you use to write your programs, it has nothing to do with the language itself.