how to direct compile in the notepad

i want to know how to connect compiler and editor