Search found 1 match

by himel
Wed Jan 26, 2005 9:22 am
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 49643

piglatin probs

:cry: i used gets it says runtime error but my solution is correct don know why, anyone help me? herez my code:

#include<stdio.h>
#include<string.h>
char s[15000],t[15000];
int a,i,j,b;
void main(){
while(gets(s)){
a=strlen(s);
for(j=0;j<a;j++){
t[j]=NULL;
}
for(i=0;i<a;i++){
if((s >='A ...

Go to advanced search