by: Peter Ammon |
last post by:
Does anyone ever write the arguments to printf()-like functions under
the corresponding format specifier?
printf("My name is %s and I am %u years old\n",
name, age);
If the arguments...
|
by: siliconwafer |
last post by:
Hi All,
What does a 'format specifier' do?
Suppose I do,
int a = 43; //decimal number
printf("%x",a);
I will get hex equivalent of 43.
Does the format specifier do an implicit "decimal to hex"...
|
by: Udi |
last post by:
Hi,
I tried looking for it in the documentation but with no luck.
What's the equivalent C control strings in C# for the following:
"%3d" ? (space padding)
"%-3d" ? (left alignment)
"%+3d" ?...
|
by: rh00667 |
last post by:
hi all,
seeing a source i found these printf format specifiers (new for me)
%m and %n$
i tested and works nice, it seems that they are not documented in man
(???)
i would appreciate to...
|
by: John Mott |
last post by:
Hi all,
I've developed an interactive utility that can assist in the development of
custom datetime format specifier strings. In addition to enumerating the
options it will show how a combined...
|
by: Ayyanar |
last post by:
What does the following format specifiers do
fscanf( fd, "%d : \"%\"",..../.);
|
by: ashitpro |
last post by:
i was looking for implementation of gcvt function..
inside that i found out following line
sprintf (buf, "%-#.*g", ndigits, value);
here ndigite is of type int and value is of type double
forget...
|
by: almurph |
last post by:
Hi,
Hope that you can help me with this. I'm calling DateTime.Now and
storing in a DateTime container. I see that the pattern format is: m/
dd/yyyy
I need it to be in the format: yyyy-MM-dd...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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: 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: 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: 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,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|