How to compile LEX/YACC files on Windows?

As for today (2011-04-05, updated 2017-11-29) you will need the lastest versions of: flex-2.5.4a-1.exe bison-2.4.1-setup.exe After that, do a full install in a directory of your preference without spaces in the name. I suggest C:\GnuWin32. Do not install it in the default (C:\Program Files (x86)\GnuWin32) because bison has problems with spaces in directory names, not to say parenthesis. Also, consider installing Dev-CPP in … Read more

git clone: Authentication failed for

I was facing same error when I was trying to clone a repository on a PC with freshly installed operating system. I was using Git bash as my Git client. When I ran Git’s command to clone a repository it was not prompting me for user id and password which will be used for authentication. It was … Read more

How to run a makefile in Windows?

If you have Visual Studio, run the Visual Studio Command prompt from the Start menu, change to the directory containing Makefile.win and type this: You can also use the normal command prompt and run vsvars32.bat (c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools for VS2008). This will set up the environment to run nmake and find the compiler tools.

how to open an mp3 file with c

I think we cannot open an mp3 file this way , like any regular text file. We have to use a codec , to actually play the mp3 file , or atleast use a library which has one. Do take a look at these places. How to play MP3 files in C? SDL Sound Mix … Read more

Using putty to scp from windows to Linux

You need to tell scp where to send the file. In your command that is not working: You have not mentioned a remote server. scp uses : to delimit the host and path, so it thinks you have asked it to download a file at the path \Users\Admin\Desktop\WMU\5260\A2.c from the host C to your local home directory. The correct upload command, based on your comments, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)