Search:

Type: Posts; User: rb737

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    4,458

    I Fixed it! :D I ended up rewriting my code from...

    I Fixed it! :D
    I ended up rewriting my code from scratch as what I had was far too complex for its purpose.
    I found that using a switch statement in main oddly made the whole process much easier.
  2. Replies
    1
    Views
    4,458

    Error In Code - read access violation

    Hello Everyone,

    I hope you are all doing well. I am creating a program to detect and correct errors in hamming code. The issue I am having is the program is crashing.

    Debugging it I found the...
  3. Replies
    1
    Views
    2,868

    Write Access Violation Error - Help Please

    Hello Everyone,

    I hope you are all doing well and thanks in advance for helping me out with the below issue.

    I have the below code which is a cache memory simulation.

    I am getting the...
  4. Replies
    10
    Views
    2,173

    Ok so i think i've fixed the issue with the files...

    Ok so i think i've fixed the issue with the files opening. i put the whole path of the file in correctly but now the program is just not working with no error messages.
    Any ideas why it might not be...
  5. Replies
    10
    Views
    2,173

    Note that the files i'm using are in my projects...

    Note that the files i'm using are in my projects debug directory. I have also changed the file open process to


    fp=fopen("input.txt","r");

    and unfortunately getting the same error.

    Any...
  6. Replies
    10
    Views
    2,173

    Hello Salem, Thanks again for the pointer, it...

    Hello Salem,

    Thanks again for the pointer, it seems to have gotten rid of my error. I implemented a style similar to your first example. issue i'm having now is the program is crashing :frown:.
    ...
  7. Replies
    10
    Views
    2,173

    Hello All, So i've revised my code quite a...

    Hello All,

    So i've revised my code quite a bit, trying to make it more efficient. I think i'm on the right track. One issue i'm having is on line 33, i'm getting an error saying too few arguments....
  8. Replies
    10
    Views
    2,173

    Hi Salem, Thanks again for your tips i really...

    Hi Salem,

    Thanks again for your tips i really appreciate it, let me try to work and and implement this in my code to see if i can wrap my head around it and get it functioning.

    Quick question,...
  9. Replies
    10
    Views
    2,173

    Hello Salem, Thank you for your comments and...

    Hello Salem,

    Thank you for your comments and for your help, i see what you are saying regarding my issues. I've changed them based on your comments and the program does seem to be running better....
  10. Replies
    10
    Views
    2,173

    C Program Help Please (File Handling)

    Hello Everyone,

    I hope you are all doing well and thanks in advance for any help you can offer.

    I have the below code which need to open a .txt file with addresses in the below format, then it...
  11. Replies
    2
    Views
    949

    Sorting Structs Program Help

    Hello All,

    I hope everyone is doing well. I have a program that is supposed to accept a list of addresses via input out redirection in the command prompt and then output them organized from lowest...
  12. Thread: Calculator Help

    by rb737
    Replies
    8
    Views
    770

    Hey Matticus, Thanks again for all of your...

    Hey Matticus,

    Thanks again for all of your help, I appreciate the guidance and the patience.

    I ended up taking your advice and started the program from scratch getting the most basic tasks done...
  13. Thread: Calculator Help

    by rb737
    Replies
    8
    Views
    770

    Ok so ive finished the code and its working...

    Ok so ive finished the code and its working perfectly as long as i dont try and have the user input Y or N to continue or End. When i do this i run into a lot of issues, most likely because im not...
  14. Thread: Calculator Help

    by rb737
    Replies
    8
    Views
    770

    ok so ive restarted my code from scratch, testing...

    ok so ive restarted my code from scratch, testing it along the way and also implemented a state machine which seems to be helping it run smoother. One thing im having trouble with is this. My whole...
  15. Thread: Calculator Help

    by rb737
    Replies
    8
    Views
    770

    Hello Matticus, Thanks again for your reply. I...

    Hello Matticus,

    Thanks again for your reply. I see what you are saying about my isPunct() function. Unfortunately we arent allowed to use the built in functions so i have to write my own, this was...
  16. Thread: Calculator Help

    by rb737
    Replies
    8
    Views
    770

    Hello Matticus, Thank you for your reply. Yea...

    Hello Matticus,

    Thank you for your reply. Yea i tried to test it step by step. Im not receiving any error codes back. The main issue is its just not compiling correctly. if i enter 1+1 for example...
  17. Thread: Calculator Help

    by rb737
    Replies
    8
    Views
    770

    Calculator Help

    Hello Everyone,

    I hope you are all doing well and thank you in advance for any help or tips you can offer.

    So i've been working on this for quite some time and i've gotten to this point, i'm at...
  18. Replies
    17
    Views
    1,165

    Hello Everyone, I found the issue on the last...

    Hello Everyone,

    I found the issue on the last one, was a user error on my part.

    Looks like im all good to go. Thanks everyone for helping me out and offering your advice, i really appreciate...
  19. Replies
    17
    Views
    1,165

    Hi Tony, Thanks for the input, I see what...

    Hi Tony,

    Thanks for the input, I see what you've done there and its similar to mine just much simpler and more compact.

    I have one last question that i cant seem to overcome.

    I want to use...
  20. Replies
    17
    Views
    1,165

    Hello, I hope everyone is doing well. With...

    Hello,

    I hope everyone is doing well.

    With the awesome help from Laserlight i think i might have got it this time.

    Let me know what you think.
  21. Replies
    17
    Views
    1,165

    So im working through it and it feels like its...

    So im working through it and it feels like its headed in the right direction. is this kind of what you are trying to say?



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


    int main (void)
    {
  22. Replies
    17
    Views
    1,165

    i don't know whats up with me today but i cannot...

    i don't know whats up with me today but i cannot wrap my brain around this. I see what you are saying, every time the state changes from 0 to 1 for example, print a newline then print the characters,...
  23. Replies
    17
    Views
    1,165

    First i would like to thank you for taking the...

    First i would like to thank you for taking the time to help me, i appreciate it. I forgot to mention i am not allowed to use Structs or Arrays either.

    With that said and after going over what you...
  24. Replies
    17
    Views
    1,165

    Hi There again, I think im on to something. ...

    Hi There again, I think im on to something.

    Only issue im running into now is multiple spaces after each other.



    #include <stdio.h>
    #include <math.h>
  25. Replies
    17
    Views
    1,165

    its also important to note that I cant use such...

    its also important to note that I cant use such functions as isalpha() or isdigit(). im strictly prohibited to getchar, putchar and loops.
Results 1 to 25 of 27
Page 1 of 2 1 2