Search:

Type: Posts; User: niallheavey

Search: Search took 0.00 seconds.

  1. Replies
    21
    Views
    4,070

    I knew it was going to be something stupid. ...

    I knew it was going to be something stupid.

    Thank you very much for all the help.
    Regards,

    Niall.
  2. Replies
    21
    Views
    4,070

    (46) : fatal error C1075: end of file found...

    (46) : fatal error C1075: end of file found before the left brace '{' at 'c:\users\niall\documents\college\4th year\2nd semester\ee402\5bit parity code\5bit parity code\source.c(6)' was matched
  3. Replies
    21
    Views
    4,070

    cool, sorted that. Just the end of file thing...

    cool, sorted that.
    Just the end of file thing now.

    Its quite strange, when I click the error its going right to the top of the code, inside the #include<stdio.h> line.

    I'm sure this is just...
  4. Replies
    21
    Views
    4,070

    Ok, had posted that last one before I realised...

    Ok, had posted that last one before I realised there was a reply!!!!

    Changing bit_array to codeword_array worked for a lot of them, down to 7 errors now.
    code is


    #include <stdio.h>
    #include...
  5. Replies
    21
    Views
    4,070

    Ok, should it be declared globally? I have done...

    Ok, should it be declared globally? I have done it like this now....


    int codeword_array[20];
    int i=0;
    int bit;
    int bit_array[i];

    printf("Welcome to the 5-bit parity code...
  6. Replies
    21
    Views
    4,070

    #include #include #include...

    #include <stdio.h>
    #include <string.h>
    #include <math.h>

    int main()
    {

    int codeword_array[20];
    int i=0;
    int bit;
  7. Replies
    21
    Views
    4,070

    Ok, thats grand thanks, But still giving the...

    Ok, thats grand thanks,

    But still giving the errors that i'm missing ;'s around line 14. Dunno where this is happening though,

    Any ideas?
  8. Replies
    21
    Views
    4,070

    Ok, that got rid of a couple, thanks for that....

    Ok, that got rid of a couple, thanks for that. The next one's are:



    (14) : error C2143: syntax error : missing ';' before 'type'
    (14) : error C2143: syntax error : missing ';' before 'type'...
  9. Replies
    21
    Views
    4,070

    (14) : error C2143: syntax error : missing ';'...

    (14) : error C2143: syntax error : missing ';' before 'type'
    (14) : error C2143: syntax error : missing ';' before 'type'
    (14) : error C2143: syntax error : missing ')' before 'type'
    (14) : error...
  10. Replies
    21
    Views
    4,070

    Simple enough task

    Hi all,
    1st time poster.

    I have a fairly simple task that I need to carry out, however I am not terribly good at C programming, so bare with me!!!!
    Basically I need to take in a string of 15...
Results 1 to 10 of 10