Search:

Type: Posts; User: daisy_polly

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    1,979

    thanks a bunch I got it to work. Here is the...

    thanks a bunch I got it to work.

    Here is the working one:

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

    typedef struct nodeTag{
    int value;
    struct nodeTag*link;
  2. Replies
    9
    Views
    1,979

    thanks guys for the help. I made the changes you...

    thanks guys for the help. I made the changes you recommended to my code. I don't get the segmentation fault anymore but my "insertSorted" and "insertnode" functions do not give the correct output....
  3. Replies
    9
    Views
    1,979

    Linked list Segmentation

    Hi,

    I made a couple of functions using linked lists and I keep getting Segmentation fault error. can someone tell me why I am getting this error.

    My code is:



    #include <stdio.h>...
  4. Replies
    5
    Views
    2,084

    I know c programme starts from main(). I forgot...

    I know c programme starts from main(). I forgot to call the function when I was posting. I won't post if you are going to assume my posts rather than helping and I am reading a text book. thanks
  5. Replies
    5
    Views
    2,084

    I tried doing that but I keep getting errors.The...

    I tried doing that but I keep getting errors.The code for that looks like this:



    #include <stdio.h>
    char store;
    char ascitobinary();
    char storeInArray(char a[]);

    int main(void){
  6. Replies
    5
    Views
    2,084

    storing a string of binary into an array

    Hi,
    I am trying to store a string of binary into 2D array but I keep getting "invalid intilizer error".

    My code is:

    #include <stdio.h>
    char store;

    char ascitobinary();
  7. Replies
    5
    Views
    13,210

    this is a requirement of my assign.

    this is a requirement of my assign.
  8. Replies
    5
    Views
    13,210

    how do I store that in two dimensional array?

    how do I store that in two dimensional array?
  9. Replies
    5
    Views
    13,210

    I don't need the solution just a good start.

    I don't need the solution just a good start.
  10. Replies
    5
    Views
    13,210

    Error Detection and Correction

    Hi,
    I am making an application for "The Hamming Code". I am having some problems I don't understand how to do this. The user can only put up to 5 characters. then the user will put the bit to...
  11. linker input file unused because linking is not done

    hi i am getting this when I make my "make" file.

    The reason why I am linking is that I am using a math library in my program and unix needs to link.
  12. Replies
    10
    Views
    78,682

    thanks that worked!. I have one more question how...

    thanks that worked!. I have one more question how can I check if the chracters entered by the user is numeber or a chracter.I have something like this



    if( dcount>2 || (!isdigit(scanPrice))...
  13. Replies
    10
    Views
    78,682

    thanks. this program only reads the first char....

    thanks. this program only reads the first char. so I implemented it in my program and now it doesnot work.





    #include <stdio.h>
    #include <ctype.h>
    #include <stdlib.h>
  14. Replies
    10
    Views
    78,682

    thanks to all those who are helping me. cwr we...

    thanks to all those who are helping me. cwr we are not allowed to use arrays in our assign.ssharish2005 we are suppose to read characters but the value should not change for example if I put 1 I...
  15. Replies
    8
    Views
    2,616

    #include #include "genlib.h" #include...

    #include <stdio.h>
    #include "genlib.h"
    #include "simpio.h"
    main()
    {
    int degrees_f, degrees_c;
    /* Input Phase */
    printf("This program converts degrees F to degrees C.\n");
    printf("Input the...
  16. Replies
    10
    Views
    78,682

    Convert char to float

    is there way you can convert a char into a float.I have some code but it's not working.


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

    int main()
    { char ch;
    ...
  17. Replies
    21
    Views
    2,983

    I am trying to compile your code. some of the...

    I am trying to compile your code. some of the functions are missing post the whole code and then I will be able to help you.
  18. Replies
    3
    Views
    1,178

    I posted in other fourms so I could get diffrent...

    I posted in other fourms so I could get diffrent kind of opinions for my code and diffrent suggestions.
  19. Replies
    3
    Views
    1,178

    Validation of my Program

    Hi,
    I am making a small program of cash register. I am having trouble doing the validation. If someone could help me It would me a great help.

    My Program is:


    #include <stdio.h>
    #include...
  20. Replies
    8
    Views
    9,871

    thanks for a lot of helpful suggestion. I have...

    thanks for a lot of helpful suggestion. I have one more question.
    How do I display all the entries that have been added.

    thanks
  21. Replies
    8
    Views
    9,871

    A small application of cash-register

    Hi,

    I am making a small application of a cash register that add's items,get total amount etc. My add function does not work and neither does the total function. If someone could help me it will be...
Results 1 to 21 of 21