我正在編譯一組.C文件並嘗試使用xlC編譯器9.0版在AIX 6.0上創建對象文件。它產生以下錯誤: 1540-1172 (S) More than one function "operator new" has non-C++ linkage.
1540-0424 (I) "operator new" is declared on line 92 of "/usr/vacpp/include/
我正在創建一個程序,該程序接收整數值並使用atoi將它們轉換爲2的補碼整數,並確定進行了哪種類型的轉彎。這裏是我的代碼: #include <stdio.h>
#include <stdlib.h>
int turn(int turn, int a1, int b1, int a2, int b2, int a3, int b3){
;
turn = ((a1 * b1 + b1