what is importance of data sturture in a programming
language?
Answers were Sorted based on User's Feedback
Answer / kranthikumar
Logical representation and organization of data in the main
memory in other words it is a logical memory representation
of a storage
| Is This Answer Correct ? | 7 Yes | 11 No |
Is it possible for a member function to use delete this?
Differentiate between C and C++.
Describe private, protected and public – the differences and give examples.
Write syntax to define friend functions in C++.
can any one help to find a specific string between html tags which is changed to a sting.. weather.html looks (for location) is <location>somewhere</location> #include <iostream> #include <fstream> #include <string> using namespace std; string find_field(string myPage,string); int main (void) { string page, line, location, temperature; ifstream inputFile("weather.xml"); while(getline(inputFile, line)) { page.append(line); line.erase(); } // Now page is a string that contains the whole xml page // Here you need to write something that finds and // extracts location and temperature from the XML // data in the string page and stores them in // the strings location and temperature respectively location=find_field(page,"location"); temperature=find_field(page,"temp_c"); cout << "Location: "<<location << endl; cout << "Temperature: " << temperature << endl; system("pause"); } string find_field(string myPage,string find_string){ int temp=myPage.find(find_string); if(temp!=string::npos) { cout << "Match found at " << temp << endl; } return "found?"; } ///
Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).
Is eclipse good for c++?
what is Loop function? What are different types of Loops?
an operation between an integer and real always yeilds a) integer result b) real result c) float result
Write a C++ program which will compute the volume of a sphere or a cylinder after prompting the user to type the first character for the shape name.
0 Answers An-Najah National University,
Which operator cannot be overloaded c++?
How to declare a function pointer?