I am aware of that. thanks for your help
Type: Posts; User: Thedon
I am aware of that. thanks for your help
Sorry that has not removed the error, i have tried what you said.
c=fgetc(fp1); //This is here in order to read in the text
Thanks for your reply
I have removed everything that you said but i still get the same error. I also initialized "line" but still no joy. In a previous question i used that same while loop and it...
Hi,
I am writing a program to read in grades from a text file and calculate the grade point average from a list of grades. I have the basic code done, i have not started to calculate the average...
@commontater thanks for your advice i see how it would make it much neater and have found similar code on these forums and have changed my variable names etc to that code as i deemed it to be better....
I understand that im not scanning in the prime numbers and like you said its a week program overall i know that but i would prefer if i could fix it then make it sparkle lets say!
Hi I am trying to write a program that generates the prime numbers under a 1000. The program itself works fine until i edit it and try to store the values in an array and then print that array. I...
Hi guys i fixed this last night i was missing a number of things should i post up my code?
I was missing a J++!!The program is running as expected the third array prints the first 10 digits but then the first digit of the second array ten times
Sorry i wasnt aware i didnt want to be blocking up the page!!
I edit my original post is that better?When i run the program after entering the last digit on the first loop it runs into a continious loop
Hi, I am writing a program to read in two sets of values from the user and store them in seperate arrays. Then combine those two arrays into a third array and display them. I think my logic to do...
Yeah i did that tidied up the program a bit too thanks!
I have done all that you said and the program works fine!im pretty sure the second i is in the right place because it needs to be reset for the second loop. Thanks so much for your help!also as...
Thank you for your help although it hasnt seem to change the outcome. I have indented my code to what i hope is better if it makes it easier to read!
#include <stdio.h>
int main ()
{
Hi guys, I'm new on here and iv searched through the forum for something to fix my problem but alas i havnt found anything!I am trying to write a program using arrays and loops to determine the...