#include <stdio.h> #include <GETPRICE.h> int main(int argc, int *argv[]) { PRICE *p; if (init_price(p, "file") != 0) return 1; printf("The price of an apple is %s\n", get_price(p, "apple")); destroy_price(p); return 0; }
The summary of this thread should simply be - C and Perl are different, get over it.
In reply to Re: Re: C vs. Perl
by Anonymous Monk
in thread C vs. Perl
by podian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |