undeclared identifier in C

前端 未结 5 1461
忘掉有多难
忘掉有多难 2021-01-26 04:29

I am trying to compile a small bank program in C in visual studio 2012 express. It shows me this error \"undeclared identifier\" for almost all variables and this one too \"synt

5条回答
  •  臣服心动
    2021-01-26 04:51

    do at the beginning of the block in the declaration of the variable for visual c.

    E.g.

    int main()
    {
        int deposit,withdraw,kbalance;
        char option;
        int decash,wicash
        int balance;
        int wibal;
    ...
    

提交回复
热议问题