1

I've seen a similar question here. That one works fine with Linux but don't work for windows.

HeadWay
  • 25
  • 3

2 Answers2

2

For windows, use these commands:

lex file.l

gcc lex.yy.c

a.exe 

But make sure your PC has lex installed. You can learn more about the installation here if needed.

FORHAD
  • 107
  • 6
0

For windows using flix and bison making a.exe

flex filename
gcc lex.yy.c
start a.exe