Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Tags
Member Avatar for fishsticks1907

I'm currently a Computer science student and i have been mainly programming in C++ for about a year. I've search around different sites and some say you have to know basic stuff like: Whats the difference between a class and a struct? What is a constructor? What is meant by …

Member Avatar for falchion-gpx
0
340
Member Avatar for fishsticks1907

Im trying to read in data using both getline and cin from a file. But, it only reads in the first line and it leaves everything else empty and/or gives garbage values. output: John Brown grades: 73 57 94 grades: 0 32767 1252009800 grades: 0 0 1263344400 /* data.txt John …

Member Avatar for vmanes
0
223
Member Avatar for fishsticks1907

Hello, I'm making a linked list and when i try to make a member function to return a new object i keep getting an error reading: "‘node’ does not name a type". I think im writing the function wrong, any help would great. #include <iostream> class list { private: class …

Member Avatar for fishsticks1907
0
157
Member Avatar for fishsticks1907

hello, im having troblue getting my linked list to show everything on the list. it only shows the first node, and nothing afterwards. #include <iostream> #include <string> class list { private: struct node { std::string name; std::string phone; node *next; }*head, *tail; public: list() : head(0), tail(0) {} ~list(); void …

Member Avatar for fishsticks1907
0
148
Member Avatar for fishsticks1907

Hello, im a IT intrern. i would like to know If i want to add a new printer to the server (windows 2003) is all i have to do is use the install wizard from the server?

Member Avatar for JorgeM
0
94
Member Avatar for fishsticks1907

def bubble_sort(a): for i in range(0, len(a)): for j in range(0, len(a) - 1): if(a[i] < a[j]): a[i], a[j] = a[j], a[i] #can someone explain this part of the code for me #i tried doing (im more of a c++ programmer): temp = 0 temp = a[i] a[i] = a[j] …

Member Avatar for TrustyTony
0
246
Member Avatar for fishsticks1907

I'm not sure what i'm doing wrong, any help would be great. main.cpp(58): error C3861: 'preOrederHelper': identifier not found main.cpp(53) : while compiling class template member function 'void tree<T>::preOrderHelper(treeNode<T> *) const' with [ T=int ] main.cpp(9) : while compiling class template member function 'tree<T>::tree(void)' with [ T=int ] main.cpp(103) : …

Member Avatar for fishsticks1907
0
839
Member Avatar for fishsticks1907

I get an infinite loop if i enter a char/string during the switch statement, so i made an exception to catch anything other then integers. But, i still get the infinite loop. I may be doing something wrong so any help would be great. [CODE] #include <iostream> #include <string> #include …

Member Avatar for fishsticks1907
0
259
Member Avatar for fishsticks1907

Hello, i'm new to python, I mostly program in C++. i'm adding values, but it doesn't give me the right answer. [CODE] x = input("Enter number: "); y = input("Enter a another number: "); z = x + y; print("Answer is: " + z); [/CODE] if i enter 5 + …

Member Avatar for woooee
0
105
Member Avatar for fishsticks1907

I could get this binary search to work... no matter what number i enter it will say "not found" even if its in the array; until, i sorted the array before searching. So, when making an array to search, i always have to sort it first? [CODE] #include <iostream> #include …

Member Avatar for fishsticks1907
0
132
Member Avatar for fishsticks1907

I can seen to fix my linked list, i tried looking into other code for help, but most of the linked list examples online don't even work and are out dated: [CODE]#include <iostream> using namespace std; class list { private: struct node { int data; node *next; }*head, *tail; public: …

Member Avatar for Lerner
0
104
Member Avatar for fishsticks1907

I trying to get the hang of link list, but very time a write one i fail miserably... [CODE]struct node { int data; node *next; }; int main() { node *head = new node; head = NULL; node *temp = head; //node 1 temp->data = 1; temp->next = NULL; temp …

Member Avatar for fishsticks1907
0
108
Member Avatar for fishsticks1907

Hello, i need help adding to a class member. I want to make a deposit and add $20 to the class member, however, it doesn't change the value of the class member when i do so. example: $200 + $20 = $200 And, i assume the other methods won't work …

Member Avatar for thines01
0
188