06-09-2015
Just asking as i dont speak C[#/+].
0) Is this a GUI or console app?
1) It (to me) looks like you can only adress one screen at the time, due to the if-elif block, you might want to change (or just add) a for ARG loop?
hth
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Good day!
I am trying to learn how to use the "sed" editor, to perform multiple edits on multiple files in multiple directories.
I have one script that tries to call up each file and process it according to the edits listed in a second script. I am using a small input text to test these, at... (12 Replies)
Discussion started by: kielitaide
12 Replies
2. Programming
Hi All,
Here's my question
I have a 385 MB file containing 5,000,000 records.
I need to read from the file and load into a table.
Initially i thought of doing it in a single thread (execution of a single program) but when calculated accounted 16 hours of time on a standard benchmark.
Hence... (5 Replies)
Discussion started by: matrixmadhan
5 Replies
3. UNIX for Dummies Questions & Answers
Dear Experts
Why we always hear that unix operating system is Multi User and Multi task. What does these two means. I have looked at some books and documents but couldn't find aclear explenation. Can we say Windows operating system is also multi user and multi task??
Thanks for your help in... (6 Replies)
Discussion started by: Reza Nazarian
6 Replies
4. Programming
I am not sure if multi threading is the correct term, but here is what I am trying to do. I have a while loop that displays the number 1, pauses, displays the number 2, pauses , displays the number 3 ad infinitum. It just keeps counting.
While the screen displays the sequence of numbers counting... (4 Replies)
Discussion started by: enuenu
4 Replies
5. Shell Programming and Scripting
I have fixed width source file data look like this,
J510111112222
J5102ABCD
J510133334444
J5102EFGH
I want to make this like
11112222J510111112222
11112222J5102ABCD
33334444J510133334444
33334444J5102EFGH
Bolded is the record type.
Thanks for help. (8 Replies)
Discussion started by: saravanamr
8 Replies
6. Red Hat
Hi,
We will purchase redhat enterprise WS. We want to use Windows and Redhat in same machine. For this purpose , should we buy Redhat with Multi OS option? Or Is it just for virtualization..? (I couldnt be sure)
Regards... (3 Replies)
Discussion started by: titanic
3 Replies
7. Shell Programming and Scripting
I have a file with data records separated by multiple equals signs, as below.
==========
RECORD 1
==========
RECORD 2
DATA LINE
==========
RECORD 3
==========
RECORD 4
DATA LINE
==========
RECORD 5
DATA LINE
==========
I need to filter out all data from this file where the... (2 Replies)
Discussion started by: Finja
2 Replies
8. Shell Programming and Scripting
Hi,
I have a problem where I need to make this input:
nameRow1a,text1a,text2a,floatValue1a,FloatValue2a,...,floatValue140a
nameRow1b,text1b,text2b,floatValue1b,FloatValue2b,...,floatValue140b
look like this output:
nameRow1a,text1b,text2a,(floatValue1a - floatValue1b),(floatValue2a -... (4 Replies)
Discussion started by: nricardo
4 Replies
9. UNIX for Dummies Questions & Answers
Hello
I have a CentOS 6.5
PHP version : 5.4
Software : Nginx+Apache
PHP handler : fcgi
Currently I have php 5.4, however I have some scripts which requires php 5.3. How can I achieve this? PHP selector requires CloudLinux. I do not wish to buy CloudLinux subs
Can anyone guide me how can... (1 Reply)
Discussion started by: johnchristy
1 Replies
10. Shell Programming and Scripting
Input File:
>Seq1
ASDADAFASFASFADGSDGFSDFSDFSDFSDFSDFSDFSDFSDFSDFSDFSD
>Seq2
SDASDAQEQWEQeqAdfaasd
>Seq3
ASDSALGHIUDFJANCAGPATHLACJHPAUTYNJKG
......
Desired Output File
>Seq1
ASDADAFASF
ASFADGSDGF
SDFSDFSDFS
DFSDFSDFSD
FSDFSDFSDF
SD
>Seq2 (4 Replies)
Discussion started by: patrick87
4 Replies
LEARN ABOUT DEBIAN
plcalc_world
PLCALC_WORLD(3plplot) PLplot API PLCALC_WORLD(3plplot)
NAME
plcalc_world - Calculate world coordinates and corresponding window index from relative device coordinates
SYNOPSIS
plcalc_world(rx, ry, wx, wy, window)
DESCRIPTION
Calculate world coordinates, wx and wy, and corresponding window index from relative device coordinates, rx and ry.
Redacted form: General: plcalc_world(rx, ry, wx, wy, window) Perl/PDL: Not available?
This function is used in example 31.
ARGUMENTS
rx (PLFLT, input)
Input relative device coordinate (ranging from 0. to 1.) for the x coordinate.
ry (PLFLT, input)
Input relative device coordinate (ranging from 0. to 1.) for the y coordinate.
wx (PLFLT *, output)
Pointer to the returned world coordinate for x corresponding to the relative device coordinates rx and ry.
wy (PLFLT *, output)
Pointer to the returned world coordinate for y corresponding to the relative device coordinates rx and ry.
window (PLINT *, output)
Pointer to the returned last defined window index that corresponds to the input relative device coordinates (and the returned world
coordinates). To give some background on the window index, for each page the initial window index is set to zero, and each time
plwind(3plplot) is called within the page, world and device coordinates are stored for the window and the window index is incre-
mented. Thus, for a simple page layout with non-overlapping viewports and one window per viewport, window corresponds to the view-
port index (in the order which the viewport/windows were created) of the only viewport/window corresponding to rx and ry. However,
for more complicated layouts with potentially overlapping viewports and possibly more than one window (set of world coordinates) per
viewport, window and the corresponding output world coordinates corresponds to the last window created that fulfils the criterion
that the relative device coordinates are inside it. Finally, in all cases where the input relative device coordinates are not
inside any viewport/window, then window is set to -1.
AUTHORS
Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This man page was automatically generated from the DocBook source of the
PLplot documentation, maintained by Alan W. Irwin and Rafael Laboissiere.
SEE ALSO
PLplot documentation at http://plplot.sourceforge.net/resources.
August, 2012 PLCALC_WORLD(3plplot)