I have a folder that contains a few .h and .cpp files along with a makefile. How can I run them in dev C++. I have just started using dev C++, hence, a bit clueless about this. the make file is
CC=g++
CV=-I/usr/include/opencv
CV2=-lml -lcvaux -lhighgui -lcv -lcxcore
all:
$(CC) main.cpp HOG.cpp HOGFeaturesOfBlock.cpp $(CV) $(CV2) -o featureExtractor
and I'm getting the error main.cpp, hog.cpp: no such file or directory.
Q #3) Can dev-C++ compile C? Answer: Yes. Dev-C++ IDE allows us to write and compile C and C++ programs. As C++ is an enhanced version of C language, the C++ compiler can compile any program written in C language.
From the menu bar, click File > New > Project. In the Select a wizard window, expand C/C++, select C++ Project, and then click Next. In the Create a C++ Project window, in the Project name field, enter a name for the C++ project. From the Project type list, select Makefile Project/Empty Project, and then click Finish.
It takes more memory and time to load as compared to Dev C++. Turbo C++ is the compiler from which most of us start our coding life in school/college. Dev C++ is also used for C and CPP Language. The first stable release was in April 2015.
Also, be sure to update your IDE to the following version, which fixes an immense list of bugs compared to the ancient 4.9.9.2 version, ships with GCC 4.6.1 or 4.7.0, and is fully portable: http://sourceforge.net/projects/orwelldevcpp/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With