Why not learn c# for linux ?
I am and its great! Check out:
http://www.dotgnu.org
-Original Message-
From: Lazor, Ed [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2003 2:43 PM
To: [EMAIL PROTECTED]
Subject: RE: C Programming
I'm not new to programming, but it's been y
On Fri, 2003-06-27 at 15:05, Lazor, Ed wrote:
> Know of any good mailing lists for C Programming on RedHat
A great resource for C and C++ programming. Some of these guys are
really good.
http://www.cprogramming.com/board.html
I've never found anything specific to Redhat in C programming - t
I'm not new to programming, but it's been years since I coded in C. I'm working with
a pre-established project done in C.
Thanks in advance for any advice you have.
-Ed
> -Original Message-
> How do you find the max index of an array?
>
> Depends on whether or not the array is null t
Lazor, Ed wrote:
Both actually.
The specific question I'm trying to answer right now is... How do find the max index of an array?
Depends on whether or not the array is null terminated. :)
C is not a language I'd recommend to new programmers. Have you
considered learning Python, or do you have
The http://vger.kernel.org/majordomo-info.html list called
linux-c-programming has very low traffic and people that are with linux
from its beggining and are willing to help anyone.
Lazor, Ed wrote:
Both actually.
The specific question I'm trying to answer right now is... How do find the max
You pass it as a function argument.
If you declared the array within the block you are trying to access it,
you can use sizeof() to get the total bytecount (not the number of
elements). However, if you pass it to a function, sizeof() will just
return the size of a pointer on your machine (probabl
On Friday 27 June 2003 21:30, Lazor, Ed wrote:
> Both actually.
>
> The specific question I'm trying to answer right now is... How do
> find the max index of an array?
>
> I tend to come up with a lot of questions like that as I'm learning
> and any mailing lists would be helpful. I'm doing networ
Both actually.
The specific question I'm trying to answer right now is... How do find the max index
of an array?
I tend to come up with a lot of questions like that as I'm learning and any mailing
lists would be helpful. I'm doing network programming on a RedHat box, so I'm
assuming RedHat sp
On Friday 27 June 2003 21:05, Lazor, Ed wrote:
> Know of any good mailing lists for C Programming on RedHat?
> -Ed
That's kind of a tall order there Ed. Are you looking for beginner's
level programming to learn the 'C' language or somthing that'll help
with the finer intracacies of the "Red H
Some of my programs use regcomp/regexec on RH7 and I've not seen a
problem. Memory problems can be most insidious .. you might want to
compile against something like efence or (if you've the luxury of a platform
supporting it), Purify.
- Bruce
Rick Forrister wrote:
> Am having a problem w
Can anyone recommend a good c programming newsgroup for general questions
and queries. NH
--
>From: Sam Bayne <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: C programming question...[OT]
>Date: Fri, May 5, 2000, 3:42 am
>
>First of all, thank everyone
Sam Bayne wrote:
> Hee hee, perl doesn't have pointers, but it DOES have references.
Really? I thought those were new in Perl 5.6.
> they have some idiot protections WRT segfault.) The thing that is really
> confusing about C's pointers is not the "they're memory locations"
> thing,
> it's the
On Fri, May 05, 2000 at 01:24:30PM -0400, rpjday wrote:
> On Fri, 5 May 2000, Ken Gosier wrote:
>
> >
> > --- Steve Borho <[EMAIL PROTECTED]> wrote:
> > > Speaking to just pure style, though, that while loop
> > > reminds me of the
> > > most efficient C snippet I've ever seen. It's the
> > > s
On Fri, 5 May 2000, Ken Gosier wrote:
>
> --- Steve Borho <[EMAIL PROTECTED]> wrote:
> > Speaking to just pure style, though, that while loop
> > reminds me of the
> > most efficient C snippet I've ever seen. It's the
> > standard implementation
> > of strcpy.
> >
> > for (;*s;)
> >
> --- Steve Borho <[EMAIL PROTECTED]> wrote:
> > Speaking to just pure style, though, that while loop
> > reminds me of the
> > most efficient C snippet I've ever seen. It's the
> > standard implementation
> > of strcpy.
> >
> > for (;*s;)
> > *d++ = *s++;
>
>
> One question about th
--- Steve Borho <[EMAIL PROTECTED]> wrote:
> Speaking to just pure style, though, that while loop
> reminds me of the
> most efficient C snippet I've ever seen. It's the
> standard implementation
> of strcpy.
>
> for (;*s;)
> *d++ = *s++;
One question about this code snippet: Won't
First of all, thank everyone for helping me out with idiotic basic
questions.
Gordon Messmer wrote:
>
> 1) No, the programmers declared an array of 5 character pointers, not
> an array of 5 characters. Perl 5 doesn't have pointers, so I understand
> your confusion :) They're one of the things
> #define MAXARG 4
> static char *dirs[MAXARG+1];
a 5 element array of pointers to characters (strings).
> ac--; av++;
> if (ac==0) dirs[0] = "/tftpboot"; /* default directory */
> while (ac-- > 0 && n < MAXARG)
> dirs[n++] = *av++;
> 1
On Thu, May 04, 2000 at 05:23:37PM -0700, Sam Bayne wrote:
> while (ac-- > 0 && n < MAXARG)
> dirs[n++] = *av++;
>
> 3. Stylistically, is that 'while' statement normal? It looks to
> me like a syntax mistake waiting to happen, but I'll code
> to th
1) No, the programmers declared an array of 5 character pointers, not
an array of 5 characters. Perl 5 doesn't have pointers, so I understand
your confusion :) They're one of the things that non-C programmers
bitch about. (If you don't understand pointers, using them is a quick
way to a segfau
On Thu, May 04, 2000 at 05:23:37PM -0700, Sam Bayne wrote:
> So There I am, rooting around in the source to the tftpd server
> (never you mind why) when I see this:
>
> -
> #define MAXARG 4
> static char *dirs[MAXARG+1];
>
> int
> main(int ac, char *
Once upon a time Edmunds, Keith wrote:
>
> On Friday, April 10, 1998 2:46 PM, Jacek Andreas Matulla
> [SMTP:[EMAIL PROTECTED]] wrote:
> > well I know someone who wants to learn C++ or C programming. As I just use
> > Linux, I have no idea about programming
>
> On the whole C programmers fall
On Friday, April 10, 1998 2:46 PM, Jacek Andreas Matulla
[SMTP:[EMAIL PROTECTED]] wrote:
> well I know someone who wants to learn C++ or C programming. As I just use
> Linux, I have no idea about programming
On the whole C programmers fall into two categories: those who started
out by getting
> "elg" == "Eric L Green <[EMAIL PROTECTED]>" <[EMAIL PROTECTED]> writes:
elg> No, but Kernighan and Ritchie, "The 'C' Programming Language",
elg> is. It's the kind of book they don't make anymore -- slim,
elg> concise, thorough, accurate. Most books today remind me of
elg> Oprah on
On Mon, 13 Apr 1998, Eric L. Green <[EMAIL PROTECTED]> wrote:
> On Fri, 10 Apr 1998, Mike Bridge wrote:
> > My most-used C reference book is Harbison & Steele's "C: A Reference Manual",
> > but it's not really a good introductory book.
> No, but Kernighan and Ritchie, "The 'C' Programming Lang
On Fri, 10 Apr 1998, Mike Bridge wrote:
> My most-used C reference book is Harbison & Steele's "C: A Reference Manual",
> but it's not really a good introductory book.
No, but Kernighan and Ritchie, "The 'C' Programming Language", is.
It's the kind of book they don't make anymore -- slim, concis
> Date: Fri, 10 Apr 1998 12:21:25 EDT
> From: GBNSCHBACH <[EMAIL PROTECTED]>
> To:[EMAIL PROTECTED]
> Subject: Re: C programming..HOWTO begin...?
> Since Unix C and Windows C are different, start with Linux and get
>
Since Unix C and Windows C are different, start with Linux and get
Steve Kochan's book Programming in C, later on get Topics in C.
Another good book is Kelly and Pohl - A book on C.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.
28 matches
Mail list logo