Re: [Cpp-Programming] Read position issue within an IOSTREAM class
Post the code, and we can probably see exactly what you're trying to do. This is for school?
As one person said, comparing c++ to c is like comparing Dutch to German... well he said French to English.
-Charlie
From: Harry Potter
Sent: Wednesday, August 07, 2013 9:03 AM
Subject: [Cpp-Programming] Read position issue within an IOSTREAM class
I need to fill an IOSTREAM class with a part of a file during the process of compiling a C program using multiple passes in a compiler written in C++. I fill the new instance of an input stream with a part of a file. This stream stores and processes the auto variables defined within a function. My plan is to read the part of a function until the first executable statement. It seems to that. However, during the declaration phase, nothing is declared. I'm wondering if maybe I need to explicitly set the read pointer to the beginning of the buffer. Is this true? If so, how do I reset the pointer? I'm sorry about the newbie question, but I don't have available C++ documentation. --
You received this message because you are subscribed to the Google Groups "C++ Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cpp-programming+unsubscribe@googlegroups.com.
To post to this group, send email to cpp-programming@googlegroups.com.
Visit this group at http://groups.google.com/group/cpp-programming.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "C++ Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cpp-programming+unsubscribe@googlegroups.com.
To post to this group, send email to cpp-programming@googlegroups.com.
Visit this group at http://groups.google.com/group/cpp-programming.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
<< Home