Last active
March 19, 2019 14:05
-
-
Save baobao/87e28dce0934338ff1ec930824fbe7fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
#include <iostream> | |
// C#から配列と要素数を渡す関数を定義 | |
DllExport void TestIntArray(int* array, int length); | |
void TestIntArray(int* array, int length) | |
{ | |
for (int i = 0; i < length; i++) | |
{ | |
std::cout << array[i] << std::endl; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment