how can i read the last letter of a input file? 2011View more random threads:
- what is huffman encoding?
- HUFFMAN ENCODING in C++ 2012
- Write a calculator program using a do-while loop in c++ 2011
- get length of a dynamic array in c++ 2011
- Within our assignment code, can we replace <iostream.h>...
- Is it possible to make data type array which act as java...
- The coding given in handsout and vu books are not working
- sir (c)and c++ languages are low level language or high...
- What is the difference b/w Inorder Traversal and Inorder...
- C++ compiler can allocate dynamic memory for object?
Sponsored Links
here is the code that i was written can any one help me in this code
while(input>>lastChar) //put file contents into lastChar
{
input.seekg(ios::end,lastChar); //go to the end of file
if(lastChar=='+' || lastChar=='*') //check if it is + or *
{
badInput=true;
goto skip;
}
else
{
cout<<"true file"<<endl;
goto startHere;
}
}
There are currently 1 users browsing this thread. (0 members and 1 guests)