PDA

View Full Version : Compiler



Sunny
01-03-2002, 10:16 PM
Sorry if this looks a bit weird. Im right now using Lynx, text-mode web browser and im not sure how things turn out.
The source is pretty simple. I just made a new file
and i added the simple basic thing:

#include <stdio.h>
void main()
{
printf("hello");
}



I think im missing a a binary. But this is going to be like looking for a needle in a hay stack.
But it's worth it. I like this compiler a lot.

Take care

Stef

VirtualAce
01-04-2002, 01:39 AM
Change void main to int main.

Salem
01-04-2002, 02:10 AM
> I think im missing a a binary.
Posting some error messages would have been a better idea.

As would telling us which compiler it is which you find so wonderful.

All that anyone will tell you is that it should be int main, should have a
return 0;
and that it compiles and runs just fine.

Sunny
01-04-2002, 03:47 AM
Thanks for the hint.
I figured it out anyways. Sorry about this , i actually intended to post this message on the other thread i started ( GUI for DOS ) but somehow it got here.

The compiler i seem to like so far is DJgpp - if only i could get it to make at least one executable....Which is why i'm looking for
this file: djgpp.djl'






Take care people,


Stef