Thanks to all who contributed to this thread, especially to Boyd.
--
.''`. Stephen Powell
: :' :
`. `'`
`-
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive:
http://lists.debi
On Fri, 16 Apr 2010 14:13:36 -0400 (EDT), Boyd Stephen Smith Jr. wrote:
> Stephen Powell wrote:
>> I'm going to be filing a bug report against parted for (a) miscalculating
>> the starting block of the implicit partition on an ldl (Linux Disk Layout)
>> formatted disk on the s390 architecture when
In <1876691691.55741.1271378240260.javamail.r...@md01.wow.synacor.com>,
Stephen Powell wrote:
>I'm going to be filing a bug report against parted for (a) miscalculating
> the starting block of the implicit partition on an ldl (Linux Disk Layout)
> formatted disk on the s390 architecture when the b
On Thu, 15 Apr 2010 21:09:43 -0400 (EDT), Stephen Powell wrote:
> On Thu, 15 Apr 2010 20:43:21 -0400 (EDT), Ron Johnson wrote:
>> On 2010-04-15 19:37, Stephen Powell wrote:
>>>
>>> I'm going to be filing a bug report against parted for (a) miscalculating
>>> the starting block of the implicit part
On Thu, 15 Apr 2010 20:43:21 -0400 (EDT), Ron Johnson wrote:
> On 2010-04-15 19:37, Stephen Powell wrote:
>>
>> I'm going to be filing a bug report against parted for (a) miscalculating
>> the starting block of the implicit partition on an ldl (Linux Disk Layout)
>> formatted disk on the s390 arch
On 2010-04-15 19:37, Stephen Powell wrote:
[snip]
I'm going to be filing a bug report against parted for (a) miscalculating the
starting
block of the implicit partition on an ldl (Linux Disk Layout) formatted disk on
the
s390 architecture when the block size is other than 4096, and (b) no supp
On Thu, 15 Apr 2010 17:39:42 -0400 (EDT), Boyd Stephen Smith Jr. wrote:
> Stephen Powell wrote:
>> In short, I need to
>> (a) declare "cms_label" as a based structure,
>
> (above; trimmmed)
>>
>> (b)
>> declare a pointer variable called "cms_ptr" and associate it with the
>> "cms_label" structure,
On Thursday 15 April 2010 13:56:00 Stephen Powell wrote:
> On Wed, 14 Apr 2010 23:10:55 -0400 (EDT), Boyd Stephen Smith Jr. wrote:
> > On Tuesday 13 April 2010 17:16:03 Stephen Powell wrote:
> >> What I need to do is to have two structures overlay each other; so that
> >> they occupy the same stor
On Wed, 14 Apr 2010 23:10:55 -0400 (EDT), Boyd Stephen Smith Jr. wrote:
> On Tuesday 13 April 2010 17:16:03 Stephen Powell wrote:
>> What I need to do is to have two structures overlay each other; so that
>> they occupy the same storage. To be specific, here is a structure which
>> describes the
On Tuesday 13 April 2010 17:16:03 Stephen Powell wrote:
> What I need to do is to have two structures overlay each other; so that
> they occupy the same storage. To be specific, here is a structure which
> describes the volume label for an OS-formatted disk:
>
> struct __attribute__ ((packed))
On 20100414_123342, Ron Johnson wrote:
> On 2010-04-14 09:31, Paul E Condon wrote:
> [snip]
> >
> >non-obvious --- to the point that there was an open contest with
> >prizes awarded for the most obfuscated example of C code. The prizes
> >went to the code for which the judges were most surprised on
Ron Johnson wrote:
[snip]
http://www1.us.ioccc.org/main.html I guess they got bored looking at
normal production C code...
Sometimes, I find the code there even more impressive:
http://underhanded.xcott.com/
It's even more restricted, and not so pointless. Hiding in plain sight,
beaut
Ron Johnson writes:
> Unions have been in C for at least 20 years; probably since the Early
> Days.
Unions are in the first edition of K&R.
--
John Hasler
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian
On 2010-04-14 09:31, Paul E Condon wrote:
[snip]
non-obvious --- to the point that there was an open contest with
prizes awarded for the most obfuscated example of C code. The prizes
went to the code for which the judges were most surprised on seeing
it run after they read the code and tried to
Stephen Powell wrote:
I realize that this is not a C forum, per se, but this is a Debian-specific
C question. I am trying to add support to the parted utility for CMS-formatted
disks on the s390 architecture. The source code is written in C, of course.
But I am not a C programmer. I can spell
On 20100413_193540, Robert Baron wrote:
> What a great little learning project.
>
> My suggestion is to work out a simpler version of what you are trying to do:
>
> typedef struct {
> unsigned short rec_type;
> long data;
> } type1;
>
> typedef struct {
> unsigned short rec_type;
>
What a great little learning project.
My suggestion is to work out a simpler version of what you are trying to do:
typedef struct {
unsigned short rec_type;
long data;
} type1;
typedef struct {
unsigned short rec_type;
char data[4];
} type2;
.
some_type *chunk_of_mem;
long
> Tue, 13 Apr 2010 17:29:51 -0500 wrote:
>
> On 2010-04-13 17:16, Stephen Powell wrote:
> > I realize that this is not a C forum, per se, but this is a Debian-specific
> > C question. I am trying to add support to the parted utility for
> > CMS-formatted
> [snip]
> >
> > I know how to do this
On 2010-04-13 17:16, Stephen Powell wrote:
I realize that this is not a C forum, per se, but this is a Debian-specific
C question. I am trying to add support to the parted utility for CMS-formatted
[snip]
I know how to do this in PL/I, but despite having spent the last two hours
paging throug
I realize that this is not a C forum, per se, but this is a Debian-specific
C question. I am trying to add support to the parted utility for CMS-formatted
disks on the s390 architecture. The source code is written in C, of course.
But I am not a C programmer. I can spell C, but that's about it.
> "Sean 'Shaleh' Perry" <[EMAIL PROTECTED]> writes:
>
> > >
> > > Two questions:
> > > 1. Is there a C programming tutor list that's recommended?
> >
> > I have not seen any good C(++) mailing lists, there were news groups but i
> > do
> > not know if they still exist (comp.lang.*).
>
> The co
On Tue Apr 30, 2002 at 10:02:27AM -0500, Grant Edwards wrote:
> On Tue, Apr 30, 2002 at 08:54:28AM +0100, Patrick Kirk wrote:
>
> > On Tue, Apr 30, 2002 at 12:01:11AM -0500, Grant Edwards wrote:
> > >On Mon, Apr 29, 2002 at 09:10:42PM +0100, Patrick Kirk wrote:
> > [..]
> > >You're learning C and
On Tue, Apr 30, 2002 at 04:13:13PM -0700, Brian Nelson wrote:
> "Sean 'Shaleh' Perry" <[EMAIL PROTECTED]> writes:
>
> > >
> > > Two questions:
> > > 1. Is there a C programming tutor list that's recommended?
> >
> > I have not seen any good C(++) mailing lists, there were news groups but i
> >
"Sean 'Shaleh' Perry" <[EMAIL PROTECTED]> writes:
> >
> > Two questions:
> > 1. Is there a C programming tutor list that's recommended?
>
> I have not seen any good C(++) mailing lists, there were news groups but i do
> not know if they still exist (comp.lang.*).
The comp.lang.* groups are stil
On Mon, Apr 29, 2002 at 09:53:44PM -0700, Sean 'Shaleh' Perry wrote:
> ncurses programs are almost always icky. Consider: mutt, any
> of the console web browsers, dselect.
>
> There is an O'Reilly book on curses. You could start there.
I've got the O'Reilly book. I don't recommend it. It's l
On Tue, Apr 30, 2002 at 08:54:28AM +0100, Patrick Kirk wrote:
> On Tue, Apr 30, 2002 at 12:01:11AM -0500, Grant Edwards wrote:
> >On Mon, Apr 29, 2002 at 09:10:42PM +0100, Patrick Kirk wrote:
> [..]
> >You're learning C and ypu started with a curses/forms app?
> >Curses (and esp the SysV form stuf
On Tue, Apr 30, 2002 at 12:01:11AM -0500, Grant Edwards wrote:
>On Mon, Apr 29, 2002 at 09:10:42PM +0100, Patrick Kirk wrote:
[..]
>You're learning C and ypu started with a curses/forms app?
>Curses (and esp the SysV form stuff) is getting to be pretty
>arcane stuff these days. There are a few peop
On Mon, Apr 29, 2002 at 09:10:42PM +0100, Patrick Kirk wrote:
> I'm trying to teach myself C and am writing as little PIM to go with
> mutt in console mode.
>
> 1. Is there a C programming tutor list that's recommended?
> 2. Does anyone know of a ncurses C program that really uses forms
> and is
>
> Two questions:
> 1. Is there a C programming tutor list that's recommended?
I have not seen any good C(++) mailing lists, there were news groups but i do
not know if they still exist (comp.lang.*).
> 2. Does anyone know of a ncurses C program that really uses forms
> and is well commented?
On Mon, Apr 29, 2002 at 09:10:42PM +0100, Patrick Kirk wrote:
> Hi all,
>
> I'm trying to teach myself C and am writing as little PIM to go with
> mutt in console mode.
>
> To date, my only programming type experience has been developing
> mult-user databases for contact management in VBA.
>
> I
Hi all,
I'm trying to teach myself C and am writing as little PIM to go with
mutt in console mode.
To date, my only programming type experience has been developing
mult-user databases for contact management in VBA.
In VBA, forms have fields and fields have events like OnEnter() and
OnExit(). I
Fix below:
Keith wrote:
> I am trying to fumble through learning how to do some C programming.
> In the book I am using, Beginning Linux Programming they are now trying
> to use ncurses. I am getting the following errors when I try to compile
> my source. I am compiling with this command:
>
> $ c
I am trying to fumble through learning how to do some C programming.
In the book I am using, Beginning Linux Programming they are now trying
to use ncurses. I am getting the following errors when I try to compile
my source. I am compiling with this command:
$ cc -o screenmenu screenmenu.c -lncurs
33 matches
Mail list logo