Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Real Troll <real.troll@trolls.com> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Please refrain from discussing religion here!! |
| Date | 2016-07-31 00:00 -0300 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <nnjn0d$uff$1@gioia.aioe.org> (permalink) |
It is time to stop discussing religion and instead we should start
serious discussion about C. Lets start with something simple:
1) This program does a very simple thing but it is amazing it can do
this with ease:
> #pragma hdrstop
> #pragma argsused
>
> #include <stdio.h>
>
> #ifdef _WIN32
> #include <tchar.h>
> #else
> typedef char _TCHAR;
> #define _tmain main
> #endif
>
> int _tmain(int argc, _TCHAR* argv[])
> {
> printf ("Hello, World");
> getch();
> return 0;
> }
2) when you run this program, you will get a black screen like this:
<https://s31.postimg.org/ewov7f7uz/black_screen.png>
3) We can now go and improve this program and expand it to do something
valuable.
4) I hope you all enjoyed this.
Back to comp.lang.c | Previous | Next — Next in thread | Find similar | Unroll thread
Please refrain from discussing religion here!! Real Troll <real.troll@trolls.com> - 2016-07-31 00:00 -0300
Re: Please refrain from discussing religion here!! gazelle@shell.xmission.com (Kenny McCormack) - 2016-07-31 08:38 +0000
Re: Please refrain from discussing religion here!! "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-07-31 04:01 -0700
Re: Please refrain from discussing religion here!! David Brown <david.brown@hesbynett.no> - 2016-08-01 10:01 +0200
Re: Please refrain from discussing religion here!! Richard Heathfield <rjh@cpax.org.uk> - 2016-08-01 09:18 +0100
Re: Please refrain from discussing religion here!! gazelle@shell.xmission.com (Kenny McCormack) - 2016-08-01 12:36 +0000
Re: Please refrain from discussing religion here!! Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-08-01 05:55 -0700
Re: Please refrain from discussing religion here!! "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-08-01 06:12 -0700
Re: Please refrain from discussing religion here!! Keith Thompson <kst-u@mib.org> - 2016-08-01 08:37 -0700
Re: Please refrain from discussing religion here!! David Brown <david.brown@hesbynett.no> - 2016-08-01 22:33 +0200
Re: Please refrain from discussing religion here!! "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-08-01 15:31 -0700
Re: Please refrain from discussing religion here!! fir <profesor.fir@gmail.com> - 2016-08-01 18:30 -0700
Re: Please refrain from discussing religion here!! Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2016-07-31 14:04 -0400
Re: Please refrain from discussing religion here!! Real Troll <real.troll@trolls.com> - 2016-07-31 15:33 -0400
Re: Please refrain from discussing religion here!! Jason Benjamin <hexusnexus@gmail.com> - 2016-08-02 03:40 +0000
Re: Please refrain from discussing religion here!! Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2016-08-01 21:44 -0600
Re: Please refrain from discussing religion here!! Real Troll <real.troll@trolls.com> - 2016-08-02 00:30 -0400
csiph-web