Thanks for your help... since i am still studying C, i was trying to figure out how to do that for a few hours. You saved me a lot of time.
Now I have another problem.
I have to read charcter...
Type: Posts; User: helpme
Thanks for your help... since i am still studying C, i was trying to figure out how to do that for a few hours. You saved me a lot of time.
Now I have another problem.
I have to read charcter...
first of all i did my recearh BEFORE i asked.
This is my problem
do {
infile1=fopen("encrypted.txt", "r");
fscanf(infile1, "%s", &output);
Hi,
Any ideas on how to read characters from a .txt and then display them on the screne?
Thanks
It worked :D
Whats confusing is that the output for the first series of characters is not working correctly if you start it with 'a'
sample output
all i need in life i c
Encryted Text...
the code works but its still the same problem.
it subsitutes the vowels with a #, on the the other hand each vowel is required to have its own subsitute.
ie
user enters as i
out put ...
As you can see from the code below, AIOUEaioue are all converted to #.
Is it possable so that 'a' will be converted to foo while 'i' is converted to fooffooo ?
as you can see my if looops are...
i figured out how to make it edit more than one character.
what i am stuck on now, is to assign differnt character different symbols.
lets for a , we will have #
and for b. we will have $
i...
prblem solved . i was getting the error since i copied and paste the code..
i manually entered the code and the program ran fine
thanks
thanks for the info.. but i have one question
how do i do that :D
im new with c so i hope that you guys would cope with me :)
It seems that when i try to run the code that was given in ANSI above i get a
" fatal error C1010: unexpected end of file while looking for precompiled header directive"
anyone knows what that...
thanks....
the problem is that we have to use ANSI. Im taking a look at the code to see if i can implement it
Hi,
I spent about 4 hours and im stuck on one aspect of the program that i am writing .. its a h/w assignment :D
so this is the problem, i need to find a way to tell the user to enert 10...