当我使用 编译 static 时php bin/magento setup:static-content:deploy,出现以下错误:
无法获取“frontend/Magento/blank/en_US/css/source/lib/_lib.less”的内容
无法获取“frontend/Magento/luma/en_US/css/source/lib/_lib.less”的内容
你能帮我用C++ for Visual Studio C++ 6.0优化这段代码:
char output[10000] = "";
for (int i = 0; i < cnt; i++) {
char row[150];
_snprintf(row, 149, "…", …);
row[149] = '\0';
strcat(output, row);
}
return _snprintf(buffer, size-1, "%s\r\nend\r\n", output);
Run Code Online (Sandbox Code Playgroud)
我需要的是我没有指定output []的大小但是动态地增加它.对于row []也是如此.对不起,我是C++的新手.
谢谢你的帮助.