Good day fellow Buds.
I was working on a nother C++ program and suddenly the program did not want to compile. It gave me this error message:

Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Jan&Gretel\My Documents\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\Jan&Gretel\My Documents\Makefile.win" all
g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"

'C:\DOCUME~1\JAN' is not recognized as an internal or external command,
operable program or batch file.

The system cannot find the path specified.

make.exe: *** [main.o] Error 1

Execution terminated

At a rough guess, the & in your directory path is confusing something.

The & character is used for several different purposes by several different shells, so who knows what it did with it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.