This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Languages » C / C++
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to identify strings in a file character by character
 
Similar Threads
post/pre increment operator
Letters Frequency Counter
you'd think this'd work but....
Loops using input
Weird Encoding