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.

~10.5K People Reached
Favorite Tags
Member Avatar for lancevo3

I am working on an application that will keep an eye on specific folders on a computer and monitor whether a modification will occur, I am wanting the capability to monitor Windows OS, OS X, Linux. I am planning on developing this in python, from what I have been able …

Member Avatar for rubberman
0
126
Member Avatar for lancevo3

Hi - I have a project I am going to be working on which will be a python gui. After meeting with the user yesterday I have found out that the computer this application will run on will not have internet access always. Which brings me to my question, how …

Member Avatar for slate
0
154
Member Avatar for lancevo3

Hi - I am working through learn python the hard way and I am trying to practice using nosetests command with the "game" I created. The problem when I run nosetests it works fine until it is time to test a class that has raw_input in it, then it just …

Member Avatar for TrustyTony
0
271
Member Avatar for lancevo3

Hi All, I have a project I am going to be starting shortly, just recieved the specs. I plan on using python with flask for this project and the question I have (for now) just has to do with the python. My question is, this calculator is going to calculate …

Member Avatar for slate
0
143
Member Avatar for lancevo3

Hi all - Working on teaching myself some python and have some code I am working on, I am at a point where I would like to update a parent class variable from within a subclass, I am wondering what is the proper method for doing this. Something similiar to …

Member Avatar for Ene Uran
0
1K
Member Avatar for IT_Techno

hi ihave create simple stored procedure for test in sql server 2008 studio then i run it inside sql query : exec test it gives me red line under test (strored procedure name) and when mouse come over it tolled me "could not find stored procedure test" then i go …

Member Avatar for IT_Techno
0
200
Member Avatar for sugarzzzz

def verifyNeighbor (boardWidth, boardHeight, neighbor, me): my_row=me/boardWidth neighbor_row=neighbor/boardWidth if my_row==neighbor_row and abs(me-neighbor)==1: result=True else: result=False my_column=me/boardHeight neighbor_column=neighbor/boardHeight my_column=neighbor_column if my_column==neighbor_column and abs(me-neighbor)==boardHeight: result=True else: result=False x=boardWidth*boardHeight if neighbor>x: result=False else: result=True if neighbor<0: result=False else: result=True return result given a board of height like 4,5 etc and a width of …

Member Avatar for lancevo3
0
225
Member Avatar for Fernando_1

# VARIABLE DEFINITIONS name="" adress="" city="" state="" zipcode="" course1="" course2="" course3="" course4="" course5="" #----------------------------------------------------------------------- # CONSTANT DEFINITIONS courses= "Enter courses name (Type 'STOP' when finished) :" pointsR = "\tEnter points received ( Type '9999' when finished) :" pointsP = "\tEnter points possible for this assignment :" #----------------------------------------------------------------------- # FUNCTION DEFINITIONS …

Member Avatar for woooee
0
177
Member Avatar for innocentgee

write a program in vb.NET to generate the Premiere league table? Meaning the programme will generate the match played, win, loss, goals against, goals in favor, and the points for each team. This is a sample of how the table should do; Position|Team|MatchsPlayed|Wins|Draws|Loss|GoalsFor|GoalsAgainst|GoalDifference|Points Thanks iN Advance

Member Avatar for G_Waddell
-3
253
Member Avatar for lancevo3

I have to be missing something obvious here right? I ran test on all the variables and everything looked like it was correct when i > val the loop kept running. Any suggestions? Thanks x = raw_input(":") def whileloop(val): i = 0 numbers = [] while i < val: print …

Member Avatar for lancevo3
0
141
Member Avatar for lancevo3

Hey guys I am writing my first program ever in java starting tonight and all has actually gone smooth which has been a surprise but I have run into a problem with an if else area. Basically, what I am suppose to be doing in this section is the user …

Member Avatar for lancevo3
0
136
Member Avatar for lancevo3

I am working on a small program to hopefully use for my work and what I have so far is there is a home page where the user can select the number of forms they desire, which will then lead them to a page where the forms are. I want …

Member Avatar for lancevo3
0
99
Member Avatar for lancevo3

Hey guys I am having issue with declaring an iterator of type vector. I know there are other errors within this file but I am more concerned with why these declarations arent working. Everyone gives me an error saying something along these lines for each iterator heapsort.h:45: error: expected `;' …

0
71
Member Avatar for lancevo3

Hey guys I am trying to print the contents of a map container I have. I seem to be getting a nasty error from the compiler which seems to come from the pos = wordList.begin() part. any suggestions? [code=cplusplus] map<string, unsigned>::iterator pos; for(pos = wordList.begin(); pos != wordList.end(); ++pos) { …

Member Avatar for twomers
0
502
Member Avatar for lancevo3

Hey guys I am writing code that uses a dynamic casts then prints out some objects. What I am having trouble with is my code test as null when it isn't suppose to. Here is what I got and the dynamic cast code looks dead on to me. Maybe not …

Member Avatar for JasonHippy
0
93
Member Avatar for lancevo3

I am working on a doubly linked list assignment for my class and I am getting a segmentation fault on my test for the copy constructor. I don't know if the problem lies within my copyList method or my copy constructor logic. Any assistance be great. Here is my header …

Member Avatar for native
0
507
Member Avatar for lancevo3

I get the warning control reaches end of non-void function and I'm not seeing what causes it. [code=cplusplus] double ExprTree::evaluate(TNode* p) const { if(p->data == "+" || p->data == "-" || p->data == "*" || p->data == "/") { double op1 = evaluate(p->left); double op2 = evaluate(p->right); if(p->data == "+") …

Member Avatar for sfuo
0
754
Member Avatar for lancevo3

I am writing a method that does insertion into a doubly linked list and I was looking for some assistance with my code to see if I was heading in the write direction and what needs to be fixed to make this work. [B]Instructions[/B] template <class T> Iterator<T> List<T>::insert(Iterator<T> pos, …

Member Avatar for Protuberance
0
1K
Member Avatar for lancevo3

For some reason I am having trouble with just returning the address of the data field being pointed to by the node pointer. [code=cplusplus] template <class T> T* Iterator<T>::operator->() const { return *nodePtr->data; } [/code]

Member Avatar for Tom Gunn
0
97
Member Avatar for lancevo3

I am writing a iterator class which I am having no problem with yet my problem I am having now is I need to declare some methods as Iterator in my List class and I am getting errors from that. [code=cplusplus] template <class T> class List { friend std::ostream& operator<< …

Member Avatar for mrnutty
0
102
Member Avatar for lancevo3

I need to return the size of a doubly linked list and I am having trouble thinking of the logic to go about doing this. template <class T> int List<T>::size() const Returns the current size of the list; i.e., the number of data items currently stored in the list. Since …

Member Avatar for Lerner
0
85
Member Avatar for lancevo3

I am working with traversals for the first time and am running into some errors with my them I am just going to post my preorder code because I am gettin the same error for post and in order. The Error: BSTree.h: In member function Ć¢void BSTree<T>::printPreorder() const [with T …

Member Avatar for lancevo3
0
106
Member Avatar for lancevo3

I am writing a function that inserts an item into the rear of the queue. [code=cplusplus] template <class T> void Queue<T>::pushBack(const T& item) { QNode<T>* newNode; newNode = new QNode<T>[item]; if (empty()) qFront = newNode; else qRear->next = newNode; qRear = newNode; qSize++; } [/code] It seems like line five …

Member Avatar for lancevo3
0
98
Member Avatar for lancevo3

I am having trouble with my copy constructor for a Deque program I am writing. It just does not seem to be doing any copying anyone notice a quick fix on this? [code=cplusplus] Deque::Deque(const Deque& oldDeque) { dArray = new int[oldDeque.dMaxSize]; int sub = oldDeque.dMaxSize; for (int i = 0; …

Member Avatar for lancevo3
0
1K
Member Avatar for lancevo3

Been working with operator overloading for the first time and am running into quite the standstill with this one. I finally got rid of the code I had written and decided to start from scratch. If anyone has any advice on how to code this for me it be a …

Member Avatar for lancevo3
0
145
Member Avatar for lancevo3

I am writing a method that has to do with strings and I was stuck on how to go about coding this. Any help getting it started or tips at all would be great. Thanks. MyString::MyString(const char* s) This constructor takes a pointer to a constant C-style string as its …

Member Avatar for lancevo3
0
319
Member Avatar for lancevo3

Today is the first day I have attempted Operator Overloading and am running into a few errors so any assistance would be great! The first one I'm having issues with is here: const MyString& operator=(const char* rightOp) The assignment operator should also be overloaded to allow assignment of a C-style …

Member Avatar for wildgoose
0
243
Member Avatar for lancevo3

I have been working on this program for my class and I have everything working fine it seems up until I get my New Balance output. What I get for the output is below. Date Account Type Amount New Balance 06/19 9858-5420-3025-7452 P 5500.00 -2694.35 06/19 1111-1111-1111-1111 C 430.00 -2264.35 …

Member Avatar for lancevo3
0
130
Member Avatar for lancevo3

Hey, I'm writing a function that searches for an id in an array of a structure, for some reason it returns -1 everytime, so I was just hoping another set of eyes could help me clarify this. [code=cplusplus] int searchAr(student studentar [], int size, int searchid) { int i; for(i …

Member Avatar for lancevo3
0
168
Member Avatar for lancevo3

Hey, I'm working my first program that includes structures. For some reason though I have having errors with my getline. [code=cplusplus] inFile.getline( studentar, 20 ); [/code] My getline is being used in a function, so I don't know if that effects anything. The studentar array is declared as type student …

Member Avatar for lancevo3
0
106