When you run your code with :make
, the result is put into the quickfix list, you can open it with :cope
See help :make
See help quickfix
You can also make your own command that show immediatelly your results:
command! -nargs=* Make :make <args> | cope
You just have to use :Make
instead of :make
to run your programm and be prompted to the quickfix list.
See :help command