Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Joe Pfeiffer <pfeiffer@cs.nmsu.edu> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: Please refrain from discussing religion here!! |
| Date | 2016-08-01 21:44 -0600 |
| Organization | A noiseless patient Spider |
| Message-ID | <1bd1lrrg1d.fsf@pfeifferfamily.net> (permalink) |
| References | <nnjn0d$uff$1@gioia.aioe.org> <nnp4n3$m1a$1@news.albasani.net> |
Jason Benjamin <hexusnexus@gmail.com> writes:
> On Sun, 31 Jul 2016 00:00:00 -0300, Real Troll wrote:
>
>> 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.
>
> Not sure how this would go over at the Ch*** of Em..s though. Reminds me
> of the start of some sort of login/password program just by looking at
> the code.
>[The Computer] was the first machine man built that assisted the power of
>his brain instead of the strength of his arm. - Grace Hopper
Much as I admire Admiral Hopper, did she really never encounter an
adding machine? A slide rule? An abacus?
Back to comp.lang.c | Previous | Next — Previous in thread | 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