Linked List with C

  • Linked lists are the most basic self-referential structures. Linked lists allow you to have a chain of structs with related data.
  • So how would you go about declaring a linked list? It would involve a struct and a pointer:
    struct llnode {
     data;
    struct llnode *next;
    };
    
    The signifies data of any type. This is typically a pointer to something, usually another struct. The next line is the next pointer to another llnode struct. Another more convenient way using typedef:
    typedef struct list_node {
     data;
    struct list_node *next;
    } llnode;
    
    llnode *head = NULL;
    
    Note that even the typedef is specified, the next pointer within the struct must still have the struct tag!

Windows Logon Message

Run regedit and go to
HKEY_Local_Machine\Software\Microsoft \Windows\CurrentVersion\Winlogon
Then add or change the key:
LegalNoticeCaption REG_SZ="(Title for Box)"
And the same for this key:
LegalNoticeText REG_SZ="(Message to be displayed in the box)"

Hack IE Title Bar

This can be an impressive bit of personalization. Use your name or moniker to brand Internet Explorer. With regedit go to
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\
and left-click on Main to change the string "Window Title" to whatever you wish.