Search Results

Search: Posts Made By: garysk
Forum: Programming 12-17-2012
5,011
Posted By garysk
Yeah, I know, and I have used tightly typed...
Yeah, I know, and I have used tightly typed languages a time or two (just) and found the discipline too hard to take. You have to start at the very basest of fundamentals with a strongly typed...
Forum: Programming 12-17-2012
5,011
Posted By garysk
At the time that I posted it, I did know that...
At the time that I posted it, I did know that assigning to an array was bad, but I didn't think/know/relying-on-memory that I was doing so. In subsequent investigation (while waiting for helpful...
Forum: Programming 12-17-2012
5,011
Posted By garysk
Thank you, Achenle, for reiterating this point. ...
Thank you, Achenle, for reiterating this point. This point was made in the original post. Obviously, the constant address that is symbolized by the name of the member cannot be changed. The...
Forum: Programming 12-16-2012
5,011
Posted By garysk
Don, a million thanks for your cogent reply. ...
Don, a million thanks for your cogent reply.

'Pon our systems, NULL the pointer is defined as (void *)0. NUL the character is (char)0. This is why I have been saying, as you do below, it would...
Forum: Programming 12-16-2012
5,011
Posted By garysk
As I pointed out in my reply to @jimmacnamara,...
As I pointed out in my reply to @jimmacnamara, there was no overflow. By means of logic that is not obvious to me, the compiler made certain decisions, which resulted in two things:

1. The data...
Forum: Programming 12-15-2012
5,011
Posted By garysk
Thanks for your input, Jim (quoted below). ...
Thanks for your input, Jim (quoted below).

Things to note: my understanding was that each comma-separated initializer was taken to be THE data for EACH individual structure member, not just...
Forum: Programming 12-15-2012
5,011
Posted By garysk
C- static initialization of structures
Situation:
I have an array of structures:
struct my_struct_type {
char tags_sn[5];
char group_c;
char is_err_c;
};
struct my_struct_type stuff[] = {
...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 01:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy