Hello, I am James and I am new to programming and to the forum. I have always had a passion for coding. I am 24, I work in Texas as a Patrol Deputy for the County. I have decided to learn C programming language, as my starting language. I have been taking tutorials on the site and have learned the basic commands. I am trying to design a program for myself out in the field that brings information up as i type a statute for an offense. My questions are as followed :
(1)Is there are a command besides printf();, that displays a text. The Texas statutes are quite lengthy and using printf(), is very time consuming.

(2)Is there a command that allows you to pull information up by using more then one character such as a,b,c. For example , if i search Marijuana , it would pull a Marijuana offense up.

Thanks James.