Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #84154 > unrolled thread

C

Started bymervetektas1995@gmail.com
First post2016-03-16 11:04 -0700
Last post2016-03-17 11:03 -0700
Articles 13 on this page of 53 — 16 participants

Back to article view | Back to comp.lang.c


Contents

  C mervetektas1995@gmail.com - 2016-03-16 11:04 -0700
    Re: C Richard Heathfield <rjh@cpax.org.uk> - 2016-03-16 18:16 +0000
      Re: C Gareth Owen <gwowen@gmail.com> - 2016-03-16 19:23 +0000
        Re: C Richard Heathfield <rjh@cpax.org.uk> - 2016-03-16 21:49 +0000
          Re: C "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-03-16 15:22 -0700
            Re: C Randy Howard <rhoward.mx@EverybodyUsesIt.com> - 2016-03-16 20:39 -0500
              Re: C Chad <cdalten@gmail.com> - 2016-03-16 22:53 -0700
              Re: C Gareth Owen <gwowen@gmail.com> - 2016-03-17 06:47 +0000
                Re: C Richard Heathfield <rjh@cpax.org.uk> - 2016-03-17 07:20 +0000
                  Re: C "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-03-17 01:22 -0700
                    Re: C gazelle@shell.xmission.com (Kenny McCormack) - 2016-03-17 08:53 +0000
                      Re: C "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-03-17 02:48 -0700
                        Re: C Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-03-17 09:26 -0700
                          What's a "Catholic atheist"? (Was: C) gazelle@shell.xmission.com (Kenny McCormack) - 2016-03-17 16:51 +0000
                            Re: What's a "Catholic atheist"? (Was: C) Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-03-17 11:05 -0700
                              Re: What's a "Catholic atheist"? (Was: C) BartC <bc@freeuk.com> - 2016-03-17 18:19 +0000
                              Re: What's a "Catholic atheist"? (Was: C) Keith Thompson <kst-u@mib.org> - 2016-03-17 11:22 -0700
                                Re: What's a "Catholic atheist"? (Was: C) gazelle@shell.xmission.com (Kenny McCormack) - 2016-03-17 19:28 +0000
                                  Re: What's a "Catholic atheist"? (Was: C) fir <profesor.fir@gmail.com> - 2016-03-17 14:32 -0700
                                Re: What's a "Catholic atheist"? (Was: C) Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-03-18 02:58 -0700
                                  Re: What's a "Catholic atheist"? (Was: C) gazelle@shell.xmission.com (Kenny McCormack) - 2016-03-18 10:32 +0000
                                    Re: What's a "Catholic atheist"? (Was: C) fir <profesor.fir@gmail.com> - 2016-03-18 07:55 -0700
                                    Re: What's a "Catholic atheist"? (Was: C) fir <profesor.fir@gmail.com> - 2016-03-18 08:13 -0700
                                  Re: What's a "Catholic atheist"? (Was: C) Keith Thompson <kst-u@mib.org> - 2016-03-18 08:58 -0700
                                    Re: What's a "Catholic atheist"? (Was: C) gazelle@shell.xmission.com (Kenny McCormack) - 2016-03-18 16:03 +0000
                                      Re: What's a "Catholic atheist"? (Was: C) fir <profesor.fir@gmail.com> - 2016-03-18 09:49 -0700
                                    Re: What's a "Catholic atheist"? (Was: C) Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-03-18 11:16 -0700
                                      Re: What's a "Catholic atheist"? (Was: C) gazelle@shell.xmission.com (Kenny McCormack) - 2016-03-18 18:28 +0000
                                        Re: What's a "Catholic atheist"? (Was: C) fir <profesor.fir@gmail.com> - 2016-03-18 12:29 -0700
                    Re: C fir <profesor.fir@gmail.com> - 2016-03-17 02:14 -0700
                    Re: C Ken Brody <kenbrody@spamcop.net> - 2016-03-17 19:55 -0400
                  Re: C Randy Howard <rhoward.mx@EverybodyUsesIt.com> - 2016-03-17 23:06 -0500
                    Re: C fir <profesor.fir@gmail.com> - 2016-03-18 02:02 -0700
                      Re: C Randy Howard <rhoward.mx@EverybodyUsesIt.com> - 2016-03-18 10:50 -0500
                        Re: C Richard Heathfield <rjh@cpax.org.uk> - 2016-03-18 15:53 +0000
                          Re: C Randy Howard <rhoward.mx@EverybodyUsesIt.com> - 2016-03-18 11:14 -0500
                            Re: C Richard Heathfield <rjh@cpax.org.uk> - 2016-03-18 16:20 +0000
                              Re: C Randy Howard <rhoward.mx@EverybodyUsesIt.com> - 2016-03-18 11:28 -0500
                                Re: C Richard Heathfield <rjh@cpax.org.uk> - 2016-03-18 16:46 +0000
                        Re: C fir <profesor.fir@gmail.com> - 2016-03-18 09:47 -0700
                      Re: C "Osmium" <r124c4u102@comcast.net> - 2016-03-18 12:20 -0600
                        Re: C fir <profesor.fir@gmail.com> - 2016-03-18 10:35 -0700
                Re: C Ken Brody <kenbrody@spamcop.net> - 2016-03-17 19:51 -0400
                  Re: C "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-03-17 16:55 -0700
            Re: C Ken Brody <kenbrody@spamcop.net> - 2016-03-17 19:50 -0400
    Re: C Sjouke Burry <burrynulnulfour@ppllaanneett.nnll> - 2016-03-16 20:02 +0100
    Re: C Keith Thompson <kst-u@mib.org> - 2016-03-16 12:02 -0700
      Re: C Arnuld <sunrise@invalid.address> - 2016-03-17 12:29 +0000
        Re: C fir <profesor.fir@gmail.com> - 2016-03-17 11:11 -0700
    Re: C "Osmium" <r124c4u102@comcast.net> - 2016-03-16 14:45 -0600
      Re: C Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-03-16 15:58 -0700
    Re: C mark.bluemel@gmail.com - 2016-03-17 09:57 -0700
      Re: C Keith Thompson <kst-u@mib.org> - 2016-03-17 11:03 -0700

Page 3 of 3 — ← Prev page 1 2 [3]


#84335

From"Osmium" <r124c4u102@comcast.net>
Date2016-03-18 12:20 -0600
Message-ID<dl2rmuFd8e0U1@mid.individual.net>
In reply to#84309
"fir" wrote:

>this group problem is amazingly boring low quality content..  maybe people 
>here are to old so they dont want to learn any thing fresh they just 
>probably prefer to repeat basics to kill the time - where whole realms of 
>fresh knowledge (take for example gpu related things or more advanced apps 
>and ideas topics are waiting (and they are not quite offtopic, becouse if c 
>was born on cpu it does not mean he  now dont lives
on gpu too - same with apps, it doesent mean that only basics are ontopic 
here, some more advanced application coding in c
imo should be also welcome)
but you got what you got

Perhaps you could get someone to set up a blog for you?  Then you and your 
close personal friends could talk about whatver suits your facy at the 
moment.

You might even establish your own language, for a working title think of it 
as Klingon 2.0 

[toc] | [prev] | [next] | [standalone]


#84336

Fromfir <profesor.fir@gmail.com>
Date2016-03-18 10:35 -0700
Message-ID<27dc524c-ec49-4558-b891-0e08969b8652@googlegroups.com>
In reply to#84335
W dniu piątek, 18 marca 2016 18:20:45 UTC+1 użytkownik Osmium napisał:
> "fir" wrote:
> 
> >this group problem is amazingly boring low quality content..  maybe people 
> >here are to old so they dont want to learn any thing fresh they just 
> >probably prefer to repeat basics to kill the time - where whole realms of 
> >fresh knowledge (take for example gpu related things or more advanced apps 
> >and ideas topics are waiting (and they are not quite offtopic, becouse if c 
> >was born on cpu it does not mean he  now dont lives
> on gpu too - same with apps, it doesent mean that only basics are ontopic 
> here, some more advanced application coding in c
> imo should be also welcome)
> but you got what you got
> 
> Perhaps you could get someone to set up a blog for you?  Then you and your 
> close personal friends could talk about whatver suits your facy at the 
> moment.
> 
> You might even establish your own language, for a working title think of it 
> as Klingon 2.0

sure, and i belive the level would be much higher - but this has not much related to poor state of this group, which i anyway dont care, so much as you seem mistakenle deduce it - I only said to somebody was not livin in any illusion as to this place

[toc] | [prev] | [next] | [standalone]


#84289

FromKen Brody <kenbrody@spamcop.net>
Date2016-03-17 19:51 -0400
Message-ID<ncffom$q5j$2@dont-email.me>
In reply to#84213
On 3/17/2016 2:47 AM, Gareth Owen wrote:
> Randy Howard <rhoward.mx@EverybodyUsesIt.com> writes:
>
>> On 3/16/16 5:22 PM, Rick C. Hodgin wrote:
>>> Richard Heathfield wrote:
>>>> and it's actually a better answer, because it really does write
>>>> to the screen, even if you try to redirect it.
>>>
>>> No it doesn't.  It will fail in all cases except real-mode code running
>>> under strict BIOS defaults, or V86 mode running similarly.
>>>
>> With a few specific types of video card only.
>
> Of course, if you want to do it in a more portable manner, call INT 10h
>
> #oldschool #itspossiblerichardwasntbeingentirelyserious

Or "CALL 5".

-- 
Kenneth Brody

[toc] | [prev] | [next] | [standalone]


#84291

From"Rick C. Hodgin" <rick.c.hodgin@gmail.com>
Date2016-03-17 16:55 -0700
Message-ID<6ea9e737-bcae-4561-a43d-3bd83f5e8506@googlegroups.com>
In reply to#84289
On Thursday, March 17, 2016 at 7:51:52 PM UTC-4, Ken Brody wrote:
> On 3/17/2016 2:47 AM, Gareth Owen wrote:
> > Randy Howard <rhoward.mx@EverybodyUsesIt.com> writes:
> >
> >> On 3/16/16 5:22 PM, Rick C. Hodgin wrote:
> >>> Richard Heathfield wrote:
> >>>> and it's actually a better answer, because it really does write
> >>>> to the screen, even if you try to redirect it.
> >>>
> >>> No it doesn't.  It will fail in all cases except real-mode code running
> >>> under strict BIOS defaults, or V86 mode running similarly.
> >>>
> >> With a few specific types of video card only.
> >
> > Of course, if you want to do it in a more portable manner, call INT 10h
> >
> > #oldschool #itspossiblerichardwasntbeingentirelyserious
> 
> Or "CALL 5".

Do you remember this one?

    C> debug
    -g=c800:5

??

Best regards,
Rick C. Hodgin

[toc] | [prev] | [next] | [standalone]


#84288

FromKen Brody <kenbrody@spamcop.net>
Date2016-03-17 19:50 -0400
Message-ID<ncffmg$q5j$1@dont-email.me>
In reply to#84193
On 3/16/2016 6:22 PM, Rick C. Hodgin wrote:
> Richard Heathfield wrote:
>> and it's actually a better answer, because it really does write
>> to the screen, even if you try to redirect it.
>
> No it doesn't.  It will fail in all cases except real-mode code running
> under strict BIOS defaults, or V86 mode running similarly.

His original version already had system-dependent code in it.  This just 
makes it even more so.  :-)

-- 
Kenneth Brody

[toc] | [prev] | [next] | [standalone]


#84169

FromSjouke Burry <burrynulnulfour@ppllaanneett.nnll>
Date2016-03-16 20:02 +0100
Message-ID<56e9adc2$0$4170$e4fe514c@textnews.kpn.nl>
In reply to#84154
On 16.03.16 19:04, mervetektas1995@gmail.com wrote:
> 1.	Design an algorithm to print hello world to the screen.
> a.	Write pseudo code of your solution first. (10 pts)
> b.	Write the c code for your solution. (20 pts)
> 2.	Design an algorithm that takes an integer value from the user and notifies the user either this number is even or odd.
> a.	Write pseudo code of your solution first. (20 pts)
> b.	Write the c code for your solution. (20 pts)
> 3.	(30pts) Write the c code of the algorithm given in the slide 18 of 03.ppt.
>
Go take a hike:1000 points.

[toc] | [prev] | [next] | [standalone]


#84170

FromKeith Thompson <kst-u@mib.org>
Date2016-03-16 12:02 -0700
Message-ID<lnwpp2fdqf.fsf@kst-u.example.com>
In reply to#84154
mervetektas1995@gmail.com writes:
> 1.	Design an algorithm to print hello world to the screen. 
> a.	Write pseudo code of your solution first. (10 pts)
> b.	Write the c code for your solution. (20 pts)
> 2.	Design an algorithm that takes an integer value from the user and notifies the user either this number is even or odd.
> a.	Write pseudo code of your solution first. (20 pts)
> b.	Write the c code for your solution. (20 pts)
> 3.	(30pts) Write the c code of the algorithm given in the slide 18 of 03.ppt. 

Send me a copy of slide 18 and I'll be glad to do this for you.
I'll need your instructor's e-mail address.  I'll also need your
name to be sure you get proper credit for my work.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

[toc] | [prev] | [next] | [standalone]


#84241

FromArnuld <sunrise@invalid.address>
Date2016-03-17 12:29 +0000
Message-ID<56eaa347$0$295$14726298@news.sunsite.dk>
In reply to#84170
> On Wed, 16 Mar 2016 12:02:16 -0700, Keith Thompson wrote:

> Send me a copy of slide 18 and I'll be glad to do this for you. I'll
> need your instructor's e-mail address.  I'll also need your name to be
> sure you get proper credit for my work.

First Richard and now you Keith....

you both are as cute as you were 10 years ago when I started :)



-- 
Arnuld
https://lispmachine.wordpress.com/2012/06/28/c-new-operator/

[toc] | [prev] | [next] | [standalone]


#84276

Fromfir <profesor.fir@gmail.com>
Date2016-03-17 11:11 -0700
Message-ID<4ee1c9bb-0a6d-409c-ab31-8bb9bbe390d3@googlegroups.com>
In reply to#84241
W dniu czwartek, 17 marca 2016 13:30:41 UTC+1 użytkownik Arnuld napisał:
> > On Wed, 16 Mar 2016 12:02:16 -0700, Keith Thompson wrote:
> 
> > Send me a copy of slide 18 and I'll be glad to do this for you. I'll
> > need your instructor's e-mail address.  I'll also need your name to be
> > sure you get proper credit for my work.
> 
> First Richard and now you Keith....
> 
> you both are as cute as you were 10 years ago when I started :)
> 
> 
> 
add yet DB to that and that will make Rehaketedebeheb aka 'The Weird Trio'

[toc] | [prev] | [next] | [standalone]


#84180

From"Osmium" <r124c4u102@comcast.net>
Date2016-03-16 14:45 -0600
Message-ID<dktrfaF4lveU1@mid.individual.net>
In reply to#84154
<mervetektas1995@gmail.com> wrote:

> 1. Design an algorithm to print hello world to the screen.
> a. Write pseudo code of your solution first. (10 pts)

I really don't like that course.  Those two are pointless to the point that 
they are harmful.  Neither of those approach the threshold where it makes 
sense to do them.  You might devise an algorithm to make a sandwich, it 
doesn't make sense to most people to devise an algorithm to eat a piece of 
sliced bread. If the course is about masticating, OK, but not if it is how 
to be a cook.

It's as though rules were given to automaton to devise lesson plans - and it 
followed the rules slavishly.  Slavish is what automatons DO. . 

[toc] | [prev] | [next] | [standalone]


#84196

FromMalcolm McLean <malcolm.mclean5@btinternet.com>
Date2016-03-16 15:58 -0700
Message-ID<1864bc63-4e33-42ab-9d5b-7061b94e9e93@googlegroups.com>
In reply to#84180
On Wednesday, March 16, 2016 at 7:45:59 PM UTC, Osmium wrote:
> <mervetektas1995@gmail.com> wrote:
> 
> > 1. Design an algorithm to print hello world to the screen.
> > a. Write pseudo code of your solution first. (10 pts)
> 
> I really don't like that course.  Those two are pointless to the
> point that they are harmful.  Neither of those approach the threshold
> where it makes sense to do them.  You might devise an algorithm to
> make a sandwich, it doesn't make sense to most people to devise an
> algorithm to eat a piece of sliced bread. If the course is about
> masticating, OK, but not if it is how to be a cook.
> 
> It's as though rules were given to automaton to devise lesson 
> plans - and it followed the rules slavishly.  Slavish is what 
> automatons DO. .
>
Exactly.

C has a built-in function to print messages to the screen.
Now to actually write that function, based on fundamentals
like the screen character memory map, is quite challenging,
something for the end of C 101, and it would make sense
to plot out the pseudo code.

But everyone learns printf() first thing, before they really
understand what it is doing, because you need it to get
the results of other, simpler, user-written routines.

It does make sense to write "hello world" first thing, to test
that your C compiler is set up correctly, and you can compose,
compile, run, read the output of, and edit a program. Those
are the very basics and quite often there's some glitch which
needs sorting before you can do anything at all.

[toc] | [prev] | [next] | [standalone]


#84262

Frommark.bluemel@gmail.com
Date2016-03-17 09:57 -0700
Message-ID<1d11a19e-9469-41fc-b9c3-8aa099570e48@googlegroups.com>
In reply to#84154
On Wednesday, 16 March 2016 18:04:46 UTC, mervete...@gmail.com  wrote:
> 1.	Design an algorithm to print hello world to the screen. 
> a.	Write pseudo code of your solution first. (10 pts)
> b.	Write the c code for your solution. (20 pts)
> 2.	Design an algorithm that takes an integer value from the user and notifies the user either this number is even or odd.
> a.	Write pseudo code of your solution first. (20 pts)
> b.	Write the c code for your solution. (20 pts)
> 3.	(30pts) Write the c code of the algorithm given in the slide 18 of 03.ppt.

Would you care to explain what the point of your post is?

Did you want us to take the test for you?

Did you want a discussion of the quality of the test?

It's hard to see what you were trying to achieve...

[toc] | [prev] | [next] | [standalone]


#84272

FromKeith Thompson <kst-u@mib.org>
Date2016-03-17 11:03 -0700
Message-ID<lnbn6df0c1.fsf@kst-u.example.com>
In reply to#84262
mark.bluemel@gmail.com writes:
> On Wednesday, 16 March 2016 18:04:46 UTC, mervete...@gmail.com  wrote:
>> 1.	Design an algorithm to print hello world to the screen. 
>> a.	Write pseudo code of your solution first. (10 pts)
>> b.	Write the c code for your solution. (20 pts)
>> 2.	Design an algorithm that takes an integer value from the user and notifies the user either this number is even or odd.
>> a.	Write pseudo code of your solution first. (20 pts)
>> b.	Write the c code for your solution. (20 pts)
>> 3.	(30pts) Write the c code of the algorithm given in the slide 18 of 03.ppt.
>
> Would you care to explain what the point of your post is?
>
> Did you want us to take the test for you?
>
> Did you want a discussion of the quality of the test?
>
> It's hard to see what you were trying to achieve...

It's not hard to see at all.  He wants us to do his homework for him.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

[toc] | [prev] | [standalone]


Page 3 of 3 — ← Prev page 1 2 [3]

Back to top | Article view | comp.lang.c


csiph-web