Forum: C Sep 23rd, 2009 |
| Replies: 3 Views: 190 Initially, the first problem is that you are forgetting/didn't know that
if you declare an array of size 5 e.g. char name[5]; then that gives you memory locations name[0] to name[4]. But does not... |
Forum: C Dec 4th, 2008 |
| Replies: 2 Views: 698 sorry but the book is correct. It is a double pointer because it represents a set of strings. For example it might be
/* Effective what it is. Not real code */
argv[0]="this program";... |
Forum: C Nov 28th, 2008 |
| Replies: 9 Views: 790 Actually, it is simply to use
gcc -shared -o libmyshared.so file1.o file2.o
Have a look at the gcc manual. http://gcc.gnu.org/onlinedocs/.
The only thing that you will need to be a... |