------------ main.c ---------------------
#include <stdio.h>

int main()
{
  printf("Hello world, hello cygwin!\n");
  return 0;
}
--------- makefile ---------------------
main:   main.o
        gcc main.o -o main
------------------------------------------

-----Urspr�ngliche Nachricht-----
Von: mike coll [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 20. Oktober 2000 12:51
An: [EMAIL PROTECTED]
Betreff: Sample code that works with cygwin


 Hi

  Is there a place i could download some sample .c
  files that compile under cygwin?

  And mabye also some projects with the 
  .c .h .rc makefile.
  so you just need to run "make" to compile it?

  since it would be much easier if i had some sample
  code i could use as examples to learn how to
  program with cygwin.

  i tried using a sample .c that came with rsxntdj
  and it didin't work.
  why doesen't cygwin come with sample .c files?

__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to [EMAIL PROTECTED]

--
Want to unsubscribe from this list?
Send a message to [EMAIL PROTECTED]

Reply via email to