Re: array filling problem

1999-04-11 Thread Hossein S. Zadeh
On Sat, 10 Apr 1999, Dan Jue wrote: The above creates a matrix of [4][4]; that is, each dimension varies from [0] to [3]. a[0][3] is the last element of the first row; a[0][4] is infact the first element of the second row which is better represented by a[1][0]. Are we allowed to

Re: array filling problem

1999-04-10 Thread Hossein S. Zadeh
On Sat, 10 Apr 1999, Darius Blaszijk wrote: #includestdio.h int main () { const dim = 5; float a[dim-1][dim-1]; The above creates a matrix of [4][4]; that is, each dimension varies from [0] to [3]. a[0][3] is the last element of the first row; a[0][4] is infact the first element of the

Re: ppp

1999-04-06 Thread Hossein S. Zadeh
On Tue, 6 Apr 1999, James wrote: what's the most reliable way of detecting when a ppp link is up? so far i've been looking in /proc/net/dev, but the ppp entry in that hasn't gone away and i'm nolonger online. A simple name lookup (nslookup www.netscape.com) should tell you. You may also try

Re: fuzzy logic library

1999-04-05 Thread Hossein S. Zadeh
used by Fuzzy Logic Toolbox of Matlab (the toolbox is very intituive in designing fuzzy systems, it saves all the information about the system in plain text files with "mif" extension--the drawback of the toolbox is that it is EXTREMELY slow, and I mea

Re: a program to read one's mailbox?

1999-03-23 Thread Hossein S. Zadeh
On Tue, 23 Mar 1999, Scott Wegener wrote: Why not just setup a .forward, an alias or use procmail? You should be able to get some info on the .forward file and aliases by manning aliases and sendmail, or do a web search for the procmail home. (HINT: Using aliases or a .forward's a bit

[SOLVED--SUMMARY] Re: a program to read one's mailbox?

1999-03-23 Thread Hossein S. Zadeh
On Mon, 22 Mar 1999, David Rysdam wrote: "Hossein S. Zadeh" wrote: Hi gurus, I have a unix (Linux) box with tens of users on it. The management has decided to move email to Groupwise (Novell). Thanks to everyone who responded. This is what I finally ended up stitchin

a program to read one's mailbox?

1999-03-22 Thread Hossein S. Zadeh
Hi gurus, I have a unix (Linux) box with tens of users on it. The management has decided to move email to Groupwise (Novell). I was asked to look into possibility of sending current (saved) emails of users on the Unix box to their new email address. I have a sound background in C and C++, but I

Re: ???

1999-03-22 Thread Hossein S. Zadeh
On Mon, 22 Mar 1999, [ISO-8859-1] Torbjørn Kristoffersen wrote: This allocates precisely one byte of data for dbQuery. Try char dbQuery[1024]; I replied to this mail too, but then I used char *dbQuery instead. What's the difference anyway? Hi there, I think "char foo[n];"

Re: vim or emacs c syntax

1999-03-13 Thread Hossein S. Zadeh
On Sat, 13 Mar 1999, Chris wrote: I was wondering how to make vim do syntax highlighting for C code or emacs and how to set tabs for code. Emacs should distinguish different source codes and switch to the approperaite mode (c-mode, c++-mode, latex-mode, html-mode, etc.). You can check that by