Error: “expected '(' before string constant”

后端 未结 3 2133
说谎
说谎 2020-12-30 02:20

Working on computing the geometric mean of values in an array

The function should compute the geo mean correctly, but i\'m getting a weird error message



        
3条回答
  •  无人及你
    2020-12-30 02:56

    extern "C" is not valid C (it's only valid in C++). Just remove it if you're working in pure C.

提交回复
热议问题