Coding and The Art of Unix Programming633 (2/12/2009 9:24:46 PM) comp.unix.programmer I was reading Eric Raymond's book and became a little confused when he talks of writing Unix "programs". Sometimes he seems to mean stand- alone applications and other times he seems to mean things like "cat".... drhowarddrfine
Proper modularization technique519 (11/10/2008 4:51:12 PM) comp.lang.c I'm unsure the best way to do this. I want to call a function that will generate a string to be used by the calling routine. Where is the best place to store that string? iow: 1) Should I set aside an array ... drhowarddrfine
Static library works everywhere but server335 (7/10/2008 11:59:57 AM) comp.unix.programmer I must be forgetting something (up all night). I installed sqlite database on FreeBSD. Wrote a small piece of code to read two columns and it works. Transferred to an Ubuntu box and recompiled. It works the... drhowarddrfine
Searching a small file database1435 (6/24/2008 4:36:11 PM) comp.unix.programmer I don't want to use a db manager, like mysql, for such a small database but I'm finding this trickier than I thought and hope someone can provide some guidance. I have a restaurant menu with prices and other i... drhowarddrfine
Searching a small file database911 (6/24/2008 4:35:09 PM) comp.lang.c I don't want to use a db manager, like mysql, for such a small database but I'm finding this trickier than I thought and hope someone can provide some guidance. I have a restaurant menu with prices and other i... drhowarddrfine
Compile differences between Linux and FreeBSD652 (4/23/2008 1:00:14 PM) comp.unix.programmer I have a program that runs fine on FreeBSD but yesterday I transferred it over to a linux box and it failed. (Actually it's a web server on a shared host). What is happening is a run time linker utility is in /... drhowarddrfine
How to examine library functions in BSD?238 (1/10/2008 4:45:36 AM) comp.unix.programmer When I did some Windows programming, I had some utilities that would show info about the system libraries; library calls available, arguments, miscellaneous information. I know this worked on Windows system li... drhowarddrfine
Porting Windows program to BSD540 (12/27/2007 2:15:20 AM) comp.lang.c I have an open source Windows program I would like to port to FreeBSD. I tried compiling it 'as is' and, so far, it only trips up on MS/Windows definitions, such as 'ulong'. Is there a cross-check list to fin... drhowarddrfine
Porting Windows program to BSD537 (12/26/2007 6:13:00 AM) comp.unix.programmer I have an open source Windows program I would like to port to FreeBSD. I tried compiling it 'as is' and, so far, it only trips up on MS/Windows definitions, such as 'ulong'. Is there a cross-check list to fin... drhowarddrfine
Another pointer to array inside struct243 (12/15/2007 1:07:56 AM) comp.lang.c Is there a better way to do this? At the end of this code, instead of copying all the pointers from milk[0] to my_milk[0], and so on, I'm sure there is a way to just make my_milk[]=milk[]? typedef char *Milk[... drhowarddrfine
Compile differences between Linux and FreeBSD652 (4/23/2008 1:00:14 PM) comp.unix.programmer I have a program that runs fine on FreeBSD but yesterday I transferred it over to a linux box and it failed. (Actually it's a web server on a shared host). What is happening is a run time linker utility is in /... robbelics(41)
Searching a small file database911 (6/24/2008 4:35:09 PM) comp.lang.c I don't want to use a db manager, like mysql, for such a small database but I'm finding this trickier than I thought and hope someone can provide some guidance. I have a restaurant menu with prices and other i... robbelics(41)
Searching a small file database1435 (6/24/2008 4:36:11 PM) comp.unix.programmer I don't want to use a db manager, like mysql, for such a small database but I'm finding this trickier than I thought and hope someone can provide some guidance. I have a restaurant menu with prices and other i... robbelics(41)
Static library works everywhere but server335 (7/10/2008 11:59:57 AM) comp.unix.programmer I must be forgetting something (up all night). I installed sqlite database on FreeBSD. Wrote a small piece of code to read two columns and it works. Transferred to an Ubuntu box and recompiled. It works the... robbelics(41)
Proper modularization technique519 (11/10/2008 4:51:12 PM) comp.lang.c I'm unsure the best way to do this. I want to call a function that will generate a string to be used by the calling routine. Where is the best place to store that string? iow: 1) Should I set aside an array ... robbelics(41)
Coding and The Art of Unix Programming633 (2/12/2009 9:24:46 PM) comp.unix.programmer I was reading Eric Raymond's book and became a little confused when he talks of writing Unix "programs". Sometimes he seems to mean stand- alone applications and other times he seems to mean things like "cat".... robbelics(41)
Pointer to array inside a struct429 (12/14/2007 10:55:23 PM) comp.lang.c What am I forgetting here. It's the last thing I have to fix after a day of coding. char *box[]={ "red","blue","green" }; struct item{ char **container[3]; }; struct item *item[10]; I want to set item[0]->c... robbelics(41)
Another pointer to array inside struct243 (12/15/2007 1:07:56 AM) comp.lang.c Is there a better way to do this? At the end of this code, instead of copying all the pointers from milk[0] to my_milk[0], and so on, I'm sure there is a way to just make my_milk[]=milk[]? typedef char *Milk[... robbelics(41)
Porting Windows program to BSD540 (12/27/2007 2:15:20 AM) comp.lang.c I have an open source Windows program I would like to port to FreeBSD. I tried compiling it 'as is' and, so far, it only trips up on MS/Windows definitions, such as 'ulong'. Is there a cross-check list to fin... robbelics(41)
How to examine library functions in BSD?238 (1/10/2008 4:45:36 AM) comp.unix.programmer When I did some Windows programming, I had some utilities that would show info about the system libraries; library calls available, arguments, miscellaneous information. I know this worked on Windows system li... robbelics(41)