1,306 Topics
![]() | |
Hi,I am implementing graph ,all function works except the Hamiltonian part(1 function and 2 private method).Every time i compile,it shows two error message,,i don't know how to use adjacency list or is there any way to implement it using the class declaration as given above...I have main problem on my … | |
Hey up guys, A customer has come to me and asked if its possible to setup Spam Filter software, such as SpamAssassin or the likes on a Linux server that runs: - qmail - Centos 4.5 This server forwards mail using smtproutes in /var/qmail/control/smptroutes The server itself, has no mailboxes … | |
I don't know what to do with this xlib error I get from the code below (please paste it into the python console and see it for yourself). I got some advice from some guy, but I am a newbie to wxpython so I don't know how to follow it … | |
Now i have been able to create the gdt's and when i change to pmode, will a short JMP flush the instruciton prefetch queue? here is a sample of my code and the gdt and gdtr content, [code] mov ax,07c00h mov ds,ax lgdt [ds:descr] ;switch to pmode by setting bit … | |
Hello,I have this C program which is equivalent to the com port.Useful for data logging from the sensors.It consists of the .c file and two header files cport.h and xmodem.h .The code compiles fine but there are lot of linker errors.I tried a lot ,pulled my hair but no use.Can … | |
Hi everyone, I am new to this online forum. I am a software engineer residing in Singapore doing software development for a living for past 9 years. Only recently am I introduced to the wonders of ACE. It is such a pity the ACE framework is not part of the … | |
Hi All, I have built an application on C++. It is a multi threaded application. My application spawns 8 threads when it come up. Each thread opens one file and maps it using mmap. It is a client-server application. Each thread picks up a message from the queue and processes … | |
Today I tired setting up a printer sharing network over my linksys wireless router. I turned the printer sharing on and the windows sharing on my mac. Then I launched my notebook with vista on it and installed Bonjour for Windows 1.0.3. Once the installation finished I ran the wizard … | |
If anyone can shed light on this, I will appreciate it! I get this error when I try to set up a printer for a user on my network; "a policy is in effect on your computer which prevents you from connecting to this print queue" I checked the user … | |
hi frens Iam working on a website development project.Iam using dreamweaver for that. I have to create a news and events page. when the new content and events are added to the page old content should go into the archives section in others words (its should be like a queue … | |
well...i'm a novice programmer in ASP.NET. i want my web application 2 send emails.i've tried couple of things using IIS smtp, but that code sends emails in the "queue" directory of localhost smtp. How to get rid of it..? and wat if i want to send e-mails in Outlook Express … | |
I have been given a project to do for college and have the option of doing it in either C++ or Java; both languages Im relatively new to. The scope of the project is fairly open ended, some are planning to do games but Im personally just going to do … | |
Ques.Definition of priority queue was given. We have to implement the priority queue using array of pointers with the priorities given in the range 1..n. The array could be accessed using the variable top. The list corresponding to the array elements contains the items having the priority as the array … | |
Basicly I need a new video card my old one sucks and plays pong with lag (joking not really that bad) but I really need a new video card 128mb ATI/Nvidia would do me great. Anyway the problem is I see there's 3 types of video card AGP , PCI-E … | |
Write a program that read a line of text, changes each uppercase letter to lowercase and places each letter both in a queue and onto a stack. The program should then verify whether the line of text is a palindrome Output: Please enter a line of text I am A.I … | |
At risk of sounding like the newbie I am.... I don't know enough about php to do much of anything, yet. BUT! I know exactly what I need (I think). MAybe someone out there has seen something along these lines: It would be a php module that provide a custom … | |
[CODE] class Queue { int front, rear, max, size; int items[]; public Queue (int s) { front = rear = -1; max=5; size=0; items = new int [max]; } // should we still include the "front" in this section? public boolean enqueue (int x) { if (size==max) return false; else … | |
Hi all I'm experimenting with win API gui stuff, and I've run into a problem with dialog boxes. Currently, when the "Show DialogBox" option in the menu is pressed, the dialog box pops up. I then need for this dialog box to be draggable/moveable, and to "hide" when its close … | |
[URL="http://img442.imageshack.us/img442/3852/programjy5.jpg"]My Program[/URL] The link above leads to a picture of the program I made. This program makes the price show up out of an Excel file for transportation costs. With the help of some on this forum I have gotten this far with the program, and I'm very grateful for … | |
Please help me in self documenting the program below. All you have to do is, take a quick glance at the following code to see if you can understand what each part is doing. If you have any difficulty in understanding(at a quick glance that is!), please tell me, so … | |
I am writing a Queue class implementation, and my Queue holds a object called Flight. I tried to create this object by struct. Some part of my code is here: [code=c] #include <stdio.h> #include <stdlib.h> typedef struct { int C_TIME; int D_TIME; char FL_NUM; char D_CITY; }Flight; #define MAXSIZE 5 … | |
I develop and host several .NET 1.1 and .NET 2.0 applications. I am having an intermittent problems that I can't nail down a problem to correct the issue. My applications are hosted on a Windows Server 2003 box that I host. The applications will randomly hang when I try to … | |
Please help me in self documenting the program below. All u have to do is, take a quick glance at the following code to see if u can understand wat each part is doing. If u have any difficulty in understanding(at a quick glance that is!), pls tell me so … | |
Hi i have a problem i can't see my menu. So thanks for reading. It is not finished but the compiler done it . So i wana test drive before complite it. File name Test1.cpp [code=C++] #include "resource.h" #include <windows.h> #include <winuser.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure … | |
Ok I have no idea why I'm getting this error. I'm guessing its the fact I'm trying to return something from another class but I don't know how else to do it. [code=C++] #ifndef Floor_h #define Floor_h #include <queue> #include "Passenger.h" using namespace std; class Floor { public: Floor(); void … | |
Is there a function to remove punctuation from a string, or check to see if a char is a letter? This is a home work assignment to: 1 Write a class stack and a class queue 2 Test your classes by writing a program that will ask the user for … | |
Problem: I am not sure how to get the Treeiterator started into the main, or how output to the file. Thank you in advance sorry for the long read, but it is a long project, for such little output. The assignment: Write a program that maintains the names, addresses, and … | |
I need to create a Java program that implements both a stack and a queue (and not a palindrome problem) any suggestions? | |
I am working on a problem where I am trying to find a palindrome using a stack and queue. Below is the code that I am using to try and determine if a string is a palindrome or not. Right now I am having problems. It seems as though this … | |
i got an issue of creating a QUEUE of integers in a circular array using C to insert, remove, display, show CAN ANYBODY HELP ME OUT HERE | |
I have a 10 month old laptop with WinXP Home Edition and SP2 along with 3 spyware and 1 anti-virus program installed. All the software is current and a recent sweep of the computer for viruses and spyware since my problem developed showed no virus and only the usual minor … | |
Hi everyone. I'm having trouble getting groups working in a list box.I'm trying to have two groups. One will be "Done", and the other will be "todo". I'm getting these errors: [QUOTE] In function `LRESULT WindowProcedure(HWND__*, UINT, WPARAM, LPARAM)': `ListView_EnableGroupView' undeclared (first use this function) (Each undeclared identifier is reported … | |
Hi, I have built a program for Dijkstra's algorithm, but not sure why it does not display the shortest path thru the matrix. Would someone please point me in the right direction to get the code to work. Thanks, code follows, no errors, but no display of path vertices for … | |
Hey guys. I am trying to take a normal queue and change it into a cyclic queue, which basically means that the enqueue operation will make the elements shift to make space if the rear pointer is pointing at the end of the queue. I am getting an error about … | |
hi i have used the template in my simulation program but it generate the error, my program line of code that generate the error is (these code are in queue.template file) template <class QueueItem> queue <QueueItem>::~queue() // [B]line25[/B] { } template <class QueueItem> void queue<QueueItem>::push(const QueueItem& entry) //[B]line 42[/B] { … | |
how do you implement a copy constructor for this pointer-based ADT queue [code] #include "Queuep.h" #include <cassert> #include <new> using namespace std; Queue::Queue () : backPtr (0), frontPtr(0) { } Queue::Queue(const Queue& Q) throw(OutOfStorageException) { //implement here }//end copy constructor Queue::~Queue() { while ( !isEmpty() ) { dequeue(); }//end while … | |
Please help me how can i implement Multilevel feedback queue scheduling. i tried something and got scrap liek this [code = java] package osp.Threads; import java.util.Vector; import java.util.Enumeration; import osp.Utilities.*; import osp.IFLModules.*; import osp.Tasks.*; import osp.EventEngine.*; import osp.Hardware.*; import osp.Devices.*; import osp.Memory.*; import osp.Resources.*; /** This class is responsible for … | |
Hey All I am having issues with my code and it has something to do with the way my double linked list is working. I cant figure out if its not setting the m_prev pointer if at all and what is going on with my m_next pointer. Any help would … | |
Hey all, I am new to C/C++ and this week we just started object oriented C++. Before I dive into it I want to have a good understanding of simulating object oriented programming with C. Anyway, I believe I have doctored the code to where the queue and the Stack … | |
hai..can anyone help me on this task...i might need some sample on doing it.TQ Tasks: 1 You are expected to write a program that simulates CPU scheduling algorithms (SJF and SRTF). 2 The program will request the user to set the the number of processes to be selected for execution. … | |
I'm working on a simple program. It will compile,but whenever I press the delete button a message pops up and says it needs to close. I looked at the error details and It's error code was 0xc0000005. This is where I think the problem is: [CODE] for(i= 0; i < … | |
I am trying to create a queue of tokens from a file and I have the following; [code] Scanner pScanner = new Scanner (System.in); String ptoken; While ((tak = tz.getNext()) !=null) { System.out.println ("The next token is " + tak); .......//more code }[/code] This works becuase it scans every token, … | |
hi ive to implement a priority queue with 3 queues in java. its function are insert,delete,reset,search and display but i dont understand i know i have to use vectors to do it since it is easier.the 3 queues should be created in main? or in the constructor of the queue … | |
this is the final version of the priority queue i implemented {with some of your help!}... the problem is that when i profile the code with valgrind, it shows that i have a memory leak.... i can also see that, if in my code i make certain test_points{where i pause … | |
Just wanted to know if anyone can helpl. Just installed Medieval 2 total war, ran fine for the first hour then CTD. After that every time i try running the game the intro flickers, is distorted and generally messed up. I've spent the past 2 days trying everything, all my … | |
How can I make this print the text in the edit box when you push the button instead of "You pushed a button." I have looked all over but I can't figure it out. [CODE] #include <windows.h> #include "resource.h" HWND hWndButton; HWND hWndEditBox; HFONT hFont; /* Declare Windows procedure */ … | |
I need to create python script that is threaded. So the main program will run in infinite loop and just retrieving messages and putting them in a queue. (Main thread) I need child threads from a pool to process the queue. When there is no stuff in the queue, they … | |
Hi Folks! This [B]should[/B] be trivial, but because of this guy Murphy, it's turned out to be anything but. OK, here goes: Requirement: On a mail gateway running postfix, 1. dump any mail from MAILER-DAEMON via the "postsuper" command. 2. Record how many messages get dumped into a flat file … | |
I'm currently building a Queue Systems for processing Customer Information. These file are processed as they are received and I am trying to build a queue to hold the file names for sequential processing. I tried building one with the QUEUE Class but was unable to get it to update … |
The End.