compilation

I am a newbie on qnx6.1 and I want to program in C or C++ a simple “Hello World” C program. I follow the help on QNX and opened a terminal under photon and ran the gcc but when I want to run the program the system tells my that there is no such program on /sh??.. or something like that…what I am doing wrong?

Without a more precise error description I would guess that the shell can’t find your process. Try something like
./hello instead of hello.

ok… “./hello” worked!!..I am so lost…what is the difference between “hello” and “./hello”…i have to mention that my hello program is on /home folder…??..there is some where to reed about this basic things?