|
by: Trevor M. Lango |
last post by:
The number of arguments passed to the following functions can be
determined - but how is this coded?
main (int argc, char *argv)
printf ( string format )
I would like to be able to write...
|
by: Melkor Ainur |
last post by:
Hello,
I'm attempting to build an interpreter for a pascal-like language.
Currently, I don't generate any assembly. Instead, I just build an
abstract syntax tree representing what I've parsed...
|
by: The Directive |
last post by:
I read the C FAQ question on passing a variable number of arguments,
but it didn't help. The example assumes all arguments are of the same
type.
I want to create a function "trace" that can be...
|
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: Eli Criffield |
last post by:
I'm getting odd results from my fuction that takes variable aguments.
What i want to do is take a printf like format and pass that to
mysql_query then i do some processing of the results and...
|
|
by: asdf |
last post by:
fscanf(fp,"\n", &intensity);
will generate the following warning:
warning: too many arguments for format
how to fix it ? Thanks a lot.
|
by: rashmi |
last post by:
Hello All,
Can we map a MACRO with variable number of arguments to a function with
variable number of arguments?
Please help me in finding out how this could be done ?
for eg:
#define...
|
by: Spoon |
last post by:
Hello everyone,
AFAIU, in C89, calling fprintf with too few arguments leads to UB.
4.9.6.1 The fprintf function
Synopsis
#include <stdio.h>
int fprintf(FILE *stream, const char *format,...
|
by: Gary James |
last post by:
I'm using an object data type variable to pass a numeric value (Int, Float,
Double, etc) to a function that returns a formatted string. However,
nullable types do not provide an overridden...
|
by: squaretriangle |
last post by:
Is it possible through some trickery, perhaps using the methods of
stdarg, to pass a dynamic (unknown at compile time) number of
arguments to a function? For example, I want to enumerate an array...
|
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: 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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|