Search Results

Showing results 1 to 38 of 38
Search took 0.01 seconds.
Search: Posts Made By: btech
Forum: Networking Hardware Configuration Jun 18th, 2006
Replies: 0
Views: 862
Posted By btech
I am trying to setup a simple (or so i thought) vpn connection. the static ip address is added to a netgear router and port forward is configured to a server 2003 machine with rrap. there are 2 nics...
Forum: C++ Mar 4th, 2006
Replies: 3
Views: 1,266
Posted By btech
I have tried but keep receiving errors


#include <iostream>
#include "avlTree.h"

using namespace std;

int main()
{
Forum: C++ Mar 4th, 2006
Replies: 3
Views: 1,266
Posted By btech
I want to check to see if a binary tree is perfect. this means that the height of the left and right subtrees of the root are equal and the left and right subtrees of the root are perfectly balanced...
Forum: C Feb 21st, 2006
Replies: 1
Views: 2,006
Posted By btech
Below is my assignment. If I understand this correctly pivot as a median is the middle of the highest, middle, and lowest numbers. In this case 35 (14, 35, 72). Please correct me if I am wrong. I do...
Forum: C Jan 30th, 2006
Replies: 3
Views: 1,163
Posted By btech
Then from what you are saying the item "30" will be inserted into position 53. Is this correct?
Forum: C Jan 30th, 2006
Replies: 3
Views: 1,163
Posted By btech
I have a question about hashing. If you have a hash table that is 101 in size. and the items are inserted into the table using quadratic probing. I want to insert a new item with address 30. If...
Forum: C++ Dec 6th, 2005
Replies: 11
Views: 2,549
Posted By btech
changed the while to for and no more crashes but still prefix instead of postfix ... any ideas?


case ')' : for ( stack.top() != '(' ){
rpnExp += stack.top();
stack.pop();
}...
Forum: C++ Dec 5th, 2005
Replies: 11
Views: 2,549
Posted By btech
made a few changes now the program outputs in prefix (i need postfix) and crashes if i use parenthesis? can someone look at the code and tell me what i am doing wrong? same .h file posted above

...
Forum: C++ Dec 5th, 2005
Replies: 11
Views: 2,549
Posted By btech
This is exactly what i am looking to do below is the algorithm for this assignment. I think I am on the right path just a little lost. Please help me figure out tje next step.

Note: Uses a stack...
Forum: C++ Dec 5th, 2005
Replies: 11
Views: 2,549
Posted By btech
so how can i fix this?
Forum: C++ Dec 5th, 2005
Replies: 11
Views: 2,549
Posted By btech
This is a homework assignment and since we have never used yacc and bison I do not think I should do that for this assignment. I do thank you for your response though. What I need is to figure out...
Forum: C++ Dec 5th, 2005
Replies: 11
Views: 2,549
Posted By btech
The code below compiles but produces the wrong output. The code is supposed to convert an infix string to postfix. the current output is only the arithmetic operator, unless there are parenthesis...
Forum: C++ Dec 4th, 2005
Replies: 11
Views: 3,601
Posted By btech
made the corrections but am still receiving the same error messages
Forum: C++ Dec 4th, 2005
Replies: 11
Views: 3,601
Posted By btech
alright I simplified my code just to get it to compile however now I get only 2 errors and i do not know why

error LNK2020: unresolved token (0A00001B) stackType<char>.__dtor

fatal error...
Forum: C++ Dec 4th, 2005
Replies: 11
Views: 3,601
Posted By btech
"use array brackets" how would i do that? as i said before i am new to c++ and my book does not provide the help i need
Forum: C++ Dec 4th, 2005
Replies: 11
Views: 3,601
Posted By btech
great that worked and taken care of the prvious errors however now i have 53 new errors.

error C2440: '=' : cannot convert from 'std::string' to 'char'
error C2664: 'stackType<Type>::push' :...
Forum: C++ Dec 4th, 2005
Replies: 11
Views: 3,601
Posted By btech
im not sure i know what you mean. i am new to c++ can you elaborate.
Forum: C++ Dec 4th, 2005
Replies: 11
Views: 3,601
Posted By btech
I cannot figure out these errors can someone please help

error C2065: 'stack' : undeclared identifier
error C2228: left of '.isEmptyStack' must have class/struct/union type
error C2228: left of...
Forum: C++ Nov 8th, 2005
Replies: 5
Views: 1,602
Posted By btech
Does this function look ok?


template<class Type>
void doublyLinkedList<Type>::copyList(const doublyLinkedList<Type>& otherList)
{
nodeType<Type> *newNode;
nodeType<Type> *current;

...
Forum: C++ Nov 8th, 2005
Replies: 5
Views: 1,602
Posted By btech
My program compiles with no errors but when I run the program it asks "Enter the number to be deleted:" if I enter any number other than the first number listed the program crashes with the following...
Forum: C++ Nov 8th, 2005
Replies: 9
Views: 2,073
Posted By btech
I ran the program through my compiler again commenting out lines to see what is causing the error. Turns out the program compiles if I comment out the cout << lines The weird thing is the .h (header...
Forum: C++ Nov 8th, 2005
Replies: 9
Views: 2,073
Posted By btech
Here is the error I am getting. As I said I do not see an error about a missing function. But honestly I do not understand how to read the error messages.


doublyLinkedList error LNK2001:...
Forum: C++ Nov 8th, 2005
Replies: 9
Views: 2,073
Posted By btech
The compiler did not specify that a function was missing. If I had to guess I would say the error is coming from the copyList function. It looks fine to me but once I added it the errors began.
Forum: C++ Nov 7th, 2005
Replies: 9
Views: 2,073
Posted By btech
The assignment I am working on is to create a doubly linked list. This is what I have thus far. However when I compile I get 2 errors: LNK2001 unresolved external symbol and LNK1120 unresolved...
Forum: HTML and CSS Oct 31st, 2005
Replies: 3
Views: 1,859
Posted By btech
Thank you this was exactly what I was looking for
Forum: HTML and CSS Oct 31st, 2005
Replies: 3
Views: 1,859
Posted By btech
I want to make a option on my toolbar a "drop down" element. I want the user to be able to mouse over links and be able to select their link from a scroll out menu. below is my navbar. could someone...
Forum: HTML and CSS Oct 30th, 2005
Replies: 2
Views: 2,226
Posted By btech
I want to make a option on my toolbar a "drop down" element. I want the user to be able to mouse over links and be able to select their link from a scroll out menu. below is my navbar. could someone...
Forum: Linux Servers and Apache Oct 23rd, 2005
Replies: 1
Views: 2,507
Posted By btech
Let me make sure I am clear. If i plan to host my own domain name all I need to do is:
1. purchase a domain name of my choosing
2. setup my server accordingly to host my site
3. setup an email...
Forum: C++ Oct 10th, 2005
Replies: 8
Views: 2,535
Posted By btech
now i am having a problem setting up the main in relation with the derived class. The errors are
newClockType.setTime does not take 1 argument
newClockType.getTime does not take 1 argument
see...
Forum: C++ Oct 10th, 2005
Replies: 8
Views: 2,535
Posted By btech
i think my derived class is now correct



class extClockType: public clockType
{
public:
int getTimeZone();
void setTimeZone(int t);
void setTime(int hours, int minutes, int seconds,...
Forum: C++ Oct 10th, 2005
Replies: 8
Views: 2,535
Posted By btech
This is what I am confused about as well. I do not understand what will determine the time zone also what format the assignment is looking for GMT or eastern vs central vs western. I have posted all...
Forum: C++ Oct 10th, 2005
Replies: 8
Views: 2,535
Posted By btech
oh sorry here it is


class clockType
{
public:
void setTime(int hours, int minutes, int seconds);
void getTime(int& hours, int& minutes, int& seconds);
void printTime() const;
...
Forum: C++ Oct 9th, 2005
Replies: 8
Views: 2,535
Posted By btech
I am trying to write a program which will derive one class from another class by adding a data member to store the time zone. Below is what I have so far. However I am unsure on how to write the...
Forum: C++ Oct 3rd, 2005
Replies: 8
Views: 1,450
Posted By btech
thank you, i was close just needed to add the function. you had given me a link for the second part of the question but i do not understand how to find the order of the function through the link....
Forum: C++ Oct 3rd, 2005
Replies: 8
Views: 1,450
Posted By btech
this is what i have. the program compiles without error but is returning 0 as a value

int main()
{
int n;
int sum;

for (int i = 0; i <= n; i++)
sum = i*i + i;
Forum: C++ Oct 3rd, 2005
Replies: 8
Views: 1,450
Posted By btech
like this? or am i still way off?

int main()
{

int count=0;
while (count<=n)
{
count = count + i^i
}
Forum: C++ Oct 3rd, 2005
Replies: 8
Views: 1,450
Posted By btech
could i get some help on getting started? i have no idea how to find the sum of the squares of all integers. would the following be right?

int main()
{
for (int i = 2; i <= n; i++)
sum...
Forum: C++ Oct 3rd, 2005
Replies: 8
Views: 1,450
Posted By btech
the assignment i am working on ask to write a function that uses a loop to find the sum of the squares of all integers between 1 and n. then asks "what is the order of your functions?"

my...
Showing results 1 to 38 of 38

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC