10-12-2006
Quote:
Originally Posted by apoorvasharma80
Hi,
Is there any way to calculate the size of a built in data type without using 'sizeof' operator? I also don't have the option to read it from std .h file.
regards
Apoorva Kumar
What happened with
sizeof (just interesting)?
10 More Discussions You Might Find Interesting
1. Programming
What is the difference between int** func() and int*& func(). Can you please explain it with suitable example.
Thanks,
Devesh. (1 Reply)
Discussion started by: devesh
1 Replies
2. Shell Programming and Scripting
I would like to create a script for calculating size and remaining space of a directory automatically every 24 hours, then send an email to report to the admin.
* POSIX and PERL are preferred.
Can anyone help, please? (1 Reply)
Discussion started by: leonall
1 Replies
3. UNIX for Dummies Questions & Answers
hello everybody!
I want to create a file with permissions for read, write, and execute to everybody using C, so I write this code:
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
int main(){
int fileDescriptor;
fileDescriptor =... (2 Replies)
Discussion started by: csnmgeek
2 Replies
4. UNIX for Dummies Questions & Answers
hello dont know if this is the correct forum for this post but i have a question.
i am revising for a exam on operating systems and i have the question...
A system has a 32bit virtual address divided into 2kbyte pages and each entry in the page table is 6 bytes in length.
what is the size... (0 Replies)
Discussion started by: Fortune
0 Replies
5. Shell Programming and Scripting
Hi All,
I am very new to shell scripting. I have a text file which is the output of another utility. This text file has a list of SAF files which is basically a list of orphan attachments in the attachments directory. Now I want to read each file name from the file, get its size and repeat this... (6 Replies)
Discussion started by: RajeshReddy
6 Replies
6. Programming
Hi,
from the manual
listen(2): listen for connections on socket - Linux man page
It has a parameter called backlog and it limits the maximum length of queue of pending list.
If I set backlog to 128, is it means no more than 128 packets can be handled by server?
If I have three... (3 Replies)
Discussion started by: sehang
3 Replies
7. AIX
Hi
This is the lspv output of my server :
cbspsdb01 #lspv
hdisk0 00c7518d2d512fd4 cdgvg active
hdisk1 00c7518d2dcbc9d6 cdgvg active
hdisk2 00c7518dcda9199a appvg active
hdisk3... (1 Reply)
Discussion started by: samsungsamsung
1 Replies
8. Shell Programming and Scripting
Hey guys.....
I have many files (lets say 100 or more) of same size, and I want to create a new output file and calculate the average of first row fifth column in all files and print it in first row of output file, then 2nd row fifth col in all 100 files and print it in 2nd row of output... (1 Reply)
Discussion started by: CAch
1 Replies
9. UNIX for Beginners Questions & Answers
hi everyone
i have a backup share mounted with me on solaris 10 which have daily backups. everyday i need to calculate all individual sizes of files and need to report somewhere. e.g i have .rman 7backup files daily . what i need that is there any commnd or variation of du command which can add... (1 Reply)
Discussion started by: janakors
1 Replies
10. UNIX for Beginners Questions & Answers
hi everyone
i have posted this query but i dont where it has gone
i am posting again . my issue is that i have many backup files in a backup nfs share and i need to calculate it size just by adding their individual file sizes which is repetitive jobs. so is there any command or variation of du... (1 Reply)
Discussion started by: janakors
1 Replies
LEARN ABOUT DEBIAN
std::decimal::decimal64
std::decimal::decimal64(3cxx) std::decimal::decimal64(3cxx)
NAME
std::decimal::decimal64 -
SYNOPSIS
Public Types
typedef float __decfloat64 __attribute__ ((mode(DD)))
Public Member Functions
decimal64 (decimal32 d32)
decimal64 (decimal128 d128)
decimal64 (float __r)
decimal64 (double __r)
decimal64 (long double __r)
decimal64 (int __z)
decimal64 (unsigned int __z)
decimal64 (long __z)
decimal64 (unsigned long __z)
decimal64 (long long __z)
decimal64 (unsigned long long __z)
decimal64 (__decfloat64 __z)
__decfloat64 __getval (void)
void __setval (__decfloat64 __x)
decimal64 & operator*= (decimal32 __rhs)
decimal64 & operator*= (decimal64 __rhs)
decimal64 & operator*= (decimal128 __rhs)
decimal64 & operator*= (int __rhs)
decimal64 & operator*= (unsigned int __rhs)
decimal64 & operator*= (long __rhs)
decimal64 & operator*= (unsigned long __rhs)
decimal64 & operator*= (unsigned long long __rhs)
decimal64 & operator*= (long long __rhs)
decimal64 & operator++ ()
decimal64 operator++ (int)
decimal64 & operator+= (int __rhs)
decimal64 & operator+= (decimal32 __rhs)
decimal64 & operator+= (decimal64 __rhs)
decimal64 & operator+= (decimal128 __rhs)
decimal64 & operator+= (unsigned int __rhs)
decimal64 & operator+= (long __rhs)
decimal64 & operator+= (unsigned long __rhs)
decimal64 & operator+= (long long __rhs)
decimal64 & operator+= (unsigned long long __rhs)
decimal64 & operator-- ()
decimal64 operator-- (int)
decimal64 & operator-= (long __rhs)
decimal64 & operator-= (int __rhs)
decimal64 & operator-= (long long __rhs)
decimal64 & operator-= (unsigned long long __rhs)
decimal64 & operator-= (unsigned long __rhs)
decimal64 & operator-= (decimal128 __rhs)
decimal64 & operator-= (unsigned int __rhs)
decimal64 & operator-= (decimal32 __rhs)
decimal64 & operator-= (decimal64 __rhs)
decimal64 & operator/= (decimal32 __rhs)
decimal64 & operator/= (long long __rhs)
decimal64 & operator/= (unsigned long long __rhs)
decimal64 & operator/= (unsigned long __rhs)
decimal64 & operator/= (decimal64 __rhs)
decimal64 & operator/= (unsigned int __rhs)
decimal64 & operator/= (decimal128 __rhs)
decimal64 & operator/= (long __rhs)
decimal64 & operator/= (int __rhs)
Detailed Description
3.2.3 Class decimal64.
Definition at line 310 of file decimal.
Constructor & Destructor Documentation
std::decimal::decimal64::decimal64 (__decfloat64__z) [inline]
Conforming extension: Conversion from scalar decimal type.
Definition at line 334 of file decimal.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Tue Nov 27 2012 std::decimal::decimal64(3cxx)