win - linux

M

Michael Sgier

Hi
a question. I don't even understand the logic. ( What and where to
define etc. )

Impliment in a Linux environment the following related Win32 API function:

QueryPerformanceFrequency


No more than 4 lines of code and not outside of libc
Many thanks.
Regards Michael
 
R

red floyd

Michael said:
Hi
a question. I don't even understand the logic. ( What and where to
define etc. )

Impliment in a Linux environment the following related Win32 API function:

QueryPerformanceFrequency

OT. Ask in a linux group. See FAQ 5.9
(http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9)
No more than 4 lines of code and not outside of libc

However, this little ridiculous requirement (which is probably damn near
impossible) leads me to refer you to FAQ 5.2.
(http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9)
 
M

Michael Sgier

This is only for personal interest reasons. FAQ 5.2

It looks general C++ to me and I might not get an answer in an Linux
group. FAQ 5.9
 
I

Ioannis Vranos

Michael said:
Hi
a question. I don't even understand the logic. ( What and where to
define etc. )

Impliment in a Linux environment the following related Win32 API function:

QueryPerformanceFrequency


No more than 4 lines of code and not outside of libc
Many thanks.
Regards Michael


So you want to implement that function. Telling us what that function
does, would be helpful.
 
I

Ioannis Vranos

Michael said:
Hi
a question. I don't even understand the logic. ( What and where to
define etc. )

Impliment in a Linux environment the following related Win32 API function:

QueryPerformanceFrequency


No more than 4 lines of code and not outside of libc
Many thanks.


Win32 API and libc are C libraries and not C++.


In any case, you had better ask in the following mailing list:
http://gcc.gnu.org/ml/gcc-help/
 
L

Lionel B

On Wed, 01 Oct 2008 11:57:03 +0200, Michael Sgier wrote:

[...]
It looks general C++ to me

How so? Your question does not pertain to the C++ *language* (and in any
case the APIs in question are not even C++).
and I might not get an answer in an Linux group

Where it might actually be on-topic...? You are much less likely to get
an answer here, I would have thought, since your query is obviously OT.

Quote: "Operating-specific questions (e.g., about Windows NT / 95 / 3.x,
UNIX, etc.) should go to an operating-system-specific newsgroup (see
below), not to comp.lang.c++."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,169
Messages
2,570,919
Members
47,460
Latest member
eibafima

Latest Threads

Top