Hello again.
I have created the following program to count the number of times each letter of the alphabet appears in a textfile. It works properly, unless there are no occerences of a certain...
Type: Posts; User: Baron
Hello again.
I have created the following program to count the number of times each letter of the alphabet appears in a textfile. It works properly, unless there are no occerences of a certain...
Hi,
I have an integer array and would like each value in it to be set to 0 when it is initialised. Could anyone tell me how to do this?
Thanks
-Chris
Have solved the problem, the solution came to me whilst I was trying to get to sleep =)
Thanks for all your help guys
-Chris
So i just initialise all the varibles as floats? i don't need to actually put float in brackets before the variable name?
Thanks
-Chris
Hi
I need to do a simple piece of arithmetic and was thinking of using the following code
percent = letTotal / 100 * *ptr1;
with 'percent' and 'lettotal' being integer variables and ptr1...
Apologies, I should have described the situation a bit better. I'm only supposed to use arrays and loops to acheive this. I have a key array within my cipher program and a loop which reads the ascii...
Ok, Hello all, new to this forum and C for that matter, but if anyone could help at all it would be greatly appreciated.
I have been tasked to create a program to read a simple substitution cipher...