Since 5/6/2012 8:32:23 PM, jaysome5767 has written 5 articles and participated in 200 conversations. jaysome5767 signature: jaysome5767
jaysome5767's articles:
Items(5) /1
Proficient at C4434 (6/11/2008 6:21:55 AM) comp.lang.c When we are looking to hire C programmers, we inevitably receive resumes from people who claim they are "proficient at C", or something to that extent. For those who claim they are "proficient at C", what are ... jaysome
C Unleashed Chapter 18: Hamming Codes220 (12/18/2007 5:55:59 AM) comp.lang.c In C Unleashed, Chapter 18, in the section titled "Correcting the Errors: Hamming Codes", I was confused by the "(12,4)" reference. In one paragraph, the author says that: "In general, this two-value represent... jaysome
Has ANSI Approved ISO/IEC 9899:1999?5037 (10/23/2007 4:48:19 AM) comp.lang.c It's been almost eight years since ISO/IEC approved ISO/IEC 9899:1999. Does anyone know if ANSI has approved it? A Google search shows arguably confusing answers as to whether ANSI has approved it. For examp... jaysome
Dead Code?437 (10/10/2007 6:30:36 AM) comp.lang.c /* Does main1() have dead code that can never achieve 100% decision coverage? And is main2() a valid way of fixing it so that there is no dead code and the assert() never fires off and 100% decision coverage ca... jaysome
Prototype for main()219 (2/22/2007 8:37:26 AM) comp.lang.c While looking at the source code for gcc today, I noticed that a prototype for main() was declared. From gcc.c: extern int main (int, const char **); int main (int argc, const char **argv) { .... I also noti... jaysome
warning while making cast2143 (6/6/2008 3:04:10 AM) comp.lang.c Hello, given a simple code: #include long hyp(long height, long base) { return sqrt(height * height + base * base); } int main(void) { long h = hyp(10, 20); return 0; } I compile this on Debian 4... mrv(331)
Re-use the argument?6832 (6/7/2008 6:48:49 AM) comp.lang.c Which of these functions would you go with? unsigned Func(unsigned const x) { return 3*x - 2; } or: unsigned Func(unsigned x) { x *= 3; x -= 2; return x;... toe(740)
Proficient at C4434 (6/11/2008 6:21:55 AM) comp.lang.c When we are looking to hire C programmers, we inevitably receive resumes from people who claim they are "proficient at C", or something to that extent. For those who claim they are "proficient at C", what are ... jaysome5767(205)
YAPL - Yet Another Programming Language77132 (6/29/2008 5:27:56 PM) comp.lang.pascal.misc The World Joint Programming Language Standardization Committe (WJPLSC) hereby proclaims to the people of the world that a new programming language is needed for the benefit of the whole mankind in the 21st mill... Adem24
parsing a file error745 (7/1/2008 4:35:46 AM) comp.lang.c when i try to read the first byte from an EXE file it's give different results code: FILE *me,*u; char buf_me[1]; char buf_u[1]; me= fopen(argv[0],"rb"); u= fopen(argv[1],"rb+"); frea... 3D.v.World(26)
Segmentation fault error2026 (7/25/2008 5:17:07 AM) comp.lang.c I am newbie ,in linux/gnu envirement,wrot test file below to see the first argument. #include "stdio.h" void main (int argc, char *argv[]) { printf ("%s", argv[0][1]); } After compiled it, $ ./test ww Segmen... enjoyfate(7)
How to replace parts of a string with something else924 (12/11/2008 6:10:05 AM) comp.lang.c sorry for the naive question, as I am new to C. But is there a simple and elegant way to replce parts of a string (if one knows the start position and number of characters) with something else? in other words,... melroysoares(33)