No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
In my AndroidManifest.xml file, I have the following definition for the EditText <EditText android:id="@+id/dob_aob" android:layout_width="match_parent" android:layout_height="@dimen/edtxt_height" android:layout_below="@+id/textView1" android:layout_marginTop="0dp" android:gravity="center_vertical" android:padding="10dp" android:background="#eed0d0" android:textSize="@dimen/edtxt_font_size" android:textColor="@android:color/black" android:textCursorDrawable="@null" android:imeOptions="actionGo" android:inputType="numbers" android:digits="*+-0123456789" android:ems="10"/> I.e.: The user enters an integer between 0 through 9 and the multiplication, addition, and subtraction symbols. The following came up on … |
|
The prgram will only display one number. In this case 9. I switched, 9 with 6.71; and only 6.71 displayed. So what this means, only the 2nd to last node's value is displayed. Note that the display function is able to display the original order of the array passed to … |
|
The program works perfectly. But in order for an individual to succeed in computer science, he or she must fiddle around with the program, and come up with other algorithms, such as converting a pre existing one, even it it is more or less efficient. Again the program works perfectly. … |
|
I chose to enter 4 months during runtime. I decided to test out the member functions/dynamic feature of linked lists, by then adding 3 months before compile time (static binding), which would be appear after the first 4 months. The program outputs: > Full list again: > Month January, had … |
|
I have the following as an Stl algorithm/vector: MyClass <int> VecOfInts("A vector of integers"); VecOfInts.push_back(3) VecOfInts.push_back(2) VecOfInts.push_back(1) I was able to get the numbers to display with a for loop (i < VecOfInts <size; i++). Now my question is: how would I get "A Vector of integers", to display, irregardless … |
|
It's only supposed to return the celebrities that contain the keyword the user searches for :'(. Instead it returns everything. Eg. they enter the following: Reba McIntire OK George Clooney KY Enter keyword: KY It should only return George Clooney. Instead it returns all of them in the list. Try … |
|
This has really been frustrating me for hours. I have included useful comments in the program. All the descent examples i've come across were using char instead of string. :icon_cry: [CODE]#include <iostream> #include <string> using namespace std; class Celeb { private: string name; //Name of celebrity folowed by decade they … |
|
My primary objective right now is to get the program to display the following, when the user presses 1 at the main menu: Size of 1st pizza order: Small Topping of 1st pizza order: No topping Size of 2nd pizza order: Small Topping of 2nd pizza order: No topping I … |