Skip to content

Commit 12fb5d5

Browse files
committed
added imports
1 parent c461a07 commit 12fb5d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

public/data/cpp.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
"title": "Split String",
2020
"description": "Splits a string by a delimiter",
2121
"code": [
22+
"#include <string>",
23+
"#include <vector>",
24+
"",
2225
"std::vector<std::string> split_string(std::string str, std::string delim) {",
2326
" std::vector<std::string> splits;",
2427
" int i = 0, j;",

0 commit comments

Comments
 (0)