Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Tags
Member Avatar for Zolookas

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 …

Member Avatar for Zolookas
0
104
Member Avatar for Zolookas

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 …

Member Avatar for jbennet
0
108
Member Avatar for Zolookas

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: …

Member Avatar for pritaeas
0
151
Member Avatar for Zolookas

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 …

Member Avatar for Zolookas
0
1K
Member Avatar for Zolookas

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 …

0
88
Member Avatar for Zolookas

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) { …

Member Avatar for Zolookas
0
893