摘要: #遇到的问题 从vs2015起gets()函数就没有了,所以在vs2019时,使用gets()会出现报错,报错提示:未定义表示符“gets”; #解决方法 ##一 ###使用gets_s(); ###缺点 当数组大小为10时,只能输入9个字符(有一个位置留给'\0'),否则会造成缓冲区溢出, 甚至程 阅读全文
posted @ 2021-09-23 22:30 计科废物1 阅读(770) 评论(0) 推荐(0) 编辑
@media only screen and (max-width: 767px){ #sidebar_search_box input[type=text]{width:calc(100% - 24px)} } L2Dwidget.init({ "model": { jsonPath: "https://unpkg.com/live2d-widget-model-hijiki/assets/hijiki.model.json", "scale": 1 }, "display": { "position": "left", "width": 100, "height": 200, "hOffset": 70, "vOffset": 0 }, "mobile": { "show": true, "scale": 0.5 }, "react": { "opacityDefault": 0.7, "opacityOnHover": 0.2 } }); window.onload = function(){ $("#live2dcanvas").attr("style","position: fixed; opacity: 0.7; left: 70px; bottom: 0px; z-index: 1; pointer-events: none;") }