Code.NgInaMo

Code.NgInaMo

Look Ma, I'm coding

    • About
  • A linked list

    /*#include headers here */ struct list_el { int val; struct list_el * next;}; typedef struct list_el Item; Item *list, *tail; //references to the linked list int main() { int i; Item *curr; int array[] = {1, 24,3,412,125,6,74,228,9, 10}; /*initialize the list*/ list = (struct Item*)malloc(sizeof(Item)); list->next=NULL; // this is important to list->val = 0; //…

    Julius The Pious

    August 1, 2008
    code snips
←Previous Page
1 … 5 6 7

Create a website or blog at WordPress.com

  • Subscribe Subscribed
    • Code.NgInaMo
    • Already have a WordPress.com account? Log in now.
    • Code.NgInaMo
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar