No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
I have a very simple one line function and i want to replace it with macro, but macro doesn't seem to work. Function: [CODE=C]int stack_empty(stack ** this_stack) { return *this_stack == NULL; }[/CODE] Macro i am trying to use: [CODE=C]#define stack_empty(x) (*x == NULL)[/CODE] Anybody knows what i am doing … | |
A friend asked me to reinstall windows for him, so i did, but it appears that neither nForce audio drivers (4.62), neither realtek ac97 drivers work fine (tested old version in manufacturers site and new WDM_A406). Only when i set maximum volume on pc and speakers i can hear some … | |
Hi, I have a question. Is it possible to copy all contents from record to typed pointer which has same items? Example here: [CODE=pascal]program linked_list_queue; type queue = ^myrecord; myrecord = record data: integer; otherdata: string; datadatadata: char; next: queue; end; const head = nil; tail = nil; procedure add(argument: … | |
Hi, I am new to C++ and Qt and despite that i am thinking of using threads in my app. Here is an example code which outputs "." and then "QThread: Destroyed while thread is still running" error after pressing button. [CODE=C++] class MyThread : public QThread { public: void … | |
Hi, i am quite new to C++ and I am making quite complicated linux app: i need it to show wheather usb device (phone) is connected. I have a procedure which would check if phone is connected, but i need to somehow run in background to constantly (lets say every … | |
Hi, i am new to c/c++ and i need to execute external cabextract program to extract archive, but if i sprintf command and file name to command variable i get segmentation fault. How i need to modify code to avoid segmentation fault? Here's an example: [CODE=C++]void cabext(const char *fname) { … |
The End.