... to use it with their students.
Verbs: infinitives, -ing forms, etc.
Verbs with and without objects
37 Verb + to-infinitive or bare infinitive
38 Verb + to-infinitive or -ing?
39 Verb + -ing
40 ... to die )
D We often use be to + infinitive in //-clauses to say that something must take place first (in the main
clause) before something else can take place (in the //-clause):
ã are to survive ... John's being )
ã I'm going to be in Tokyo in May. (not I'm being in Tokyo )
We tend to avoid going to + go and use the present continuous form of go instead:
ã I'm going to town...
... 1999
Seventh printing 2002
Printed in Great Britain by Security Printing
A catalogue record for this book is available from the British Library.
ISBN 0-521-49868-6 (with answers)
ISBN 0-521-49869-4 (without ... some point in the past and continues until the
present time. This is why we often use since with the present perfect:
ã Since I have lived in a small house near the coast.
ã Tom has been ill since ... you with the cooking.
ã We can't go ahead with the meeting, because very few people have shown any interest.
The connection with the present may also be that something happened recently, with...
... the
crossing with her dog team "/
TO
THE TEACHER
Advanced GrammarinUse was written as a self-study grammar book but teachers might also
find it useful for supplementing or supporting their ... John's being )
ã I'm going to be in Tokyo in May. (not I'm being in Tokyo )
We tend to avoid going to + go and use the present continuous form of go instead:
ã I'm going to town ... often use the past continuous for both:
ã Sally was reading to the children while Kevin was washing up.
ã Mario was working in a restaurant when I was living in London.
However, we can often use...
... AdvancedGrammarin Use
Martin Hewings
Frontmatter
More information
â in this web service Cambridge University Press www.cambridge.org
ix
Advanced GrammarinUse was written as a self-study grammar ... book for
advanced learners of English
Third Edition
Martin Hewings
without answers
Cambridge University Press
978-1-107-61378-2 AdvancedGrammarin Use
Martin Hewings
Frontmatter
More information
â ... Press
978-1-107-61378-2 AdvancedGrammarin Use
Martin Hewings
Frontmatter
More information
â in this web service Cambridge University Press www.cambridge.org
Advanced
Grammar
in Use
A reference and...
... stopped doing some things and started doing other things:
He stopped studying hard/going to bed early/running three miles e3very morning
He started smoking/going out in the evening/spending a lot ... I/he/she/it was playing/doing/working etc.
we/you/they were playing/doing/working etc.
B. We use the past continuous to say that somebody was in the middle of doing something at a certain time.
The ... car. (think) Would you be interested in buying it? Am thinking
10. I you should sell your w
car. (think) You it very often. (not /use) think, don’t use
11. I used to drink a lot of coffee but...
... Supplementary Exercises withAnswers
ISBN 978-0-521-675413 Essential GrammarinUse Supplementary Exercises without Answers
ISBN 978-0-521-675802 Essential GrammarinUsewithAnswers
ISBN 978-0-521-675819 ... lower intermediate) students who want extra practice
in grammar. It covers most of the grammar areas in Essential Grammarin Use. You can
use it without a teacher.
There are 185 exercises in ... exercises in this new edition. Each exercise relates to a particular part of
Essential Grammarin Use: Third Edition. You can find the Essential GrammarinUse
unit numbers in the top right-hand...
... strings 29
Operating on strings 31
Appending, inserting and concatenating strings 32
Replacing string characters 34
Concatenation using non-member overloaded operators 37
Searching in strings ... continue; // Get next line
}
// Eliminate each of the removals strings:
for(int i = 0; i < rmsz; i++) {
int find = line.find(removals[i]);
if(find != string::npos)
line.erase(find, ... C++
string
objects associate the array of
characters which constitute the
string
with methods useful for managing and operating on it.
A
string
also contains certain “housekeeping” information...
... & Container Classes
62
insensitive string comparison functions, temporarily converting the data held in sting objects
to a single case, or by creating a case insensitive string class which ... main() file
#include " /require.h"
#include <fstream>
#include <strstream>
#include <cstring>
#include <cctype>
using namespace std;
int main(int argc, ...
terminator character in the input stream, so this terminator must be thrown away via
in. get( )
using the form of
get( )
with no argument, which fetches a single byte and returns it as an
int
....
... s.pop();
}
}
class Line {
string line; // Without leading spaces
int lspaces; // Number of leading spaces
public:
Line(string s) : line(s) {
lspaces = line.find_first_not_of(' ... list<Line> lines;
// Read file and store lines in the list:
string s;
while(getline (in, s))
lines.push_front(s);
// Turn the list into a stack for printing:
stack<Line, list<Line> ...
#include <string>
#include <cstring>
#include <set>
#include <iostream>
#include <fstream>
#include <iterator>
using namespace std;
int main(int argc, char*...
... sightings.begin()),
50, SightingGen(animals));
// Print everything:
copy(sightings.begin(), sightings.end(),
ostream_iterator<Sighting>(cout, ""));
// Print sightings ... beginning.
You’ll notice that the interface for
Ring
is quite limited; in particular there is no
end( )
, since
a ring just keeps looping. This means that you won’t be able to use a
Ring
...
// putting the result into r:
T(testBinary(x, y, r, plus<int>()));
T(testBinary(x, y, r, minus<int>()));
T(testBinary(x, y, r, multiplies<int>()));
T(testBinary(x,...