1. * usage of pointers
Int * p = 0; or int * p = 0 ;? The latter is easier to understand: defines a Variable P, which is pointer-type (more detailed, it is pointer-type pointing to int, the previous definition seems to define the strange thing * P. However, the next write method will bring about an easy misunderstanding: int * P1, P2; here it seems to be the definition of two pointer variables P1 and P2. However, in fact, this intuition is wrong. The correct understanding is int * P1, P2; that is, P1 is pointer type, while P2 is indeed Integer type. In Ms VC ++ 6.0, it is written in the following format. 2. strcmp is used to compare two strings. The data obtained through the association function cannot be determined by "=". In this case, strcmp is usually used.
Web_reg_save_param ("result", "lB = {", "RB =}", last); // works with web_reg_save_param checkpoint if (strcmp (lr_eval_string ("{result }"), "\" issuccess \ ": True") = 0) {lr_end_transaction ("score_add_insert", lr_pass); lr_output_message ("Call successful! ");} Else {lr_end_transaction (" score_add_insert ", lr_fail); lr_output_message (" Call failed! ");}