by: Suzanne Vogel |
last post by:
I'd like to convert a double to a binary representation. I can use the
"&" bit operation with a bit mask to convert *non* float types to binary
representations, but I can't use "&" on doubles.
...
|
by: rokia |
last post by:
in a project, I use many,many stl such as stack,list,vctor etc.
somewhere the vector's size is more than 2K. is this a efficient way?
|
by: Christopher Benson-Manica |
last post by:
enum foo {a,b,c,d};
int main()
{
unsigned int bar=reinterpret_cast< unsigned int >( a );
return bar;
}
g++ rejects the code based on the reinterpret_cast, so I presume it is
not legal. ...
|
by: Jakob Bieling |
last post by:
Hi,
I am trying to determine the endianness of the system as follows:
int i = 1;
bool is_little = *reinterpret_cast <char*> (&i) != 0;
But now I was asking myself, if this use of...
|
by: Bern McCarty |
last post by:
I am using MEC++ in VC 7.1. I had a method on a __gc object that looked
like this:
__property System::UInt32 get_MyProperty(void)
{
System::Byte __pin * pinBytes = &m_byteArray; // entire...
|
by: Taran |
last post by:
Hi All,
I was trying some code which essentially does what the function 'func'
here does. To simplify the things and make a consise post I have
created a dummy app to show my problem.
The issue...
|
by: Peter |
last post by:
I never used reinterpret_cast -- probably because I don't know what it
means.
Can somebody enlighten me?
I looked into Stroustrup's "The annoted C++ reference manual" -- but
this was no help....
|
by: Lucy Ludmiller |
last post by:
I have two classes:
class base { ... };
and
class derived : public base { ... };
I have a function :
|
by: tkirankumar |
last post by:
Hi all,
This is regarding the issue I am facing while porting the my
application from SuSe Linux to
Sun Solaris.
The Existing system details:
Itanium boxes 1mhz 4 processor 8 gb machines with...
|
by: Noah Roberts |
last post by:
What steps do people take to make sure that when dealing with C API
callback functions that you do the appropriate reinterpret_cast<>? For
instance, today I ran into a situation in which the wrong...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|