input output formatting functions in c++

How to make table like structure in c++ is it possible to make a table in cpp?


1 Answer
1-1 of  1
1 Answer
  • FORMATTED FUNCTIONS
     The formatted input/output functions read and write, respectively, all
    types of data values.
     They require format string to produce formatted results.
     The formatted functions return values after execution. The return value
    is equal to the number of variable successfully read/written.
     Example of formatted Function:
     Printf()
     Scanf()
    formatted output - PRINTF():
     This function is used to print any text as well as value of the variables on
    the standard output device/Console (monitor screen), printf is very basic
    library function in c language that is declared in stdio.h header file.
     The printf() function prints all types of data values to the console
     It requires format conversion symbol or format string and variable
    names to print the data.The format string symbol
    Syntax:
    printf(“message text”);
    printf(“message text+ format-string”,variable-list);
     First printf() style print the simple text on the monitor, while second
    printf() prints the message with values of the variable list.
     

Object Oriented Programming

Didn't get the answer.
Contact people of Talent-Object Oriented Programming directly by clicking here