Jump to content

Missing explanation for string header file example , file handling, memory management


aldehyde
 Share

Recommended Posts

The header file #include<string.h> has not been explained enough.

 

I found this error in the C tutorial -> Structures -> What about strings in structures? -> example 2 that shows the use of strcpy() to copy a string

but this will work only if  #include<string.h> is used but not explained but it is only found in the "try it" code

 

kindly add a tip about the #include<string.h> header file and why it is used or even better a section on string functions.

If at all possible,  adding file handling and memory management sections would be great too

 

Thank you very much!

 

Screenshot (200).png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...