Home > Back-end >  The data structure of the error code
The data structure of the error code

Time:06-07


Computer error for unrecognized preprocessor directive

This is how this ah, I have with # endif code behind, and then also Spaces between me and the
 
# ifndef_SQLIST_H

# define_SQLIST_H

Typedef int ElemType;

# define INIT_SIZE 10

# define TRUE 1
# define FALSE 0

Typedef struct SqList
{
ElemType * data;
Int length;//the number of currently stored data
Int listsize;//storage
} SqList, * SqListPtr;

Int InitList_SqDyn (SqListPtr sq);

Int InsertList_SqDyn_Pos (SqListPtr sq, ElemType val, int pos);

Int DeleteList_SqDyn_Pos (SqListPtr sq, int pos);

Void ClearList_SqDyn (SqListPtr sqlist);

Void DetoryList_SqDyn (SqListPtr sqlist);

Void ShowList_SqDyn (SqListPtr sq);

# endif










CodePudding user response:

# # ifndef _SQLIST_H
# define _SQLIST_H

Gave leakage in the middle of the space oh

CodePudding user response:

I empty a line between the two # statement:

CodePudding user response:

reference 1st floor Italink response:
# # ifndef _SQLIST_H
# define _SQLIST_H

Gave leakage in the middle of the space oh

Ha, ha, ha, thank you understand,

CodePudding user response:

I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.html
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html
  • Related