コンパイルしようとするたびに、デバッガーにそのエラーが表示されます (')' トークンの前にプライマリ式が必要です)。エラーのあるコードの一部を次に示します。
#define threshold 40 //threshold intensity
using namespace std;
using namespace cimg_library;
void RegionGrow (CLinkedList<struct structure> &ListName, CByteImage &Img, uint32_t uRow, uint32_t uCol)
{
if (Img.Element (uRow+1, uCol) > threshold)
{
ListName.AddToTail(structure);
Img.Element (uRow+1, uCol) = 0;
RegionGrow (ListName, Img, uRow+1, uCol);
}
}
C連結リストについて知っている人はいますか?またはエラー処理?助けてください。ありがとう。