Since 4/26/2012 6:01:30 PM, alex_lord has written 1 articles and participated in 123 conversations. alex_lord signature: alex_lord
alex_lord's articles:
Items(1) /1
ECS G732038 (6/25/2003 10:45:45 PM) comp.sys.laptops Does anybody have feedback on the ECS Green 732 Notebook? I have not been find a demo system, so I am very interested in the look-and-feel aspects. Thanks, Alex ... Alex
Is this correct?2733 (12/16/2003 5:53:01 AM) comp.lang.c Hi, If I write char *p="hello world"; is this correct in C or do i have to assign memory block and then strcpy the string to pointer. If not correct in C , is it allowable in C++ , i seen such syntax in so... yang__lee(13)
Misc Qns...2027 (12/16/2003 3:03:12 PM) comp.lang.c 1. Will simply taking the address of a non-aligned variable (but not deferencing it) produce undefined behavior? If it does, are there any known architectures on which this fails? 2. Is char[MB_CUR_MAX... Jin
printf() and character arrays1336 (12/16/2003 4:32:36 PM) comp.lang.c Look at this code: #include int main(void) { char name[50]; printf("What is your name?\n"); fgets(name, sizeof(name), stdin); printf("Your name is %s.\n", name); return 0; } I get the comma on a separate... hxaxnxnxixbxaxlxkxaxnxnxixbxaxlx(15)
Why does this work? (rot13 function)1528 (12/16/2003 4:32:56 PM) comp.lang.c This is a little function I wrote, inspired by the thread "Urgent HELP! required for Caesar Cipher PLEASE" $ cat /home/keisar/bin/c/ymse/rot13.h char rot13(char character) { int changed; changed = character -... hxaxnxnxixbxaxlxkxaxnxnxixbxaxlx(15)
running program as a background process740 (12/16/2003 6:48:54 PM) comp.lang.c hello I've got a question how can I write a program(computing program) working in OS background(Win or Linux)? E.g. I'm starting my program for computing and it works in system backgraound, and after finishin... ruthless(79)
A question on incomplete definitions2149 (12/17/2003 9:52:34 PM) comp.lang.c Hello group, Could you help me with this: static const int x; ............ something ............. static const int x = 17; It looks perfectly legal to me but MSVC/C++ 6.0 gives, on the first line, "warning C... arkhas1(17)
newbie thread programming719 (12/17/2003 10:36:24 PM) comp.lang.c hi: Suppose I have a C language program which is about thread programming. This program works fine under Unix platform. 1) is there a tool that I can use to watch the running state of the threads? 2) I want ... b0s6067(17)
struggling to use calloc and realloc2621 (12/18/2003 8:27:59 PM) comp.lang.c Hi there. I'm using C under FreeBSD with the gcc compiler and am having a bit of trouble using the calloc and realloc calls. As an example the code snippet: #include int main() { char *ptr; p... ferdyn(5)
nr of bits set to "1" in a byte4030 (12/19/2003 9:24:49 PM) comp.lang.c I'm looking for the absolute fastest way to count the nr of bits that are set to "1" in a string. Presumably I then first need the fastest way to do this in a byte. I think this is it, but welcome any improve... aku(9)