File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to identify strings in a file character by character

 
Andrew Musgrave
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic