In Linux, your current directory is normally not in your path. Many people believe there are important safety benefits from not having the current directory in the path.
So you need to type
in order to run an executable named helloworld in your current directory.