Create timer queue in Linux using C++ [closed] - c++

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have implemented a project in Windows using C++ that creates a timer queue, add entries to it, perform a callback function when the timer expires,waits for next timer, etc. It was possible using the Windows functions CreateTimer, CreateTimerQueueTimer, CreateTimer,etc.
Now my question is how to do the same thing in Linux using C++? Is there some API ? Is timer_create a good option for doing this? It will be much helpful if an example is also provided.

Can't you use libevent for this ?

Related

Where to start with C++ GUI? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Just wondering what a good place to start would be? The program I eventually hope to make is a calculator for a windows operating system (School project)
Provided that you have good command of C++, Qt can be a good cross-platform starting point.
Depening on the platform, you may choose to try native OS UI framework; MFC is Microsoft-only and somewhat confusing.
My money is on Qt.

Bounding Box for a string in C++ [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a string with me and I wanted to find the size of box that is bounding the string.Is there any C++ API which can help me with it?
I know it can be done with GDI+.But I wanted a more better way using basic APIs
Using Gdi+ is an overhead as it would have to start Gdi+ and close it..So if i can obtain it directly without using GDI+
The lowest level function that one can think of is GetTextExtentPoint32 in Win32/GDI (C/C++ API).

Access linux's terminal per pixel [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I'm trying to write text-based gui. Is there a way to access terminal per pixel using pure C++? I read a one method, but it was SDL based ;[
Not sure what you imply by "Pure C++", but ncurses is the go-to library for CLI applications (and there is a port for Windows called pdcurses )

If I wanted to create a GUI for wget in c++.. where would I start? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Question is the title.
I'm sorry, I suppose I need to specify.
I'm not sure what commands or what code to use to actually link wget to a gui.
I have two weeks until classes start and I just want to Create something.
Maybe here and here. There are numerous widget toolkits for C++.
Since wget is not a HTTP library, but an application, calling this using system() or similar calls is disrecommended.
I advise you to use a HTTP C/C++ library.

Linux Kernel Implementation [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am implementing network layer to aggregate 2 network interface by dividing data to send them on 2 interfaces and combine it on the receiving end. I have achieved it in socket programming(c) but now I have to implement it on kernel in Ubuntu. I cant figure out where to start as i do not have any prior knowledge of kernel programing. Can anyone guide me about any helpful tutorials or demos so i can start working on it.
Have a look at network interface bonding.