How to covert a String to an integer?

Answer Posted / vulani

Here's the shortest way to do it Gents:

string mystr ("1204");
int myint;
stringstream(mystr) >> myint;

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of checkpoints?

586


How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?

576


Why is action split used by qtp?

561


Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.

2427


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

1382






How to customize qtp?

614


what is the mail use of frame work(with detail). architecture for keyword driven frame work

1420


terminal services client

1788


HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?

1718


Discuss quicktest professional environment?

590


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

1430


how to create flat file datasubmission in qtp

1905


Without using gui map editor we can recognize the application in winrunner ?

607


what is profile tool?

1609


In qtp is it possible to check broken links of a page?

587