• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu
0

My caesar cipher implementation does not output words after a space

I wrote a caesar cipher in C but the program outputs only the first word if i have a sentence. https://www.sololearn.com/compiler-playground/cK1DtwYLXhGW

ccaesarcipher
27th Oct 2022, 3:49 PM
Rahul Guha
Rahul Guha - avatar
1 Antwort
+ 1
Read the input string using fgets() http://www.cplusplus.com/reference/cstdio/fgets/
29th Oct 2022, 10:30 AM
Ipang

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
Activity Section in Profile has Gone
1 Votes
API
0 Votes
Which is easier to learn first between python and JS?
0 Votes
Does sololearn teaches on how to create games
0 Votes
General Inquiry
0 Votes
how to be good at coding
1 Votes
Help for roadmap
0 Votes
Why anybody does not check my new code bits it's sad for my hard work
1 Votes
I HAVE A PROBLEM I CANNOT ABLE TO SEND MESSAGE ANYONE AND ALSO MY MESSAGE SECTION NOT AVAILABLE "PLEASE ACTIVATE YOUR ACCOUNT
0 Votes
Sockets, etc
0 Votes