aspose file tools*
The moose likes C / C++ and the fly likes how to identify strings in a file character by character Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Languages » C / C++
Bookmark "how to identify strings in a file character by character" Watch "how to identify strings in a file character by character" New topic
Author

how to identify strings in a file character by character

Andrew Musgrave
Greenhorn

Joined: Mar 19, 2012
Posts: 8
Like if i have 'if' and i have to check whenever i have an 'if' i have to increment some value.
As far as i know, getc() function takes in the file pointer and gives an output.
The increment is automatic.
But that increment is basically performed after a loop is executed.
What if, i want to know the next character without advancing in a loop?
{Also the output output is a character but can be stored in an integer?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to identify strings in a file character by character