Connecting 2 IR sensors to arduino

Just go through some basic tutorials on cplusplus.com

Inspiration doesn't seem to do you any good in programming, which you know nothing about.

You should think about programming as learning a language, except your language partner, the arduino compiler doesn't know your human language and only knows C. So you need to do all the work to make every sentence correct when you speak to it. DO NOT BE CREATIVE. The machines can't understand you or will misunderstand you. You have to know exactly what each line of code does.