in preparing a c++ source file, a programmer has written the assignment statement in long-hand form as shown
a=a+12
rather than in its short-hand form
a+=12
develop a class which reads the source file and provides the necessary operations for replacing the assignment statements as shown below
a=a+...; by a+=...;
a=a-...; by a-=...;
a=a*...; by a*=...;
a=a/...; by a/=...;
a=a%...; by a%=...;
a=a+12
rather than in its short-hand form
a+=12
develop a class which reads the source file and provides the necessary operations for replacing the assignment statements as shown below
a=a+...; by a+=...;
a=a-...; by a-=...;
a=a*...; by a*=...;
a=a/...; by a/=...;
a=a%...; by a%=...;