answersLogoWhite

0

Probably because you haven't include the <string> header anywhere in the translation unit.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

Why can't the c plus plus compiler find the string object?

The most likely reason that the C++ compiler can't find the string object is just that you've forgotten to include the string header file.Code Example:#include // so you can use C++ strings using namespace std; // so you can write 'string' instead of 'std::string' string sMyString; // declare a string


How do you find the acceleration and tension in string?

To find the acceleration of an object connected by a string, you can use Newton's second law: ΣF = ma, where ΣF is the net force acting on the object. To find tension in a string, consider applying Newton's second law separately to each object connected by the string and analyzing the forces acting on each object.


How do you find the perimeter of a jigsaw puzzle using string?

You can find the perimeter of any planar (flat) object using string by wrapping the string around the outside of the object, noting the point on the string where you return to the starting point, and then measuring the length of that portion of the string.


What expression can be used to find the tension, t, in the string?

The expression that can be used to find the tension, t, in the string is T mg ma, where T is the tension, m is the mass of the object, g is the acceleration due to gravity, and a is the acceleration of the object.


What is the meaning of import in java program?

It tells the compiler where to find classes that are outside the file you are editing.It tells the compiler where to find classes that are outside the file you are editing.It tells the compiler where to find classes that are outside the file you are editing.It tells the compiler where to find classes that are outside the file you are editing.


What are the similarities between compiler and interpreter?

Both compiler and interpreter are the language programs that translates source program into machine code or we can say object code. Both are used to find errors in source program.


Where can you find an Ada compiler for windows?

thefreecountry.net


A block is connected to the surface of a table via a string and an electric field is switched on perpendicular to it what will be the tension in the string when it becomes parallel to the field?

In order to know how much tension is on an object, you need to know how much force is being exerted by the object. The formula needed to find out how much force is on an object is T1F1.


How do you make spy traps?

1. Take a semi-light object (giant pen is what i used!)2. Get thick string and thin clear string.(it should be pretty long; you can trim it later if needed!)3. Tie the 2 strings together.4. Tie the thin clear string to the object5. Find a door, and tie the thick string around the doorknob, hang the thin string with the object around the other side (pick it up and over, it should hang down from the top of the door.)6. When someone you don't want inside comes, just untie the string attached to the doorknob and let it go. The object should go down on the other side and scare the person off.Warning- do not use a heavy/hurtful object! It could hit the person in the head! NO HEAVY/HURTFUL OBJECTS!


How do you do spy traps?

1. Take a semi-light object (giant pen is what i used!)2. Get thick string and thin clear string.(it should be pretty long; you can trim it later if needed!)3. Tie the 2 strings together.4. Tie the thin clear string to the object5. Find a door, and tie the thick string around the doorknob, hang the thin string with the object around the other side (pick it up and over, it should hang down from the top of the door.)6. When someone you don't want inside comes, just untie the string attached to the doorknob and let it go. The object should go down on the other side and scare the person off.Warning- do not use a heavy/hurtful object! It could hit the person in the head! NO HEAVY/HURTFUL OBJECTS!


How do you measure bust without a measuring tape?

If you have a ruler and a piece of string, you could use the string to find the distance around the bust (or whatever you wanted to measure), mark the point at where the string starts to overlap, then measure the string using the ruler.


What happens if you try to find address of register variable?

Either you get a compiler error. Or you get a compiler warning, and the variable won't be stored in register.