by: John Lenton |
last post by:
Is there any reason python's printf-style formatting is missing the
(C99) '%a' specifier?
I'm sorry if this has been asked and answered before; I can't find it
on google ('%a' is a very awkward...
|
by: news.hku.hk |
last post by:
Excuse me, i write the following function to add comma for integers
but the unix server said:
In function `class string comma(int)':
implicit declaration of function `int itoa(...)'...
|
by: jack |
last post by:
I try to use this function in g++,I have include the head file
'cstdlib' and 'stdlib.h',but it still can not be recognized by
compiler? Anyboday knows what is wrong? or Is there a substitution for...
|
by: Raskolnikow |
last post by:
Hi!
I have a very simple problem with itoa() or the localtime(...).
Sorry, if it is too simple, I don't have a proper example.
Please have a look at the comments.
struct tm *systime;
time_t...
|
by: Sona |
last post by:
Hi,
I have a char* that holds an ascii character in its first element (at
least I think that's what it holds because when I print it, it prints
weird characters). I need to convert this into an...
|
by: pete |
last post by:
I wrote a version of itoa yesterday.
Features:
1 No implementation defined arithmetic. All of the division
and modulus division is done on positive values only.
2 No object is assumed...
|
by: rayw |
last post by:
I'm pretty new to C, although I did do some years ago now.
I've been told that itoa is no longer a standard function, and that the
ato... functions - although in the std - are not recommended.
...
|
by: Mark |
last post by:
hi,
all i want is a simple function that takes an int, and returns a char*
so i tried
char * itoa(int i)
{
char buff;
return _itoa(i,buff,10);
}
|
by: silverburgh.meryl |
last post by:
Hi,
Can you please tell me where I can find itoa()?
I try to compile the following example, but I get the following error:
.../t.cpp:20:2: warning: no newline at end of file
.../t.cpp: In...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
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:
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: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|