1,306 Topics

Member Avatar for
Member Avatar for prs55

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 …

Member Avatar for prs55
0
97
Member Avatar for cpickering

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 …

0
61
Member Avatar for pythoxine

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 …

Member Avatar for pythoxine
0
154
Member Avatar for sgk26p10p07

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 …

Member Avatar for koyi
0
173
Member Avatar for danibootstrap

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 …

Member Avatar for danibootstrap
0
995
Member Avatar for sohguanh

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 …

Member Avatar for sohguanh
0
134
Member Avatar for Iqbal_h_a

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 …

Member Avatar for Nick Evan
0
119
Member Avatar for nnny

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 …

Member Avatar for Selwyn
0
371
Member Avatar for itdupuis

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 …

Member Avatar for itdupuis
0
193
Member Avatar for cutebab

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 …

Member Avatar for coolsaint
0
127
Member Avatar for spring_patel

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 …

Member Avatar for SheSaidImaPregy
0
89
Member Avatar for Run.[it]

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 …

Member Avatar for John A
0
117
Member Avatar for sid_arth2020

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 …

0
65
Member Avatar for million

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 …

Member Avatar for webbo
0
159
Member Avatar for mysterio

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 …

Member Avatar for gkbush
1
585
Member Avatar for jhize

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 …

Member Avatar for jhize
0
102
Member Avatar for babyfrostie

[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 …

Member Avatar for Narue
0
140
Member Avatar for apcxpc

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 …

Member Avatar for wamuti
-1
266
Member Avatar for shimul_13

Hi I am new in java. It is quite hard to code cpu scheduling algorithm SJF(preemtive and nonpreemtive) with a class pcb, ready queue.Thanks all.

Member Avatar for jwenting
0
102
Member Avatar for Qpido

[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 …

Member Avatar for Qpido
0
200
Member Avatar for Karkaroff

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 …

Member Avatar for Karkaroff
0
250
Member Avatar for sivaslieko++

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 …

Member Avatar for Duoas
0
189
Member Avatar for jonathan.jbkt

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 …

Member Avatar for alc6379
0
73
Member Avatar for Karkaroff

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 …

Member Avatar for n.aggel
0
301
Member Avatar for kv79

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 …

Member Avatar for kv79
0
113
Member Avatar for almost_done

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 …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for LanierWexford

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 …

Member Avatar for LanierWexford
0
1K
Member Avatar for volscolts16

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 …

0
62
Member Avatar for Punkr63

I need to create a Java program that implements both a stack and a queue (and not a palindrome problem) any suggestions?

Member Avatar for Nickk
0
186
Member Avatar for still_learning

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 …

Member Avatar for Lerner
0
94
Member Avatar for delacruise

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

0
60
Member Avatar for BOODA

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 …

Member Avatar for bigozone
0
155
Member Avatar for curt22

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 …

Member Avatar for knopper
0
571
Member Avatar for kpillsb39

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 …

0
87
Member Avatar for winky

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 …

Member Avatar for winky
0
189
Member Avatar for hectic

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] { …

Member Avatar for hectic
0
422
Member Avatar for ecestd1

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 …

Member Avatar for ecestd1
0
1K
Member Avatar for craig5464

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 …

Member Avatar for sam_tn
0
550
Member Avatar for lvphoenix

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 …

Member Avatar for Narue
1
180
Member Avatar for winky

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 …

Member Avatar for Salem
0
121
Member Avatar for ba19

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. …

Member Avatar for stymiee
-1
523
Member Avatar for curt22

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 < …

Member Avatar for Ancient Dragon
0
142
Member Avatar for JavaNewbie07

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, …

Member Avatar for orko
0
129
Member Avatar for anousha

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 …

Member Avatar for masijade
0
65
Member Avatar for n.aggel

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 …

Member Avatar for n.aggel
0
417
Member Avatar for Bald

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 …

Member Avatar for fang755
0
231
Member Avatar for curt22

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 */ …

Member Avatar for curt22
0
142
Member Avatar for jobs

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 …

0
52
Member Avatar for bob_the_welder

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 …

0
70
Member Avatar for jricklefs

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 …

Member Avatar for binoj_daniel
0
111

The End.