Forum: C++ Feb 22nd, 2008 |
| Replies: 2 Views: 4,148 NODE *head;
public:
void push(int value){
NODE *temp = (NODE*) new NODE;
temp->value = value;
temp->link = head;
head = temp;
}//end of push. |
Forum: C Dec 8th, 2007 |
| Replies: 2 Views: 514 #include<stdio.h>
#include<stdlib.h>
struct sales
{ int week;
char name[20];
int units;
int price;
}; |