Search:

Type: Posts; User: JonathanSimo

Search: Search took 0.01 seconds.

  1. Doubly linked list is only creating one node.

    Hey guys, trying to create a program which add/store records of patients to a node using doubly linked list. When the program executes, I'm only able to create one record. The program doesn't allow...
  2. Thanks mate, I got the program to work correctly....

    Thanks mate, I got the program to work correctly. Appreciated the help!
  3. How store sorted values in a text file after using Bubble sort?

    I'm trying to create a program that reads a file, sort the values in ascending order using bubble sort and then update the file with the new sorted values. When I ran the code it prints the sorted...
  4. Delete function to remove an element from array not working

    I'm trying to create a delete function that accept an index to delete and return the value stored at the index to the user after it has been deleted from the array, but when I ran the program and try...
  5. Thanks man, I really appreciated your help!! The...

    Thanks man, I really appreciated your help!!
    The problem has been fixed.Enable GingerCannot connect to Ginger Check your internet connection
    or reload the browserDisable in this text fieldEditEdit...
  6. Why when I tried to store values in allocated memory I keep getting an error?

    I am writing a program that prints out the value of cards using a structure.

    I'm a beginner in data structure and I'm trying to advance my knowledge in this area.

    Values of Cards
    Face [1 -...
  7. My program is giving me an error when I tried to run it.

    When I ran my program I'm getting the following Error: assignment to expression with array type

    Can someone help me with this error?
    I'm new to data structure.

    Problem:
    I'm trying to create a...
  8. Replies
    2
    Views
    3,491

    Why my functions doesn't work?

    void createList()
    {
    struct node *ptr, *tmp;
    int classList, i, head;


    head = (struct node *)malloc(sizeof(struct node));


    if(head == NULL)
  9. Thank you for helped, this code simplify the...

    Thank you for helped, this code simplify the program and makes it easier to read.
  10. Why my singly linked-list program doesn't run?

    I'm trying to write a program that user can create linked-list by entering the number of lists they want to create but when i ran this code it doesn't work.

    Can someone please help me?


    ...
  11. Thank you bro, I appreciate your help! It...

    Thank you bro, I appreciate your help!
    It finally work!
  12. Why does my two-dimensional array print out incorrect values?

    I'm trying to print the sum of columns 1, 4 and 6. When I input 30 values into the 2d array, only the fist column is has the correct output.



    #include <stdio.h>


    int main()
    {
    int i,...
Results 1 to 12 of 12