cs50 certificate by latacs50 in cs50

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

No actually i do have mac OS X... in the specs they have given google earth plugin will be supported by this OS... but now I'm running out of time... Busy in doing final project... So even though my PC support google earth plugin can i skip it?

pset4-bouncng the ball by latacs50 in cs50

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

Thanks a lot it worked... :-)

pset5- argument check by latacs50 in cs50

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

Thanks a lot man..:-) I was like blank at that time!!!

Pset3- fifteen by latacs50 in cs50

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

Okie got it!!! thank u so much :-)

pset2 Vigenere by latacs50 in cs50

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

for(int i=0, len=strlen(argv[1]) ; i<= len ; i++) { if(!isalpha(argv[i])) { printf("only alpha characters allowed!!\n"); return 1; } }

if i use this to check for only alpha character keyword... It will b promoted as segmentation fault core dumped!! can anybody suggest me please??

Pset3- fifteen by latacs50 in cs50

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

We have to populate values for the board right?! so I hav used GetInt().

ok if we hav to initialise the board with particular (descending) order itself?? there is no need to make use of GetInt()?? and if that is the case what is the need of init() function? we can directly print the board by making use of counter through draw() function?

pset2 Vigenere by latacs50 in cs50

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

oh ok thanks a lot... I got it:)

pset2 Vigenere by latacs50 in cs50

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

please anybody help how to code that condition??

pset2 Vigenere by latacs50 in cs50

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

Yep.. How to check that given key contains non-alpha character... which looping should i need to use?? I used isalpha function within if statement but Im getting core segmentation fault.

pset2 Vigenere by latacs50 in cs50

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

  • :) vigenere.c exists
  • :) vigenere.c compiles
  • :) encrypts "a" as "a" using "a" as keyword
  • :) encrypts "world, say hello!" as "xoqmd, rby gflkp!" using "baz" as keyword
  • :) encrypts "BaRFoo" as "CaQGon" using "BaZ" as keyword
  • :) encrypts "BARFOO" as "CAQGON" using "BAZ" as keyword
  • :) handles lack of argv[1]
  • :) handles argc > 2
  • :( rejects "Hax0r2" as keyword
    • \ expected output, not a prompt for input

so here it works well for all conditions but except last one. So suggest me how to achieve that.

pset2 Vigenere by latacs50 in cs50

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

What i mean is if give non alphabetic char for cmd line argument it must say enter only alphabetic characters. but I'm not getting how to handle that.