Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #163740 > unrolled thread
| Started by | Suresh Devanathan <idatarm@gmail.com> |
|---|---|
| First post | 2021-12-09 04:29 -0800 |
| Last post | 2021-12-09 14:50 -0500 |
| Articles | 7 — 4 participants |
Back to article view | Back to comp.lang.c
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: I need a c program that prints the following statement Suresh Devanathan <idatarm@gmail.com> - 2021-12-09 04:29 -0800
Re: I need a c program that prints the following statement Suresh Devanathan <idatarm@gmail.com> - 2021-12-09 06:15 -0800
Re: I need a c program that prints the following statement Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2021-12-09 15:02 +0000
Re: I need a c program that prints the following statement Suresh Devanathan <idatarm@gmail.com> - 2021-12-10 05:42 -0800
Re: I need a c program that prints the following statement Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2021-12-10 15:48 +0000
Re: I need a c program that prints the following statement Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2021-12-10 11:04 -0800
Re: I need a c program that prints the following statement James Kuyper <jameskuyper@alumni.caltech.edu> - 2021-12-09 14:50 -0500
| From | Suresh Devanathan <idatarm@gmail.com> |
|---|---|
| Date | 2021-12-09 04:29 -0800 |
| Subject | Re: I need a c program that prints the following statement |
| Message-ID | <3da845b5-5ac4-4fda-8ec5-f2d57acbbf37n@googlegroups.com> |
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
[toc] | [next] | [standalone]
| From | Suresh Devanathan <idatarm@gmail.com> |
|---|---|
| Date | 2021-12-09 06:15 -0800 |
| Message-ID | <035a433d-a532-46e4-aa22-912c42c1f297n@googlegroups.com> |
| In reply to | #163740 |
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
[toc] | [prev] | [next] | [standalone]
| From | Lew Pitcher <lew.pitcher@digitalfreehold.ca> |
|---|---|
| Date | 2021-12-09 15:02 +0000 |
| Message-ID | <sot5po$o4u$1@dont-email.me> |
| In reply to | #163741 |
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"
[toc] | [prev] | [next] | [standalone]
| From | Suresh Devanathan <idatarm@gmail.com> |
|---|---|
| Date | 2021-12-10 05:42 -0800 |
| Message-ID | <cffc2fb1-f83f-4820-8602-c03987d071den@googlegroups.com> |
| In reply to | #163744 |
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"
[toc] | [prev] | [next] | [standalone]
| From | Lew Pitcher <lew.pitcher@digitalfreehold.ca> |
|---|---|
| Date | 2021-12-10 15:48 +0000 |
| Message-ID | <sovsrv$e3a$1@dont-email.me> |
| In reply to | #163768 |
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"
[toc] | [prev] | [next] | [standalone]
| From | Keith Thompson <Keith.S.Thompson+u@gmail.com> |
|---|---|
| Date | 2021-12-10 11:04 -0800 |
| Message-ID | <87wnkc9t8b.fsf@nosuchdomain.example.com> |
| In reply to | #163768 |
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 */
[toc] | [prev] | [next] | [standalone]
| From | James Kuyper <jameskuyper@alumni.caltech.edu> |
|---|---|
| Date | 2021-12-09 14:50 -0500 |
| Message-ID | <sotmmf$sor$1@dont-email.me> |
| In reply to | #163741 |
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?
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.c
csiph-web