LOL, Thank you very much. Good eye. I have made that mistake many times in the past. I have probably overlooked that error 20 times just on this program. I'll have to be more careful. Thanks...
Type: Posts; User: viclaster
LOL, Thank you very much. Good eye. I have made that mistake many times in the past. I have probably overlooked that error 20 times just on this program. I'll have to be more careful. Thanks...
I am writing a program that will convert Morse code to alphabet and vice versa.
Here is the code so far
#include <stdio.h>
int main()
{
Okay, I've got it now. Thank you so much.
Thanks for the help so far. Okay here is what I've got. Does anyone else have any problems compiling and running this program?
#include <stdio.h>
void shift( int y, char loop[7]);
int...
hehe, what can I say? Thank you very much. But I still get the error even after I recompile this:
#include <stdio.h>
char shift( int y, char loop[7]);
int main()
{
char loop[7] =...
I also get a " [Warning] In function `char shift(int, char*)':"
Is this what you were talking about with using the pointers? I'm a bit confused.
Okay, I thik I'm getting closer. I have narrowed it down to one error I think. It says line 33 parse error at end of input. Strange that it has only 32 lines of code.
Sebastiani I tried...
Thanks guys, you are a big help to me. I've changed a few things that helped, but now it prints out the array as many times as the scanf input. I just want it to print one time after the shifting...
Can someone help me with array shifting. I am trying to shift an array a number of times that someone enters.
Example: The array is abcdef and I enter 1 to shift the array once. The output is...
Thanks I got it now. I will look for reasons why scanf() is bad to use but for now that is what I'm used to.
Would it be smart to set up each word that needs to be generated as a seperate...
I really appreciate your help. Please be patient. I think I'm getting somewhere. I played around with what you posted, but I need to print one name. Let's just say I wanted to print "Anna". And...
Okay, I'm new at this and please if you don't want to help don't post. I need help with this array that I need to use to print a name. Here is what I have already. Any suggestions. I might be way...
Sorry again. I kind of jumped the gun. I will search for more tuturials. Thanks for the reply.
Whoops. Didn't read the sticky about "*READ THIS FIRST* Guidelines to the Board and hints for help". Sorry. I will try to place the source code a little later on. Then maybe someone can help. ...
I'm new at C programming and was wondering if someone could show me how to create a looping program that uses an array to store characters input from the keyboard (like names) and when the array is...
Thanks. :confused: Who woulda thunk to put in 2 getchar()s. Maybe everyone else but me. :)
Thanks for the response.
Well I thought I fixed it.
I've tried the
#include <stdio.h>
main()
{
Nevermind. I'm kind of slow at this, but I figured it out. Thanks.
This is a total noob question but when I run a simple program how do I keep my program window open until I enter a character from the keyboard. Like I said, I'm new at this and thought I might come...