inttypes.h33 (4/27/2013 9:43:40 PM) comp.lang.c I am not really to my knowledge ever going to use these but there are
macros from inttypes.h called PRIxxx and SCNxxx what are thet for. They are
specific to the fprintf and printf family of functions. ... Bill
pointer question #112326 (3/16/2013 11:41:20 PM) comp.lang.c I want to take a value stored in an int use a pointer to move it to
another int variable using a int **. Would this be the right or a usable
technique? I know how of course to use a pointer to an int to... Bill
allocating memory for pointee166 (1/16/2013 9:16:37 PM) comp.lang.c I have been trying to understand dereferncing better and came across a
tutorial that showed this.
int *x;
pointer allocated /does that allocate memory for an int/
or do I need to add this?
x=mallo... Bill
time #33626 (11/20/2012 12:11:41 AM) comp.lang.c I am using the time and date in my code using asctime () time(), and
localtime(). I know in POSIX they are obsolete but I am concerned with
c89-99. strftime() is suppoed to be the function used now. I g... Bill
stylistic question1624 (11/10/2012 9:24:58 PM) comp.lang.c I thought I would submit this function I wrote to the group for opinions
on style. The function itself seems to work. I know sometimes not returning
anything can lead to undefined behavior but with main... Bill
simple C question3725 (11/4/2012 9:17:13 PM) comp.lang.c I have looked all over the internet for a tutorial on how to do this
because I've forgot because I usually manually load arrays. But in such a
case where say someone has an array with 100 elements I wan... Bill
kandr2 question8435 (10/30/2012 10:10:09 PM) comp.lang.c �1.9 page 29 has this function.
int getline (char s[], int lim)
Unless I'm missing something here to pass an array shoudn't that first
parameter be char *s ?
Bill
... Bill
lerning perl1932 (10/30/2012 2:01:20 AM) comp.lang.perl.misc Is the best way to learn perl to start with perlintro and then move in a
sequence through the tutorials? Where can I get the meanings of the
functions? man open works with the unix API and man fopen wit... Bill
array #22940 (10/29/2012 8:01:15 PM) comp.lang.perl.misc What's wrong in this code?
use strict;
use warnings;
my @cats=["striper","snowball"];
print $cats[0];
print $cats[1];
Bill
... Bill
add bytes to file2333 (9/30/2012 7:40:08 PM) comp.lang.c Can someone show me how to add 3 or so bytes to the end of a file? I
have been studying and I'm thinking fseek() and fgetc() might be involved. I
can't seem to find any examples online unless I'm overlo... Bill
kandr2 question8435 (10/30/2012 10:10:09 PM) comp.lang.c �1.9 page 29 has this function.
int getline (char s[], int lim)
Unless I'm missing something here to pass an array shoudn't that first
parameter be char *s ?
Bill
... nospam116(1187)
simple C question3725 (11/4/2012 9:17:13 PM) comp.lang.c I have looked all over the internet for a tutorial on how to do this
because I've forgot because I usually manually load arrays. But in such a
case where say someone has an array with 100 elements I wan... nospam116(1187)
sqrtl(), etc. for Cygwin2929 (11/7/2012 6:40:56 PM) comp.lang.c I've been using Cygwin lately, and am largely satisfied.
It has gcc, but lacks sqrtl(), atan2l(), etc.
What's the recommended remedy?
I Googled "source sqrtl" and got to codeforge.com
but only AFTER passi... jdallen2000(489)
ADV: Book: The Bible Explained216 (11/10/2012 9:48:17 AM) comp.lang.c ADV: Book: The Bible Explained
Recently published book available for sale.
Details follow:
-----
THE BIBLE EXPLAINED
A Guide to the Holy Bible
for Parents and Teenagers
-----
Where did you c... voice1(5)
stylistic question1624 (11/10/2012 9:24:58 PM) comp.lang.c I thought I would submit this function I wrote to the group for opinions
on style. The function itself seems to work. I know sometimes not returning
anything can lead to undefined behavior but with main... nospam116(1187)
time #33626 (11/20/2012 12:11:41 AM) comp.lang.c I am using the time and date in my code using asctime () time(), and
localtime(). I know in POSIX they are obsolete but I am concerned with
c89-99. strftime() is suppoed to be the function used now. I g... nospam116(1187)
newbie: socket api1324 (12/26/2012 9:56:26 PM) comp.lang.c++ Hi there,
I use the socket-API. My Problem is:
I have a function (yes, a function not a method). And I want return either the struct sockaddr_in or sockaddr_in6. How can do this? I tried a void-pointer b... tokauf(10)
allocating memory for pointee166 (1/16/2013 9:16:37 PM) comp.lang.c I have been trying to understand dereferncing better and came across a
tutorial that showed this.
int *x;
pointer allocated /does that allocate memory for an int/
or do I need to add this?
x=mallo... nospam116(1187)
pointer question #112326 (3/16/2013 11:41:20 PM) comp.lang.c I want to take a value stored in an int use a pointer to move it to
another int variable using a int **. Would this be the right or a usable
technique? I know how of course to use a pointer to an int to... nospam116(1187)
inttypes.h33 (4/27/2013 9:43:40 PM) comp.lang.c I am not really to my knowledge ever going to use these but there are
macros from inttypes.h called PRIxxx and SCNxxx what are thet for. They are
specific to the fprintf and printf family of functions. ... nospam116(1187)