Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
31% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
4
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
~6K People Reached
Favorite Forums
Favorite Tags
c++ x 11
java x 2
Member Avatar for CHOCHOCHO

I got this assignment from my teacher the other day and i am having a hard time understanding it. I asked him for help and im even more confused. **I AM NOT ASKING FOR YOU TO DO IT. I AM ASKING FOR ADVICE AND HOW TO DO IT** Write a …

Member Avatar for tinstaafl
0
159
Member Avatar for CHOCHOCHO

This program reads in some numbers then outputs the numbers, low to high, by using a bubble sory. I need some help to start how to do the bubble sort on a linked list. Here is what i have so far. .h file #include<iostream> #include<fstream> #include<cstdlib> using namespace std; struct …

Member Avatar for Schol-R-LEA
1
1K
Member Avatar for CHOCHOCHO

I need help creating my operator+ function.The first thing i did was send the binary numbers to the reverselist funtion, but i ended up getting some errors. Binary.cpp: In function `binary operator+(const binary&, const binary&)': Binary.cpp:164: error: invalid initialization of reference of type 'nodeType*&' from expression of type 'nodeType* const' …

Member Avatar for Labdabeta
0
679
Member Avatar for CHOCHOCHO

Here are the errors Binary.cpp: In function `std::istream& operator>>(std::istream&, binary&)': Binary.cpp:24: error: `nodeType*binary::head_ptr' is private Binary.cpp:114: error: within this context Binary.cpp:24: error: `nodeType*binary::head_ptr' is private Binary.cpp:115: error: within this context Binary.cpp:115: error: call of overloaded `list_clear(nodeType*&)' is ambiguous Binary.cpp:28: note: candidates are: void list_clear(nodeType*&) Binary.cpp:56: note: void list_clear(nodeType*) Binary.cpp:24: error: …

Member Avatar for Banfa
0
177
Member Avatar for CHOCHOCHO

These are the errors that i am getting J:Project 2Binary.cpp: In constructor `binary::binary()': J:Project 2Binary.cpp:37: error: no match for 'operator=' in '((binary*)this)->binary::head_ptr = 0' J:Project 2Binary.cpp:6: note: candidates are: nodeType& nodeType::operator=(const nodeType&) J:Project 2Binary.cpp: In copy constructor `binary::binary(const binary&)': J:Project 2Binary.cpp:43: error: invalid initialization of reference of type 'nodeType*&' from …

Member Avatar for CHOCHOCHO
0
370
Member Avatar for CHOCHOCHO

I just started to learning how to use classes and specification files. For some reason i keep getting an error saying `length' undeclared (first use this function) #include <iostream> #include <fstream> #include <string> #include <cctype> using namespace std; const int MAXSIZE = 50; typedef string ItemType; class List { public: …

Member Avatar for ravenous
0
153
Member Avatar for CHOCHOCHO
Member Avatar for CHOCHOCHO

[CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace FriendBirthdayReminder { class Program { static void Main(string[] args) { FileStream file = new FileStream("FriendsData.txt", FileMode.Open, FileAccess.Read); StreamReader reader = new StreamReader(file); const char DEMLIM = ','; const int END = 999; int count = 0,num,size; string name,recordIn; string[] …

Member Avatar for abelLazm
0
113
Member Avatar for CHOCHOCHO

Create a file that contains your favorite movie quote. Use a text editor such as Notepad and save the file as Quote.txt. Copy the file contents and paste them into a word-processing program such as Word. Save the file as Quote.doc. Write an application that displays the sizes of the …

Member Avatar for Momerath
0
331
Member Avatar for CHOCHOCHO
Member Avatar for CHOCHOCHO

i need to sort by last name [CODE]import java.util.Scanner; import java.util.ArrayList; import java.util.Scanner; public class TestStudent { public static void main(String[] args) { //Course Code String [] courseNumber = {"MTH151","MTH201","ITF215","ENG101","HIS210","BIO120"}; //Course Name String [] courseName = {"Statistics","Calculus I","Programming in Java",-"Composition","US History","Biology "}; //Credit int [] credit = {3,4,4,3,3,4}; ArrayList <Student> …

Member Avatar for jon.kiparsky
0
341
Member Avatar for CHOCHOCHO

Write a program that simulates an Internet connection error. Display a MessageBox that notifies the user of the error and provide three buttons: abort,retry, and ignore. If the user chooses Retry, display a message indicating the connection succeeded. If the user choose Ignore, display a message indication that the user …

Member Avatar for CHOCHOCHO
0
111
Member Avatar for CHOCHOCHO
Member Avatar for CHOCHOCHO
Member Avatar for CHOCHOCHO

7a. Create an abstract class named Salesperson. Fiels include first and last nams; the Salesperson constructor requires both these values. Include a get method that returns a string that holds the Salesperson's full name, which consists of the first and last name separated by a space. Save the file as …

Member Avatar for mcriscolo
0
520
Member Avatar for CHOCHOCHO

The Peterman Publishing Company has decided that no published book should cost more than 10 cents per page. Create a [I]BookException[/I] class whose constructor requires three arguments: a [I]string Book[/I] title, a [I]double[/I] price and an [I]int[/I] number of pages. Create an error message that is passed to the [I]Exception[/I] …

Member Avatar for Singlem
0
635