Search:

Type: Posts; User: Thedon

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    2,937

    I am aware of that. thanks for your help

    I am aware of that. thanks for your help
  2. Replies
    7
    Views
    2,937

    Sorry that has not removed the error, i have...

    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
  3. Replies
    7
    Views
    2,937

    Thanks for your reply I have removed...

    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...
  4. Replies
    7
    Views
    2,937

    Comparison between pointer and integer

    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...
  5. @commontater thanks for your advice i see how it...

    @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....
  6. I understand that im not scanning in the prime...

    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!
  7. Issue storing Prime numbers in an array and then prinitng

    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...
  8. Replies
    10
    Views
    11,911

    Hi guys i fixed this last night i was missing a...

    Hi guys i fixed this last night i was missing a number of things should i post up my code?
  9. Replies
    10
    Views
    11,911

    I was missing a J++!!The program is running as...

    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
  10. Replies
    10
    Views
    11,911

    Sorry i wasnt aware i didnt want to be blocking...

    Sorry i wasnt aware i didnt want to be blocking up the page!!
  11. Replies
    10
    Views
    11,911

    I edit my original post is that better?When i run...

    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
  12. Replies
    10
    Views
    11,911

    Merging two arrays into one

    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...
  13. Replies
    6
    Views
    2,280

    Yeah i did that tidied up the program a bit too...

    Yeah i did that tidied up the program a bit too thanks!
  14. Replies
    6
    Views
    2,280

    I have done all that you said and the program...

    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...
  15. Replies
    6
    Views
    2,280

    Thank you for your help although it hasnt seem to...

    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 ()


    {
  16. Replies
    6
    Views
    2,280

    Array problem averaging numbers

    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...
Results 1 to 16 of 16