Question about enum1731 (7/8/2011 1:16:35 AM) comp.lang.c In alt.os.linux, I just encountered a post regarding debugging of a C program (source supplied). I won't trouble the group with the code in question, but I do have a question of my own about the code. The prog... Lew
Re: (part 21) Han from China answers your C questions3737 (11/14/2008 8:11:55 PM) comp.lang.c On November 14, 2008 15:00, in comp.lang.c, Nomen Nescio (nobody@dizum.com) wrote: > its urgent.pls help me. > > mona said: >> hi,i urgently need a project including graphics,pointers. [snip] > In the meantim... Lew
re: struct437 (11/12/2008 6:49:54 PM) comp.lang.c (having trouble getting my reply through - hopefully, third time is a charm) On November 11, 2008 19:53, in comp.lang.c, BIll Cunningham (nospam@nspam.invalid) wrote: > > "Lew Pitcher" wrote in message > ne... Lew
What is the meaning of this test expression1823 (4/4/2013 11:00:54 PM) comp.unix.shell I have been reading the man pages for test(1), bash(1) and dash(1), but I can't figure out the meaning of this test :
[ `echo hi` > /dev/null ]
According to the man pages, there are two types of condi... gp8193(3)
Running command-line script via ssh remote324 (3/28/2013 8:14:03 PM) comp.unix.shell The remote login shell is csh. How do I get the desired output, which is
1
2
3
$ ssh remote 'bash -c "for f in 1 2 3; do echo $f; done"'
f: Undefined variable.
$ ssh remote 'bash -c "for f in 1 2 3; d... hslee911(53)
Converting Equations To Graphics817 (3/24/2013 9:25:53 PM) comp.lang.c Hi, I have a question about converting mathematical equations to
graphics in the C programming language:
Let's say I want an image of a dragon, and I want to use mathematical
equations to represent this im... briansipler(14)
Unary minus and bitwise complement2519 (3/19/2013 2:49:42 PM) comp.lang.c Hello,
Considering a properly initialized unsigned int variable v,
are -v and ~(v-1) equivalent for any value of v, even on
the DS9k?
(let mean "are equivalent for any value of v")
According to C89 ... Noob
sscanf up to 127 characters into a buffer?2027 (3/14/2013 7:03:01 PM) comp.lang.c Is this sscanf adequate to prevent a buffer overflow if
the input text field is >127 characters in length? The goal
is to put everything from the first character of the text
following the 3 floats to the en... dmathog(164)
meanning of the for loop820 (3/13/2013 4:41:12 PM) comp.lang.c Hello friends,
I encountered a C code(not by me, obviously) which uses:
gchar *key, *val, **kiter;
gint i;
char *keys[] = {"id", "type", "author", "year",NULL};
g_hash_table_iter_init (&iter, tabl... bnrj.rudra(344)
awk output - consolidate duplicates728 (3/8/2013 2:59:54 AM) comp.unix.shell Hi All,
I have a one-liner awk script which extracts info from
an infile with tons of records.
find . -name infile -exec awk -v RS='\r' -F'|' 'BEGIN {print
f "%s\t%s\t%s\n","Accession","PHN","OBR4"}... harryooopotter(39)
Selective relaying58 (5/8/2013 7:20:09 PM) comp.mail.sendmail I have a sendmail server at home which I use for dealing with
emails from users in a domain of my own. I have configured it so that it
will only relay email from other PCs in my LAN at home, and from one o... noEmail4194(30)
fetch items from a row116 (5/3/2013 7:55:58 PM) comp.lang.php
How would I change the '42' value to a string value based upon the value
retrieved from using $_GET('number')?
... noreply941(189)
Rejecting Certain Non-ASCII Characters4813 (4/19/2013 4:16:38 PM) comp.lang.php
I have a problem with people entering a slashed zero vs a standard
ASCII zero into HTML forms intended to store data in a MySQL database.
Is there a simple way in PHP to restrict input to the ASCII Charac... ILikeMy(7)