Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"One day I woke up and discovered that I was in love with tripe." -- Tom Anderson


devel / comp.lang.c / Re: I need a c program that prints the following statement

SubjectAuthor
* Re: I need a c program that prints the following statementSuresh Devanathan
`* Re: I need a c program that prints the following statementSuresh Devanathan
 +* Re: I need a c program that prints the following statementLew Pitcher
 |`* Re: I need a c program that prints the following statementSuresh Devanathan
 | +- Re: I need a c program that prints the following statementLew Pitcher
 | `- Re: I need a c program that prints the following statementKeith Thompson
 `- Re: I need a c program that prints the following statementJames Kuyper

1
Re: I need a c program that prints the following statement

<3da845b5-5ac4-4fda-8ec5-f2d57acbbf37n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19310&group=comp.lang.c#19310

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:ad4:5cef:: with SMTP id iv15mr15758799qvb.82.1639053060206;
Thu, 09 Dec 2021 04:31:00 -0800 (PST)
X-Received: by 2002:a37:67ca:: with SMTP id b193mr13449885qkc.282.1639052947648;
Thu, 09 Dec 2021 04:29:07 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Thu, 9 Dec 2021 04:29:07 -0800 (PST)
In-Reply-To: <866a68aa-fd34-4e8e-ac55-824bf83c9412n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=72.82.137.35; posting-account=e7hm1gkAAAAlvdivRXXsJYH8LAX3fkLd
NNTP-Posting-Host: 72.82.137.35
References: <866a68aa-fd34-4e8e-ac55-824bf83c9412n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3da845b5-5ac4-4fda-8ec5-f2d57acbbf37n@googlegroups.com>
Subject: Re: I need a c program that prints the following statement
From: idat...@gmail.com (Suresh Devanathan)
Injection-Date: Thu, 09 Dec 2021 12:31:00 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 4
 by: Suresh Devanathan - Thu, 9 Dec 2021 12:29 UTC

On Friday, October 16, 2020 at 5:39:58 PM UTC-4, Suresh Devanathan wrote:
> "FC: 100% VL:1 time:0.0s"
>
>
> and you need to also add the output of the program here

Re: I need a c program that prints the following statement

<035a433d-a532-46e4-aa22-912c42c1f297n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19311&group=comp.lang.c#19311

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:6214:d84:: with SMTP id e4mr17134341qve.128.1639059338635;
Thu, 09 Dec 2021 06:15:38 -0800 (PST)
X-Received: by 2002:ac8:7dc1:: with SMTP id c1mr17329258qte.275.1639059338406;
Thu, 09 Dec 2021 06:15:38 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Thu, 9 Dec 2021 06:15:38 -0800 (PST)
In-Reply-To: <3da845b5-5ac4-4fda-8ec5-f2d57acbbf37n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=72.82.137.35; posting-account=e7hm1gkAAAAlvdivRXXsJYH8LAX3fkLd
NNTP-Posting-Host: 72.82.137.35
References: <866a68aa-fd34-4e8e-ac55-824bf83c9412n@googlegroups.com> <3da845b5-5ac4-4fda-8ec5-f2d57acbbf37n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <035a433d-a532-46e4-aa22-912c42c1f297n@googlegroups.com>
Subject: Re: I need a c program that prints the following statement
From: idat...@gmail.com (Suresh Devanathan)
Injection-Date: Thu, 09 Dec 2021 14:15:38 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 9
 by: Suresh Devanathan - Thu, 9 Dec 2021 14:15 UTC

On Thursday, December 9, 2021 at 7:31:10 AM UTC-5, Suresh Devanathan wrote:
> On Friday, October 16, 2020 at 5:39:58 PM UTC-4, Suresh Devanathan wrote:
> > "FC: 100% VL:1 time:0.0s"

if the output of the program is unpredictable unless you run it. what will a program that
prints the above statement look like?

> >
> >
> > and you need to also add the output of the program here

Re: I need a c program that prints the following statement

<sot5po$o4u$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19314&group=comp.lang.c#19314

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.lang.c
Subject: Re: I need a c program that prints the following statement
Date: Thu, 9 Dec 2021 15:02:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <sot5po$o4u$1@dont-email.me>
References: <866a68aa-fd34-4e8e-ac55-824bf83c9412n@googlegroups.com>
<3da845b5-5ac4-4fda-8ec5-f2d57acbbf37n@googlegroups.com>
<035a433d-a532-46e4-aa22-912c42c1f297n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 9 Dec 2021 15:02:16 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="124de412fc5260891db938cc729eaa19";
logging-data="24734"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+SwyHKGoQAO9YL0XCe/d4+WaorAyxuLyg="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:aKXBSAFsx6HsbqSwQXW04hK9zV8=
 by: Lew Pitcher - Thu, 9 Dec 2021 15:02 UTC

On Thu, 09 Dec 2021 06:15:38 -0800, Suresh Devanathan wrote:

> On Thursday, December 9, 2021 at 7:31:10 AM UTC-5, Suresh Devanathan
> wrote:
>> On Friday, October 16, 2020 at 5:39:58 PM UTC-4, Suresh Devanathan
>> wrote:
>> > "FC: 100% VL:1 time:0.0s"
>
> if the output of the program is unpredictable unless you run it. what
> will a program that prints the above statement look like?

Only you can tell us the answer to that question.

Outside of the limited requirements that you have posted already (in
2020, and now), we have no idea of what this program does, or how it does
it. In 2020, you received a number of suggestions, including both a
solution to the problem as you presented it then, and a framework
solution for the problem as you present it now. I suggest that you either
review those solutions posted in 2020, or provide more details on the
function and operation of the program you seek.

>> >
>> > and you need to also add the output of the program here

HTH
--
Lew Pitcher
"In Skills, We Trust"

Re: I need a c program that prints the following statement

<sotmmf$sor$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19319&group=comp.lang.c#19319

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jameskuy...@alumni.caltech.edu (James Kuyper)
Newsgroups: comp.lang.c
Subject: Re: I need a c program that prints the following statement
Date: Thu, 9 Dec 2021 14:50:39 -0500
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <sotmmf$sor$1@dont-email.me>
References: <866a68aa-fd34-4e8e-ac55-824bf83c9412n@googlegroups.com>
<3da845b5-5ac4-4fda-8ec5-f2d57acbbf37n@googlegroups.com>
<035a433d-a532-46e4-aa22-912c42c1f297n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 9 Dec 2021 19:50:40 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="68df169f333644c4e049237b335a1765";
logging-data="29467"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+vqnCoOLJ8WLNjWG+VLxldZhI0dAGHIiQ="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Cancel-Lock: sha1:eXKiCgqVhHpg278TCm/zSmyJ6T8=
In-Reply-To: <035a433d-a532-46e4-aa22-912c42c1f297n@googlegroups.com>
Content-Language: en-US
 by: James Kuyper - Thu, 9 Dec 2021 19:50 UTC

On 12/9/21 9:15 AM, Suresh Devanathan wrote:
> On Thursday, December 9, 2021 at 7:31:10 AM UTC-5, Suresh Devanathan wrote:
>> On Friday, October 16, 2020 at 5:39:58 PM UTC-4, Suresh Devanathan wrote:
>>> "FC: 100% VL:1 time:0.0s"

You got several answers when you first posted that, which met all the
requirements you specified. If none of them were acceptable (as seems
likely), you need to identify the additional requirements that you left
out of your earlier message (and this one).

> if the output of the program is unpredictable unless you run it. what will a program that
> prints the above statement look like?

The only thing you have specified about the program is the output, so
anything that meets that specification is guaranteed to produce that
output, so how could it be unpredictable?

Re: I need a c program that prints the following statement

<cffc2fb1-f83f-4820-8602-c03987d071den@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19338&group=comp.lang.c#19338

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:4446:: with SMTP id w6mr20453343qkp.631.1639143776099;
Fri, 10 Dec 2021 05:42:56 -0800 (PST)
X-Received: by 2002:a05:620a:4628:: with SMTP id br40mr20201494qkb.519.1639143775892;
Fri, 10 Dec 2021 05:42:55 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Fri, 10 Dec 2021 05:42:55 -0800 (PST)
In-Reply-To: <sot5po$o4u$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=72.82.137.35; posting-account=e7hm1gkAAAAlvdivRXXsJYH8LAX3fkLd
NNTP-Posting-Host: 72.82.137.35
References: <866a68aa-fd34-4e8e-ac55-824bf83c9412n@googlegroups.com>
<3da845b5-5ac4-4fda-8ec5-f2d57acbbf37n@googlegroups.com> <035a433d-a532-46e4-aa22-912c42c1f297n@googlegroups.com>
<sot5po$o4u$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cffc2fb1-f83f-4820-8602-c03987d071den@googlegroups.com>
Subject: Re: I need a c program that prints the following statement
From: idat...@gmail.com (Suresh Devanathan)
Injection-Date: Fri, 10 Dec 2021 13:42:56 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 30
 by: Suresh Devanathan - Fri, 10 Dec 2021 13:42 UTC

On Thursday, December 9, 2021 at 10:02:31 AM UTC-5, Lew Pitcher wrote:
> On Thu, 09 Dec 2021 06:15:38 -0800, Suresh Devanathan wrote:
>
> > On Thursday, December 9, 2021 at 7:31:10 AM UTC-5, Suresh Devanathan
> > wrote:
> >> On Friday, October 16, 2020 at 5:39:58 PM UTC-4, Suresh Devanathan
> >> wrote:
> >> > "FC: 100% VL:1 time:0.0s"
> >
> > if the output of the program is unpredictable unless you run it. what
> > will a program that prints the above statement look like?
> Only you can tell us the answer to that question.
>
> Outside of the limited requirements that you have posted already (in
> 2020, and now), we have no idea of what this program does, or how it does
> it. In 2020, you received a number of suggestions, including both a
> solution to the problem as you presented it then, and a framework
> solution for the problem as you present it now. I suggest that you either
> review those solutions posted in 2020, or provide more details on the
> function and operation of the program you seek.
> >> >
> >> > and you need to also add the output of the program here
> HTH
> --
> Lew Pitcher
> "In Skills, We Trust"

no, i changed from "FL:1" to "VL:1"

the actual statement is
"FC: 100% VL:1 time:0.0s"

Re: I need a c program that prints the following statement

<sovsrv$e3a$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19341&group=comp.lang.c#19341

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.lang.c
Subject: Re: I need a c program that prints the following statement
Date: Fri, 10 Dec 2021 15:48:15 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <sovsrv$e3a$1@dont-email.me>
References: <866a68aa-fd34-4e8e-ac55-824bf83c9412n@googlegroups.com>
<3da845b5-5ac4-4fda-8ec5-f2d57acbbf37n@googlegroups.com>
<035a433d-a532-46e4-aa22-912c42c1f297n@googlegroups.com>
<sot5po$o4u$1@dont-email.me>
<cffc2fb1-f83f-4820-8602-c03987d071den@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 10 Dec 2021 15:48:15 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="403b390741defc87c53bcd4d84880318";
logging-data="14442"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4pIO4wTlpEcivei3T5Cmt3hCH1sQSzzU="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:jJn4nJF4/8BDZYLXUg/pIUvwn+I=
 by: Lew Pitcher - Fri, 10 Dec 2021 15:48 UTC

On Fri, 10 Dec 2021 05:42:55 -0800, Suresh Devanathan wrote:

> On Thursday, December 9, 2021 at 10:02:31 AM UTC-5, Lew Pitcher wrote:
>> On Thu, 09 Dec 2021 06:15:38 -0800, Suresh Devanathan wrote:
>>
>> > On Thursday, December 9, 2021 at 7:31:10 AM UTC-5, Suresh Devanathan
>> > wrote:
>> >> On Friday, October 16, 2020 at 5:39:58 PM UTC-4, Suresh Devanathan
>> >> wrote:
>> >> > "FC: 100% VL:1 time:0.0s"
>> >
>> > if the output of the program is unpredictable unless you run it. what
>> > will a program that prints the above statement look like?
>> Only you can tell us the answer to that question.
>>
>> Outside of the limited requirements that you have posted already (in
>> 2020, and now), we have no idea of what this program does, or how it
>> does it. In 2020, you received a number of suggestions, including both
>> a solution to the problem as you presented it then, and a framework
>> solution for the problem as you present it now. I suggest that you
>> either review those solutions posted in 2020, or provide more details
>> on the function and operation of the program you seek.
>> >> >
>> >> > and you need to also add the output of the program here
>> HTH --
>> Lew Pitcher "In Skills, We Trust"
>
> no, i changed from "FL:1" to "VL:1"
>
> the actual statement is "FC: 100% VL:1 time:0.0s"

Ohh... That's easy then

Just take one of the solutions provided in 2020 and alter it so
that it contains "VL:1" instead of "FL:1".

--
Lew Pitcher
"In Skills, We Trust"

Re: I need a c program that prints the following statement

<87wnkc9t8b.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19344&group=comp.lang.c#19344

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: I need a c program that prints the following statement
Date: Fri, 10 Dec 2021 11:04:36 -0800
Organization: None to speak of
Lines: 57
Message-ID: <87wnkc9t8b.fsf@nosuchdomain.example.com>
References: <866a68aa-fd34-4e8e-ac55-824bf83c9412n@googlegroups.com>
<3da845b5-5ac4-4fda-8ec5-f2d57acbbf37n@googlegroups.com>
<035a433d-a532-46e4-aa22-912c42c1f297n@googlegroups.com>
<sot5po$o4u$1@dont-email.me>
<cffc2fb1-f83f-4820-8602-c03987d071den@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="b669a5611549520704c9fe5a579bad30";
logging-data="24466"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cwbWm097e7cXuGBHplFe4"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:EWnuWk3bdEjahT2XUpnmW4SwNuk=
sha1:oS1bgPcTh61stIkCJUGpZS+6WFo=
 by: Keith Thompson - Fri, 10 Dec 2021 19:04 UTC

Suresh Devanathan <idatarm@gmail.com> writes:
> On Thursday, December 9, 2021 at 10:02:31 AM UTC-5, Lew Pitcher wrote:
>> On Thu, 09 Dec 2021 06:15:38 -0800, Suresh Devanathan wrote:
>>
>> > On Thursday, December 9, 2021 at 7:31:10 AM UTC-5, Suresh Devanathan
>> > wrote:
>> >> On Friday, October 16, 2020 at 5:39:58 PM UTC-4, Suresh Devanathan
>> >> wrote:
>> >> > "FC: 100% VL:1 time:0.0s"
>> >
>> > if the output of the program is unpredictable unless you run it. what
>> > will a program that prints the above statement look like?
>> Only you can tell us the answer to that question.
>>
>> Outside of the limited requirements that you have posted already (in
>> 2020, and now), we have no idea of what this program does, or how it does
>> it. In 2020, you received a number of suggestions, including both a
>> solution to the problem as you presented it then, and a framework
>> solution for the problem as you present it now. I suggest that you either
>> review those solutions posted in 2020, or provide more details on the
>> function and operation of the program you seek.
>> >> >
>> >> > and you need to also add the output of the program here
>> HTH
>
> no, i changed from "FL:1" to "VL:1"
>
> the actual statement is
> "FC: 100% VL:1 time:0.0s"

You seem not to understand what people are asking from you.

You've asked us how to write a C program to display a particular string.
You've only shown us the string itself, and told us nothing about its
meaning. We can see that it includes some numbers, but you haven't told
us how they're computed or what they mean, if anything. As far as we
can tell, they're just sequences of decimal digits. The whole string
you showed us is fundamentally different than "hello, world"

This line of code:

puts("FC: 100% VL:1 time:0.0s");

satisfies your requirements *as you have stated them to us*. We all
understand that it doesn't meet your actual requirements, but you
haven't told us what those requirements are. Can the "FC" and "VL"
substrings vary? If so, how? Can the 100% and 0.0 numbers vary? If
so, how are they determined?

You've also shown no attempt to solve the problem yourself.

We have given you all the help that we can with the information we have.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Philips
void Void(void) { Void(); } /* The recursive call of the void */

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor