Search:

Type: Posts; User: drbr0wn

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    3,357

    Aha! Thank you!!!

    Aha! Thank you!!!
  2. Replies
    6
    Views
    3,357

    Thank you for your help. I changed: char*...

    Thank you for your help.

    I changed:

    char* string1 = {0};
    char* string2 = {0};

    to:

    char string1[] = {0};
  3. Replies
    6
    Views
    3,357

    Simple strcmp program freezes upon scanf

    Hello.

    This is a simple program that imports a custom header file called 'myfunc.h,' which contains a defined prototype for an alternative strcmp function.

    The code for the .c file is:
    ...
  4. Replies
    5
    Views
    7,099

    Thank you, anduril. I do need to brush up on...

    Thank you, anduril. I do need to brush up on linked lists more and will continue doing so during and after my class is over.


    itemPtr loadFile(char *file) { FILE *fPtr;


    item *head;...
  5. Replies
    5
    Views
    7,099

    Thanks for your previous help. I fixed all the...

    Thanks for your previous help. I fixed all the minor errors and brushed up on linked lists some. Below is my refined code. Please, once again, note "loadFile."


    #include <stdio.h>
    #include...
  6. Replies
    5
    Views
    7,099

    File I/O and linked lists

    Hello. This is my code:


    #include <stdio.h>
    #include <stdlib.h>

    /* Struct transaction – This struct should define an itemNumber, and an itemAmount that are ints, itemPrice which is a float,...
Results 1 to 6 of 8