- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
hi guys ... this is a bubble sort program that i made [code=cplusplus] #include<iostream> using namespace std; #include<iomanip> using std::setw; int main() { const int arraysize = 10; int Bubble[ arraysize ]; cout << "Please enter 10 integers: " << endl; for ( int i = 0; i < arraysize; … |
|
for a assignment i need to create an array dynamically so then late i have to sort the array but the problem is i an new in this cousrse and i dontknow how to creat an array dynamically please help any help will be a good start for me \thx |
|
[CODE] #include <iostream> using namespace std; #include <string> using std::string; using std::getline; int main () { char string1[256]; char string2[256] ; cout << "\nPlease enter the first array string: \n"<<endl; gets (string1); cout << "\nPlease enter the second array string: \n"<<endl; gets (string2); int length1 = strlen( string1 ); int … |
|
the program i have to make is as follows: use the string comparison function and the sorting array techniques to write a program that alphabetizes a list of strings. use 10 town names for your program. and this si what i have made.... and it doesnt work: [code] [COLOR=Black]#include<iostream> [/COLOR] … |
|
i am having trouble iwth this question i am a little weak with classes that is why i cant complete this any help would be greatly appreciated Create a class for airline reservation. Assume that there are two aircraft models A, B. The class has following constants defined, const int … |
|
hi i need help on making a recursive palindrome function of only string values. the recursive funstion shouyld return true is the string stored in the array is a palindrome, otherwise it should return false. Also the function should ignore spaces and punctuation in the string. thank you all help … |