Thread
:
Ceasar shift program troubles
View Single Post
#
2
(
permalink
)
09-16-2008, 11:46 AM
WingedPanther
Join Date: Jul 2006
Age: 35
Posts: 4,092
Last Blog:
Why Learn Data Structu...
Credits:
28
Rep Power:
45
Re: Ceasar shift program troubles
What's happening is that when the code encounters a space, it processes TWO printf statements, one for the space, and one for the previous output. I would move the printf("%c",output); inside your if block.
__________________
CodeCall Blog
|
CodeCall Wiki
|
Shareware
|
Linux Forum
Programming is a branch of mathematics.
WingedPanther
View Public Profile
Send a private message to WingedPanther
Find all posts by WingedPanther