hello,
I'm using itimerval in a header file and the compiler doesn't seems to find this struct. Here is the code : " #ifndef __CTIMER_H__ #define __CTIMER_H__
#include <sys/time.h>
class CTimer { itimerval m_Timer; public : void SetTimer (float Timer); float GetTimer (); void ActiverTimer (void); void DesactiverTimer (); };
#endif " and the compiler error is :
sources\CTimer.h:8: syntax error before `;'
Help please. Thanks
Stop multiple posting - leave that bloody Refresh button alone.
Derek
usually a header is missing or wrong order of includes. I always try first #include <windows.h>
Do you have a autorefresh :-))))
i'm using linux so i needn't <windows.h>
Boy am I lost!
Dev is a windows tool, and then you say you are using linux?
Wayne
Log in to post a comment.
hello,
I'm using itimerval in a header file and the compiler doesn't seems to find this struct.
Here is the code :
"
#ifndef __CTIMER_H__
#define __CTIMER_H__
#include <sys/time.h>
class CTimer
{
itimerval m_Timer;
public :
void SetTimer (float Timer);
float GetTimer ();
void ActiverTimer (void);
void DesactiverTimer ();
};
#endif
"
and the compiler error is :
sources\CTimer.h:8: syntax error before `;'
Help please. Thanks
Stop multiple posting - leave that bloody Refresh button alone.
Derek
usually a header is missing or wrong order of includes.
I always try first
#include <windows.h>
Do you have a autorefresh :-))))
i'm using linux so i needn't <windows.h>
Boy am I lost!
Dev is a windows tool, and then you say you are using linux?
Wayne