Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | bilsch <king621@comcast.net> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Why this behavior? |
| Date | 2015-03-28 11:06 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <mf620e$sh7$1@dont-email.me> (permalink) |
This question is not related to a similar question I posted previously regarding command line arguments. That problem is solved - this is different. I made a program that draws Lissajous patterns (periodic graphs) using sine functions and exponential functions. There are many parameters that affect the display of these graphs. There is 'front end' code that allows user to set these parameters using scanf. This front end should query the user any time the program is started - indeed it does when the program is started from the command line. I have an icon on my Ubuntu desktop that starts the program when you double click the icon - however when you do it that way none of the user querys are executed. The program simply runs using the values initialized when the variables were declared. This behavior is a mystery to me. How does it skip over the front end code? I have another simpler program structured the same way and it has the same behavior when started by double clicking the icon. TIA. Bill S.
Back to comp.lang.c | Previous | Next — Next in thread | Find similar | Unroll thread
Why this behavior? bilsch <king621@comcast.net> - 2015-03-28 11:06 +0000
Re: Why this behavior? Richard Heathfield <rjh@cpax.org.uk> - 2015-03-28 11:16 +0000
Re: Why this behavior? bilsch <king621@comcast.net> - 2015-03-28 11:22 +0000
Re: Why this behavior? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-03-28 15:22 +0000
Re: Why this behavior? Richard Heathfield <rjh@cpax.org.uk> - 2015-03-28 21:42 +0000
Re: Why this behavior? Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-03-28 05:53 -0700
Re: Why this behavior? bilsch <king621@comcast.net> - 2015-03-28 15:39 +0000
Re: Why this behavior? Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-03-28 09:24 -0700
Re: Why this behavior? bilsch <king621@comcast.net> - 2015-03-28 17:05 +0000
Re: Why this behavior? bilsch <king621@comcast.net> - 2015-03-28 17:08 +0000
Re: Why this behavior? Keith Thompson <kst-u@mib.org> - 2015-03-28 17:34 -0700
Re: Why this behavior? Lőrinczy Zsigmond <nospam@for.me> - 2015-03-28 14:35 +0100
csiph-web