Please Give Me a Suggestion

Hello fellow programmers,
I have an assignment, simply the hello world program in C (not C++). Our instructor has given us the compiler that is located on a folder called C600. We must ONLY use the command prompt to run. No IDE (codeblocks, VS 2012, notepad++ etc. can't be used). Any suggestions on how to do it!!

1
2
3
4
5
6
7
8
  #include <stdlib.h>
  #include <studio.h>

int main()
{

printf("\n\n\n\t\t Hello, World");
}
ask him what compiler it is and search for keywords in the internet
He did not specify a compiler.
Search in that folder by using dir command.
You should ask such question your instructor. We know nothing about the folder C600 in your computer.
Last edited on
and that is not <studio.h> but <stdio.h>( standard i/o )
That looks like the instructor expects the students to be able to figure out how to use that magical "command prompt".

I presume that the following is not the expected answer.
$ cat > foo.c << EOF
> #include <stdio.h>
> int main() { printf("HW\n"); return 0; }
> EOF
$ c99 foo.c
$ ./a.out
HW
$
Topic archived. No new replies allowed.