Using data structure (c + +) to realize the search function in the management system

CSDN Q & A 2022-02-13 06:11:03 阅读数:108

using data structure realize search

How to compare book titles , Book number
Can you compare two strings
Why are errors reported

img

img

img




Take the answer :
 use strcmp(char *,char*) You can compare whether two strings are the same , The function returns 0 It means equal 

copyright:author[CSDN Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130611010055.html