thank you broh , really nice logic ..but u may wanna add a condition for the spaces that are going to be typed , if the message is going to contain a sentence with words
@TheDramenable6 жыл бұрын
Que buen video wey la neta te rifas un chingo, a huevo necesitaba esto para entregar un proyecto y tu explicas bien vergas, dices paso a paso todo y eso esta bien chingon we la neta te dejo un pinche likesote a la verga eres la verga jalate a la verga compa fierro pariente cero miedo si o no compa la neta al chile pelon si wey
@erickung3933 жыл бұрын
May I ask why we need to subtract 1 from strlen(plaintext)? Why need minus 1? I didn't get it😭😭 can someone explain to me please
@jamesdempsey99076 жыл бұрын
Great video and very helpful am stuck and not sure why. I enter my message and the encrypted message comes back as : The encrpted message is: , cypher, cypher, cypher, cypher, cypher Any help would be much appreciated.
@kennielarsen9405 жыл бұрын
Hello, thanks for the solution. I don't know if comments are still answered, but how come you subtract 97 and then add them again after? I don't clearly get the idea, as removing those would still equal to the same result? At least in the tests I've done so far :-)
@Duqtur_mohammad_Omar2 жыл бұрын
thnnx bro for this useful video bt it would be better using a screenrecoder coz i couldnot see clearly......
@ComputerSciencecompsci1123582 жыл бұрын
Thanks for the feedback this was an older video.
@Pioneer43 жыл бұрын
My output is infinite times running why?
@BVK_LMZ3 жыл бұрын
thanks
@oliverbolton95187 жыл бұрын
I tried this and my output just cycles through the characters for example "hello" came out as "ellox" any tips?
@ComputerSciencecompsci1123587 жыл бұрын
Hi Oliver, You tried this exact code and got "ellox" from "hello" ?
@panasheterencekujinga81608 жыл бұрын
why do you use fgets instead of scanf? is there a difference
@ComputerSciencecompsci1123588 жыл бұрын
There is a difference, I am using it to be able to read in a line of text such as "hello world notice the space". You can not scan in the whole string using scanf just the "hello" portion will be read. But if you just want to scan in one string like "hi" then you can use the scanf function and will have to change the caesarCipher function to the following: Note: All I did is delete the '-1' from the while loop. void caesarCipher(char* plainText, int key){ int i=0; int cypherValue; char cypher; while( plainText[i] != '\0' && strlen(plainText) > i){ cypherValue = ((int)plainText[i] -97 + key) % 26 + 97; cypher = (char)(cypherValue); printf("%c", cypher); i++; } printf(" "); } Thanks for watching and the comment!
@dharmang7 жыл бұрын
can u plzz zoom in a bit cause am watching on a 5.5 inch and still cant see btw lol 😂
@unboxmodz85846 жыл бұрын
damn how many years have you been reading about c?
@ComputerSciencecompsci1123586 жыл бұрын
I first started learning C-Programming about 10 years ago.
@vincentarasaratnam47423 жыл бұрын
Its not very much clear in your video, video capacity too, small
@mehmetuguryetis67094 жыл бұрын
Sir ı have a assigment just like you did. may you help me if you write your e-mail, I can send you pdf file