This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
blog:2025-07-03-002 [2025/07/03 17:28] jethro [通用模板] |
blog:2025-07-03-002 [2025/07/03 17:28] (current) jethro [通用模板] |
||
---|---|---|---|
Line 31: | Line 31: | ||
std::memcpy(&var, varArray.data(), sizeof(T)); | std::memcpy(&var, varArray.data(), sizeof(T)); | ||
}</sxh> | }</sxh> | ||
- | * C:<sxh>#include <stdio.h> | + | * C:<sxh c>#include <stdio.h> |
#include <string.h> | #include <string.h> | ||
#include <stdbool.h> | #include <stdbool.h> |