Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I get each time I call a function a different word? 1

Status
Not open for further replies.

jvff

Programmer
Apr 1, 2001
64
BR
Hello,
I need to get words but using sscanf. When I do
sscanf(phrase, "%s", word); it always gets the first word. How can I get the next word every time I call the function? Thanks,
JVFF
 
sscanf(string+position,"%s",output_string); John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top