This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AW: Sample code that works with cygwin


------------ 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:coll_mike@yahoo.com]
Gesendet: Freitag, 20. Oktober 2000 12:51
An: cygwin@sources.redhat.com
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 cygwin-unsubscribe@sourceware.cygnus.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]