by: Rade |
last post by:
Following a discussion on another thread here... I have tried to understand
what is actually standardized in C++ regarding the representing of integers
(signed and unsigned) and their conversions....
|
by: Aire |
last post by:
1. If a function defined as:
void test_function(unsigned int a)
{
}
Is "test_function(-256);" going to cause undefined behavior?
2. What's "a negative signed value wrapping"?
|
by: CBFalconer |
last post by:
Consider:
#include <stdlib.h>
/* An elementary optimizer is expected to remove most code */
/* Return the absolute value */
unsigned long ulabs(long j)
{
if (0 == LONG_MIN + LONG_MAX) {
if...
|
by: Richard |
last post by:
Hi,
We would like our application to be signed and have a strong name. However
our application references a 3rd party .dll that does not have a strong name
and so when we compile we get the...
|
by: yves |
last post by:
Hello,
I'm trying to check if only the lsb 8 bits of an integer are used.
bool Func(int x)
{
if ((x & 0xFFFFFF00) == 0)
{
return true;
}
|
by: =?iso-8859-2?B?SmFuIFJpbmdvuQ==?= |
last post by:
Hello everybody,
this is my first post to a newsgroup at all.
I would like to get some feedback on one proposal I am thinking about:
--- begin of proposal ---
Proposal to add...
|
by: tcsvikr |
last post by:
unsigned int _I = _N; // _N is of type unsigned int
for (_Grp = false; *_Pg != CHAR_MAX && '\0' < *_Pg
&& *_Pg < _I - _Np; _Grp = true)...
|
by: john |
last post by:
As far as I know there is only the type wchar_t. However my compiler
compiles both "signed wchar_t" and "unsigned wchar_t".
Are there both signed and unsigned wchar_t types?
|
by: Lamefif |
last post by:
how can the computer tell the difference between the two?
i mean a byte is 8 bit can be 1 or 0
11111111 = 255 unsigned byte
10000000 = -128 or 128 ?
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|