Description:
Discussion about C.
|
|
|
Stats for comp.lang.c (last month)
|
| |
============================== ============================== ================ Analysis of posts to comp.lang.c ============================== ============================== ================ (stats compiled with a script by Garry Knight) Total posts considered: 3,911 over 31 days... more »
|
|
ASCII characters
|
| |
hello everyone.., i'm using ubuntu 8.04 OS. I'm not able to output the non-printable ascii chatacters. for eg. printf("%c",1); // nothing is outputted..... is there any way to output these characters...???
|
|
bitshift operator problem
|
| |
I've been working on an old 8-bit system and came across a problem with the << operator This would always yield 0: unsigned char i; for (i = 0; i < 4; i++) { unsigned char idx = 1 << i; .... ...while this worked as expected: unsigned char i, mask = 1; for (i = 0; i < 4; i++) { unsigned char idx = mask;... more »
|
|
sEarn -Rs 10,000 to Rs 30,000
|
| |
Earn -Rs 10,000 to Rs 30,000 Just for signing up! Iam earning more than Rs.30,000 every month from Internet. Iam not joking. Its Real.No Investment. Easy job. Work part time. Don't miss this great earning opportunity. Hurry today. sign up here [link] open link,... more »
|
|
map
|
| |
hi, all Is there any C lib implentments map like c++?
|
|
Please Explain This behaviour...,
|
| |
The Code is compiling without Error/Bug/Exception.., What are the possibilities for this behaviour? //**************************** ****************************** ***** ...typedef struct abc_ *abc; static abc param; abc fun(void) { float *a = NULL; a = (float *)malloc(sizeof(float)); if (a) { return ((abc)(a));... more »
|
|
Problem with Char*
|
| |
I friends, I 'm facing a weird prob. the code is int total_buf_size=100; char *buf; int type= 0xFE10; buf =(char*) malloc (total_buf_size); memcpy(buf,&type, 10); printf("Buf:: %s\n",buf); The printf doesnt print anything but just "Buf::" can anyone pls help me out resolve this??? Thanks a ton
|
|
Accessing enum members...
|
| |
Hi - I am seeing enum members being used, with just the member's name, and not the enum name. for example: [code] typedef enum Fruit { Apple = 0, Orange, Banana = 0xFF } FruitIndex; int arrayInt[Orange] { more code here..... } [/code]... more »
|
|
Turning on ALL C extensions.
|
| |
Hi - In order to use log2l() and log2f() in C, I apparently have to include some C99 extension for math.h..Can anyone tell me what that is? Also - how do I turn on ALL extensions? thanks!
|
|
|