You guys are evil!
What do you mean about code tags? I put up a post before and I didn't have that. Anyways I think she is looking for a way to use the gets function instead of scanf. To put in the...
Type: Posts; User: suezq
You guys are evil!
What do you mean about code tags? I put up a post before and I didn't have that. Anyways I think she is looking for a way to use the gets function instead of scanf. To put in the...
This is what I have now:
but it's still wrong
#include <stdio.h>
int lencmp(char[],char[]);
int main()
{
char a[30];
char b[30];
wow!
now i'm really confused! i'm going to try the first one you stated ronin, the second looks a little too advanced for me and my class and our prof will think we are ahead of him! ok, thanks!
oh i see what you mean now hammer
by comparing the two variables. so i am going to call my first string s1, that would be ok? then call the second string s2 then compared the two in a loop? how do i...
Yeah i still don't understand. Maybe i'm just stupid. who knows. I wish this stuff wasn't so hard. we have to use gets() and not anything else. I know my source code is wrong, i can't get anything to...
yes they are functions i have to make. this is the problem:
Which is longer? (p:546 q:3)
a. Write a function lencmp() that has two string parameters. It should return 1 if the first string is...
Hello everyone!
Please help me!
This is my problem:
I have to ask the user to enter two strings. Then I have to have a statement that analyzes those two strings and say which one is longer. I have...