Skip to content

Instantly share code, notes, and snippets.

@baobao
Last active Mar 19, 2019
Embed
What would you like to do?
#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