摘要:
1、使用whileDROP PROCEDURE IF EXISTS `addstudent`;DELIMITER ;;CREATE PROCEDURE `addstudent`(iNum int)BEGIN declare vI int default 0; start transaction; ... 阅读全文
摘要:
1、struct的初始化可以使用类似数组的方式,如下:struct Student{ int _Age; string _Name;};Student stu = {26,"Andy"};2、有两个地方需要注意: a、顺序要保持一致,如下: Student stu = {"Andy",26... 阅读全文