Hi,
Please clear the 2 questions,
2 Questions,
1) Why the new as a operator? Is there any special reason why it can't be a function like malloc?
2) How are we considering sizeof(),new are as a opearartors? I know + - * / -> , . etc.. are operators, which criteria satisfied by sizeof()... (4 Replies)
hi
i am using the below code
grep -v '^$' file1.lst >file1.lst
but it gives file1.lst already exists.
And i want to over rite on the same file
Whats the work around? (5 Replies)
Hi,
I'm new to UNIX, at least shell programming and am having trouble figuring out a problem i'm having. In one section in my nested if statement, i want the program to test if the file does not exist, based on an argument supplied at the command line by the user. What i have is
elif ; then... (3 Replies)
I'm almost pulling out my hair trying to figure out what's wrong with this... there's no reason I can see that it shouldn't be working. It seems that the code acts as though the conditional statement is true no matter what - I've even tried removing the negation operator, but it always goes into... (5 Replies)
I have a string of commands I am piping some data through and I want to allow command line switches to select which commands are used. I want to do something like this: OPTION="| command3"
command1 -a -b c.txt | command2 -d -e $OPTION >result.txt
I want to do it that way because OPTION may be... (1 Reply)
All,
THe below is my script , when i use this i am getting nothing . could any one help me to know what is the use of the << operator below
su - $8 << supo
echo "exportsph $2 $1 $3 $4"
exportsph $2 $1 $3 $4
supo
i also tried as individual command su - userid << supo , when i do... (3 Replies)
im new to bash scripting and im just using online tutorials and trial and error. i wanted to write a script to read numbers from a file and find their sum:
#!/bin/bash
theSum=0
for line in $(cat numbers.txt)
do
let "theSum = theSum + $line"
echo "$line"
done
echo "The sum is... (3 Replies)
Hi,
I would like to ask if someone know how to test a files if exist the file is a nfs mount ufsdump archive file..
i used the test operator -f -a h almost all test operator but i failed
file1=ufs_root_image.dump
|| echo "files doesn't exist && exit 1
the false file1 is working but... (0 Replies)
Please show me how to make substitution over the contents of a file in a perl script.
In a perl script, the core part of substitution operation is
s/FINDPATTERN/REPLACEPATTERN/g;
However, I cannot figure out how to make the substitution occur over the contents of a file. The following... (3 Replies)
Hello all, I have two files which are cmd and disk.
`$cat cmd
lsdev | grep -iw`
`$cat disk
hdisk2`
Now I want to use the contents of both the files in a way such that `lsdev | grep -iw` command works for hdisk2 when I write the following script:
`!#/bin/sh
cmd1="$( sed -n... (4 Replies)
Discussion started by: ravi.trivedi
4 Replies
LEARN ABOUT DEBIAN
std::decimal::decimal32
std::decimal::decimal32(3cxx)std::decimal::decimal32(3cxx)NAME
std::decimal::decimal32 -
SYNOPSIS
Public Types
typedef float __decfloat32 __attribute__ ((mode(SD)))
Public Member Functions
decimal32 (decimal64 __d64)
decimal32 (decimal128 __d128)
decimal32 (float __r)
decimal32 (double __r)
decimal32 (long double __r)
decimal32 (int __z)
decimal32 (unsigned int __z)
decimal32 (long __z)
decimal32 (unsigned long __z)
decimal32 (long long __z)
decimal32 (unsigned long long __z)
decimal32 (__decfloat32 __z)
__decfloat32 __getval (void)
void __setval (__decfloat32 __x)
decimal32 & operator*= (decimal32 __rhs)
decimal32 & operator*= (decimal64 __rhs)
decimal32 & operator*= (decimal128 __rhs)
decimal32 & operator*= (int __rhs)
decimal32 & operator*= (unsigned int __rhs)
decimal32 & operator*= (long __rhs)
decimal32 & operator*= (unsigned long __rhs)
decimal32 & operator*= (unsigned long long __rhs)
decimal32 & operator*= (long long __rhs)
decimal32 & operator++ ()
decimal32 operator++ (int)
decimal32 & operator+= (int __rhs)
decimal32 & operator+= (decimal32 __rhs)
decimal32 & operator+= (decimal64 __rhs)
decimal32 & operator+= (decimal128 __rhs)
decimal32 & operator+= (unsigned int __rhs)
decimal32 & operator+= (long __rhs)
decimal32 & operator+= (unsigned long __rhs)
decimal32 & operator+= (long long __rhs)
decimal32 & operator+= (unsigned long long __rhs)
decimal32 & operator-- ()
decimal32 operator-- (int)
decimal32 & operator-= (long __rhs)
decimal32 & operator-= (int __rhs)
decimal32 & operator-= (long long __rhs)
decimal32 & operator-= (unsigned long long __rhs)
decimal32 & operator-= (unsigned long __rhs)
decimal32 & operator-= (decimal128 __rhs)
decimal32 & operator-= (unsigned int __rhs)
decimal32 & operator-= (decimal32 __rhs)
decimal32 & operator-= (decimal64 __rhs)
decimal32 & operator/= (decimal32 __rhs)
decimal32 & operator/= (long long __rhs)
decimal32 & operator/= (unsigned long long __rhs)
decimal32 & operator/= (unsigned long __rhs)
decimal32 & operator/= (decimal64 __rhs)
decimal32 & operator/= (unsigned int __rhs)
decimal32 & operator/= (decimal128 __rhs)
decimal32 & operator/= (long __rhs)
decimal32 & operator/= (int __rhs)
Detailed Description
3.2.2 Class decimal32.
Definition at line 227 of file decimal.
Constructor & Destructor Documentation
std::decimal::decimal32::decimal32 (__decfloat32__z) [inline]
Conforming extension: Conversion from scalar decimal type.
Definition at line 251 of file decimal.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Tue Nov 27 2012 std::decimal::decimal32(3cxx)