UDB and pointer increments and decrements1226 (9/23/2008 3:44:29 PM) comp.lang.c I'm still battling with this causing UDB: while(e-- > s); if s points to the start of a string and e becomes less than s then e is not really pointing to defined char. Fine. But UDB? Yes, e has an UDV (und... Richard
Your view of FAQ section.1225 (6/2/2007 11:21:52 PM) comp.lang.c One of the most repeatedly given pointers is to http://c-faq.com/aryptr/aryptr2.html which discusses pointers and arrays and the subtle differences between char a[] = "hello"; char *p = "wor... Richard
Online "flat" ISO C resource wanted.1526 (5/31/2007 12:09:14 AM) comp.lang.c Can anyone recommend a good online resource listing all C keywords, standard system calls, defines etc in a "flat" hierarchy. I wish to set up some bindings in order to bring up "hints and tips" on using such... Richard
address of functions331 (2/20/2007 9:53:14 PM) comp.lang.php Is it possible to store the address or reference to a function in php? Maybe using just a string and later dereferencing it? e.g some ideas to illustrate what I mean -- ... Richard
locale250 (2/19/2007 12:59:50 PM) comp.lang.php I am finding a lot of confusing information with regard to date & time locale. I wish to display the local client time on a web page. What is the recommended way of going about this? How does the server know ... Richard
month and day of month edit fields827 (2/19/2007 12:45:26 PM) comp.lang.php I wish to have a month select and next to it a day select. Is there no way at all for the day field to pick up the selected month without a previous submit on the part of the user? ... Richard
Functions v includes626 (2/16/2007 1:00:27 PM) comp.lang.php I am new to php and am looking for some quick "get up and go" help. What would the arguments for and against be for function declarations v simple include? e.g and Does PHP cache the functions? Must fu... Richard
array sort336 (2/15/2007 8:41:26 PM) comp.lang.php How to sort an array without replacing the indices? I have an array indexed by a timestamp and wish to sort based on that in numeric ascending order. thanks for any advice. ... Richard
parse two field file632 (12/17/2006 12:10:16 AM) comp.lang.c Which way would you guys recommened to best parse a multiline file which contains two fields seperated by a tab. In this case its the linux/proc/filesystems file a sample of which I have included below: nodev... Richard
sizeof #34225 (8/10/2006 2:28:54 PM) comp.lang.c Could someone point me to why "sizeof x" is/isnt preferable to "sizeof(x)", ... Richard
Layered Open Source Software in C949 (10/14/2008 8:53:50 PM) comp.lang.c Sorry if this has been asked before. Does anyone know of any modern examples of open source software implemented in ANSI-C using a truly layered architecture (preferably in an OO fashion)? I'd like to get a f... shreyasbharath(2)
Debugging memory leaks3437 (10/14/2008 10:03:07 PM) comp.lang.c Hello! I made a short piece of code that I find very useful for debugging, and I wanted to ask you if it is correct, somehow acceptable or if I simply reinvented the wheel. To deal with some bad bugs caused by ... fmassei(45)
Infrequently asked questions4546 (10/15/2008 10:46:20 PM) comp.lang.c In his web pages, D. E. Knuth wrote this: (http://www-cs-faculty.stanford.edu/~knuth/iaq.html) Infrequently Asked Questions 1. Why does my country have the right to be occupying Iraq? 2. Why should my... jacob4111(1334)
Yet another brute force sudoku solver3940 (10/16/2008 2:08:02 PM) comp.lang.c Hello group, I've been toying with a simple sudoku[1] solver. I meant for the code to be short and easy to understand. I figured "brute force is simple" -- who needs finesse, when you've got muscle, right? :... Boon
Memory alignment #86626 (10/3/2008 5:47:52 PM) comp.lang.c typedef struct some_struct { int i; short k, int m; char s[1]; } some_struct_t; Assuming 16 bit or 32-bit alignment, can I assume that s always gets 4 or 8 bytes of allocation due to padding in... ytlim1(236)
C Slower than Python?3437 (10/8/2008 11:26:41 AM) comp.lang.c I'd been benchmarking my own pet language against Python for manipulation of short strings. This tested the expression a=b+c for strings, and the Python code looks like: b="abc" c="xyz" for i in xrange(1000000... bc(2209)
.lib1932 (10/9/2008 10:20:42 AM) comp.lang.c I am gooc in C and can handle thread, socket programming. My compiler has no native support for FTP,HTTP, etc. So I am dependent upon curl and ftplib for FTP implementation in my application. I am ignorant abo... lipun4u(226)
thousands of request in one port per second3124 (10/9/2008 2:32:08 PM) comp.lang.c Greetings All, i think this is the right group to post this question. i am working on client server model. in this model the client is sending request in thousands in number. for example per sec around 2000 t... visitprakashindia(15)
atoi return5029 (10/10/2008 3:27:18 AM) comp.lang.c I have just read atoi() returns no errors. It returns an int though and the value of the int is supposed to be the value of the conversion. It seems to me that right there tells you if there was success o... nospam116(1187)
[not quite ot] what language is this??2226 (10/13/2008 7:22:07 PM) comp.lang.c 2000 LDM 0, 1004 // R0 = a // 2004 LDM 2, 1008 // R2 = b // 2008 MUL 0, 2 // R0 = a * b // 2010 LDM 1, 1012 // R1 = c // 2014 LDM 2, 1016 // R2 = d // 2018 MUL 1, 2 // R1 = c * d // 2020 SUB 0, 1 // R0 = a * b ... felipevaldez(51)