1. Why do we need Makefile?
  • Imagine that your project has many file *.cpp, *.h files such as 10 files, and every time you change something in one file, you need to recompile all of files. It means you have to type at least ten commands to recompile them. That takes time!
  • Makefile help you to link all files in one executable file, in wins is *.exe, in linux is *.out by just typing one command.


Read the rest of this entry »

“What does it mean?”

“Do you understand what you’re writing?”

“Tell me,….”

….

The first week to learn theory about logic.

Exactly 1 week to learn what is Prolog and how to programming in Prolog, I couldn’t understand well what the professor said. I even could’n write corectly any exercises he gave except the two first excercises. I’ve been shameful so much to answer any his questions.I tried a lot to do many exercise I could, and google at home about prolog exercise, but I didn’t do all the exercises I found, just a little bit. I knew I couldn’t do his exercises is my fault, but I couldn’t change…


Read the rest of this entry »