Robustness _ weird string _ custom variable parameters

Source: Internet
Author: User

Robustness is the robustness of the system. It is the key to system survival in exceptional and dangerous situations. For example, whether a computer software fails to crash or crash when input errors, disk faults, network overload, or intentional attacks are detected is the robustness of the software. The so-called "robustness" means that the control system maintains certain performance characteristics under a certain (structure, size) parameter disturbance. According to different definitions of performance, it can be classified into stable robustness and performance robustness. The fixed controller designed with the robustness of the closed-loop system as the target is called the robust controller.
Robust Stability is robust stability (Professional words)

The. NET Framework is evaluated as "robust platform for enterprise and Web Application Security (a reliable platform for enterprise and Web Application Security )".

 

Bytes --------------------------------------------------------------------------------------------------------------

Today I tried a new string usage, as shown below:

Sizeof ("A") = 2

Sizeof ("AB") = 3

Sizeof ("ABC") = 4

 

"ABCD" [2] = C
-----------------------------------------------------------------------

// Variable Parameter exercises

# Include <stdio. h>

# Include <stdarg. h>

 

Int myprint (char * FMT ,...)

{

Va_list argptr;

Int rn;

 

Va_start (argptr, FMT );
// Note that the data type of argptr is char *

Rn = vfprintf (stderr, FMT, argptr );

Va_end (argptr );

 

Return rn;

}

 

Int main (void)

{

Int I = 10, j = 20;

Char s [] = "ABC ";

 

Myprint ("% d, % d, % s/n", I, j, S );

}

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.