Advertisement

1 - 10 of 126 containing alltags:("printf") (0 seconds)
float i = 3.33; printf("%d",i) From the program, the output is "0" Why? Can anyone explain to me what is the process  internally why the output is 0?  C language don't convert the type automatical...
Zones: CDate Answered: 10/08/1998 Grade: B Views: 0
how can i program a func as printf(...),which have unsure numbers of paramters tks in advance and by the way, how can i kill a process in WIN32 Console (DOS Command Line) how can i run ...
Zones: C++Date Answered: 04/30/2001 Grade: C Views: 0
I would like to do something like this Char *ptr; Char *ptr1; Char ptr2[10]; Strcpy(ptr,?HELLO?); When I do strcpy(ptr2,ptr) Now both ptr1 and ptr2 have ?HELLO? How can I copy this to ptr2.st...
Zones: C++Date Answered: 05/24/2002 Grade: A Views: 0
Does anybody know how to pipe the output of cout or printf to another consol/command window?
Zones: Windows MFCDate Answered: 05/12/2002 Grade: B Views: 12
I am curious to know how printf is implemented ? Details like : 1. How it processes various type of arguments passed ? 2. How it handles Stnadard output to print the argumwnts to output? What sys...
Zones: CDate Answered: 02/05/2003 Grade: B Views: 0
ok, I know that when you use the printf command you can use %d for a decimal variable or %c for a character, but does can someone give me a list of some other % somethings, (specifically to display...
Zones: C++, Microsoft Visual C++Date Answered: 09/24/2003 Grade: A Views: 0
writing a printf like function using c++ is possible or not. if possible how thanking
Zones: C++Date Answered: 11/20/2003 Grade: A Views: 0
printf ("%f", 5); is giving me 0.000000. Can somebody explain me the reason for this behaviour.
Zones: C, Microsoft Visual C++Date Answered: 02/25/2004 Grade: A Views: 0
{       int*a, i;       /*initialization*/       a = (int *) malloc ( 100 * sizeof(int));       for (i=0; i<100; i++)             a[i] = 0;       a[30] = 200;      /*assignment*/       printf(“%d”, a[20]);      /*reading*/ } F...
Zones: CDate Answered: 12/13/2003 Grade: A Views: 0
#include <stdio.h> #include <stdlib.h> typedef struct header_tag *p_header; typedef struct header_tag {  char *format;    int var_nos;    void **var_adr; } header; void main() {       p_he...
Zones: CDate Answered: 10/01/2003 Grade: A Views: 0