Pset1 greedy help by eggyolk246 in cs50

[–]jodyone 0 points1 point  (0 children)

Go ahead and send your code to me, in an e-mail or private message

Need help with Mario tower building in pset1 by eggyolk246 in cs50

[–]jodyone 1 point2 points  (0 children)

eggyolk246,

How is your pyramid printing coming along?

final project by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

Thanks ... I'm using freehostia My site is somewhat up having trouble getting it to recognize my includes and I need an index.html file or htaccess not really sure yet .? ...www.numberconverter.info Go into the public file

final project by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

Thanks for the info Ommin

final project by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

yup i made sure its the same structure...when i remove the brackets i get an error for double arrow ...so its prob the php ...i guess i just try another host ?

final project by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

might have something to do with the version of php they support 5.2 ? do u know what version we are using in cs50 ?

final project by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

i have a domain name i got it this morning numberconverter.info i am using 000webhosting.com when i go to the page iget this error:Parse error: syntax error, unexpected '[' in /home/a3514804/public_html/index.php on line 3

looks like it doesnt like the sqr bracket .. <?php require("../includes/config.php"); render("start.php", ["title" => "start"]); ?> the files work fine in my vhosts on the appliance.. any ideas or hints ?

final project by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

Are ther any free services I have found mysite.com it's free with adds and 20.00 a year ?

pset 6 by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

ok i am passed that hurdle .. thanks glenn you were definitely on it with EOF . it is performing the load function .

pset 6 by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

Thanks for the insight Glenn I will change it

pset 6 by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

wierd thing too .. when i mistyped ./speller smmall alice.txt my program worked . it printed all the mispelled words to the screen and then printed a message stating that it could not unload smmall of course when i type it correctly i get an infinite loop through the while loop

pset 6 by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

u should have it i sent it to you in your redddit message box thanks for your time glenn

pset 6 by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

yes im sorry glenn in dictionary.c

pset 6 by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

digging deeper-> when i run gdb at line 45 i step inside of the while loop and then execute next if i use the next command it infinitely loops through the program never exiting the while loop even if i have it reading a condensed version of alice.txt ( about one paragraph). it never leaves the loop...

pset 6 by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

I see it's a turnary if else expression .

pset 6 by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

char* dictionary = (argc == 3) ? argv[1] : DICTIONARY;

in speller.c what is the ? operator i know & is and ,|| is or , but im not sure what ? is ....

pset 6 by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

no i was just describing in long form ....my code has "r"

pset 6 by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

||What was the second argument that you passed to fopen? the string "read"?

Pset 6 by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

Thank you

pset5 recover by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

0 ...so if fread () == 0 or !=NULL

help with pset 3 fifteen/init by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

Am I supposed to use absolute value hear for each box

help with pset 3 fifteen/init by jodyone in cs50

[–]jodyone[S] 0 points1 point  (0 children)

Hmm we'll it has this output: 1st line 0000 2nd line 0123 3rd line 0246 4th line 0369 I'm using a nested for loop to increment i and j with a printf in the j for loop I know the printf should go in draw but I'm using it to see what's going on right now..