sorry i made a mistake
it should be
#define P( fmt...) printf( fmt)
/* it works */
Type: Posts; User: Wener
sorry i made a mistake
it should be
#define P( fmt...) printf( fmt)
/* it works */
#include <stdio.h>
#define P( fmt...) printf( ##fmt)
#define FP( fmt...) fprintf( stderr, ##fmt)
#define PP( fmt...) printf( "Wen%d\n",##fmt)
int main(int argc, char *argv[])
{
...
thank you
#include <stdio.h>
#define _NUM_ 0
/* _NUM_ = _NUM_ + n */
#define NUM_ADD(n)
/* _NUM_ = _NUM_ - n */
#define NUM_SUB(n)
#define NUM_PRINT() printf( "Num is : %d\n", _NUM_);
NUM_ADD(2);
when i run my proc from makefile or "start a", it can correct receive the mouse event
but if i run it "a" it can not receive the mouse event.
i disabled the quick edit and insert mode.
...
thank you
ok, i was wrong, even it pass the compile
in Cfree, i can not run over, but in mingw and cygwin it's no problem. so why?
online waiting
#include <stdio.h>
struct {
void (*x)( char *);
}X;
void init()
{
void p( char *s)
{
thank you, all i should do is learn and keep a positive attitude
Thank very very very much ~ i think it over!~
How can i use the gcc create the instruction what i want ?
just create the simple instruction, just like add cal and so on.
do not rely on the platform.
or i want to know where i can find help...
i modify the code Reading Input Buffer Events
but the result was also the same ~
next is the changed
while (1) {
// Wait for the events.
if (! ReadConsoleInput(
...
I thinke about it, I just wanna try the Mouse Event.
I add the
if( InputInfo.EventType != MOUSE_EVENT) continue;
but the result has nothing change.the value Y was also wrong.
it increase to...
thank for your reply
The code like this:
#include <stdio.h>#include <windows.h>
int main(int argc, char *argv[])
{
DWORD cNumRead, fdwMode, i, numInput;
INPUT_RECORD irInBuf[128];
INPUT_RECORD...