04-28-2002
First write the value of vector::size() to the file. And then write all the values in vector using a for-loop. The size will tell you (when reading from the file) how many vector values are present.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
What command do I use in order to save a file in directory A/B/C
to directory A/D/E. (1 Reply)
Discussion started by: JSP
1 Replies
2. UNIX for Dummies Questions & Answers
Is there a way to control that under a specific directory only a file with certain extension is allowed to be saved, others are denied.
For example, only *.txt extension is allowed to be saved in directory /abc, and files with extension .rtf is allowed in /xyz
(I know that UX does not care... (4 Replies)
Discussion started by: saswerks
4 Replies
3. UNIX for Dummies Questions & Answers
If I do a "history" and get a list of commands that I've done before, can I save them to a text file? If not, then would there be any other ways around this? Also, what's a snapshot?
Thanks in advance. (6 Replies)
Discussion started by: DrManhattan
6 Replies
4. Shell Programming and Scripting
Hello.
I have written a bash script that I am sharing with an OS X community I am a member of. The purpose of the script is to execute a series of commands for members without them having to get involved with Terminal, as it can be daunting for those with no experience of it at all. I have renamed... (4 Replies)
Discussion started by: baza210
4 Replies
5. Shell Programming and Scripting
I am ssh to many servers to get some information... however sometimes the server is unreacheable and i am getting an error. I want to save that output to a file but I am not able to do so...
I want to be able to save output of bash into a file.. so when I run this command on a script
ssh... (5 Replies)
Discussion started by: eponcedeleonc
5 Replies
6. Shell Programming and Scripting
HI
I have a file samp1.xml which has the following content
<ErrorMessage><ExceptionNumber>5117</ExceptionNumber><OriginalMessage><!<?xml version="1.0" encoding="UTF-8"?> <EMAILS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNameSpaceSchemaLocation=".\SMTPSchema.xsd"> <EMAIL... (7 Replies)
Discussion started by: harimhkr
7 Replies
7. Solaris
I have a file with the following content:
--------------------
SQL> @DBmonitor_WMHA_SQL_script.sql;
Tablespace Size (GB) Free (GB) % Free % Used
------------------------------ ---------- ---------- ---------- ----------
WMHAIT_IS ... (8 Replies)
Discussion started by: Avik Datta
8 Replies
8. Programming
Dear All
I have 200 data files and each files has many duplicates.
I am looking for the automated awk script such that it checks and removes the duplicates from the each file and saving them as new files for all 200 files in the respective folder.
For example my data looks like this..
... (12 Replies)
Discussion started by: bala06
12 Replies
9. UNIX for Dummies Questions & Answers
Hi Guy's,
I want to run a snoop on an interface and then save it to the local jumpbox that I am connected to the end device via. Can anyone help with the syntax please.
Cheers (3 Replies)
Discussion started by: mutley2202
3 Replies
10. Shell Programming and Scripting
Hi,
i need help with a file creation of an output program. I've got a program that with #find creates an output for each files in a directory.
If i give this command :
-o spec$(date -u +%Y%m%dt%H%M)
it creates just one file, overwriting all the others since it is the creation date .... (2 Replies)
Discussion started by: Board27
2 Replies
LEARN ABOUT CENTOS
csrscl
csrscl.f(3) LAPACK csrscl.f(3)
NAME
csrscl.f -
SYNOPSIS
Functions/Subroutines
subroutine csrscl (N, SA, SX, INCX)
CSRSCL multiplies a vector by the reciprocal of a real scalar.
Function/Subroutine Documentation
subroutine csrscl (integerN, realSA, complex, dimension( * )SX, integerINCX)
CSRSCL multiplies a vector by the reciprocal of a real scalar.
Purpose:
CSRSCL multiplies an n-element complex vector x by the real scalar
1/a. This is done without overflow or underflow as long as
the final result x/a does not overflow or underflow.
Parameters:
N
N is INTEGER
The number of components of the vector x.
SA
SA is REAL
The scalar a which is used to divide each component of x.
SA must be >= 0, or the subroutine will divide by zero.
SX
SX is COMPLEX array, dimension
(1+(N-1)*abs(INCX))
The n-element vector x.
INCX
INCX is INTEGER
The increment between successive values of the vector SX.
> 0: SX(1) = X(1) and SX(1+(i-1)*INCX) = x(i), 1< i<= n
Author:
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
September 2012
Definition at line 85 of file csrscl.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
Version 3.4.2 Tue Sep 25 2012 csrscl.f(3)