Description:
Discussion about C.
|
|
|
C program to search google scholar
|
| |
Dear friends,
I am trying to make a gtk application that will create a bibtex.
The problem is I am a novice in C/gtk programming(this will be only my
2nd programme in gtk).
To do that, First and foremost, I need to search google scholar from the
code. I tried using lynx and failed.
Can anyone kindly show me a simple code in C that can fetch data from... more »
|
|
Idiomatic module encapsulation
|
| |
Hello everyone,
I'm implementing a wrapper around platform-dependent "primitives",
and I'm trying to have 0 platform-dependent code (even includes)
in the "module" interface header.
For example, consider this possible interface for a semaphore
(whatever that is):
Sem_t *Sem_create(int val);... more »
|
|
a 'C Gui / IDE' ?
|
| |
Greets, I would like to find a 'C Gui / IDE', not C++, just plain old
C . Thanks...vm
|
|
Void variables
|
| |
Hello
I would like to define a variable of void type. However I get compiler errors:
void x; // error: variable or field ‘x’ declared void
Infact there is a typedef and I want to allow the defined type to be, void. However, the error is the same.
Thankyou
|
|
Finding an index from an address
|
| |
Hi
I have a heap of n objects of size Heap->ElementSize;
I receive from the client program an element to free, so
I have to put it in the free list. Since the heap is
just an array of n * ElementSize bytes, I find out
the index of the element to free from its address, then set
the bit to 1 to mark it as a free element.... more »
|
|
Queries about new C paper work C11
|
| |
1. why no algorithm and data structure library proposed?
i think if C has stack, queue, hash map.. like those in C++/STL,
many C++ application programmers will come to C again.
2. why thread (posix) proposed while socket (posix) not?
3. will this C11 fail like C99?
will it be dead until replaced by the next paper work and no one... more »
|
|
Generic programming in C.
|
| |
When I presented an example of the interface here (thread CCL vs STL, a comparison), many posters complained about the syntax:
int main(void)
{
List *L;
int data;
L = iList.Create(sizeof(int));
data = 0;
iList.Add(L,&data);
iList.PushFront(L,&data);
data = 2;... more »
|
|
|