Re: Arrays is confusing

1999-04-09 Thread Henk Jan Barendregt
ZioBudda wrote: On Thu, 8 Apr 1999, Henk Jan Barendregt wrote: the line is executed. The result will be i[0] = 0 I Think i[0] = 1 i[1] = unknown

Re: Arrays is confusing

1999-04-08 Thread Henk Jan Barendregt
Anubhav Hanjura wrote: #includestdio.h main() { int i[4] ; int j = 0; i[j++] = j++; /* you put the previous lin in a loop j will be increment by 2 every time the line is executed. The result will be i[0] = 0

Re:

1999-04-01 Thread Henk Jan Barendregt
Darius Blaszijk wrote: Is there any compiler/editor/debugger-package anvailable from the internet? Or am I missing something here? I've noticed that MC has an edit feature which shows source code using different colours. I find this very helpfull. You can use wpe or xwpe for this. When

Re: Pointers (again)

1998-06-17 Thread Henk Jan Barendregt
James wrote: Ok, i understand the need to make a pointer to the pointer so you can make the pointer point to some other pointer (ok, so i intentionally put lots of pointers in that line :) ) but here's what i'm trying to do: Be careful on using pointers in C , it can take you hours to

Re: Increasing my skill

1998-06-12 Thread Henk Jan Barendregt
Karl F. Larsen wrote: Hi Bill, I thought that should work but found no referance to absolute in the index of my book. It seems to me Bill that C is geared more towards a data base design than writing small number crunchers. But perhaps what I need to do is grep math.h and see...will try

Re: changing an int into a char *

1998-06-07 Thread Henk Jan Barendregt
Ibrahim Haddad wrote: Hello, I have the Slakware distribution of Linux (kernel 2.0.29). I don't have neither "itoa" nor "ltoa". Any other alternatives? (or even, where can I get these functions from?) There is a function called itoa which convert an integer to a string meanwhile there