1,051 Topics

Member Avatar for
Member Avatar for Dude02

[COLOR=black]Is there a relationship between the maximum queue length and the flexibility in topological ordering? Explain.[/COLOR]

0
42
Member Avatar for martial

Hi everyone: Does anyone have an implementation of M/M/1 queuing with C++ Thanks in advance for your help

Member Avatar for Salem
0
49
Member Avatar for satya007

hi, i am satya i want to actively involve in discussions I want to know how to implement a queue operation in a system which supports only stack operation.

Member Avatar for ~s.o.s~
0
27
Member Avatar for nanodano

Hi, I'm trying to write a simple Queue class, but I'm having trouble using it. It tells me I have undefined references to the functions I call in main. [code] // main.cpp #include <iostream> #include "queue.h" void main() { Queue<int> myq; myq.push(10); std::cout << myq.isempty() << endl; myq.makeempty(); std::cout << …

Member Avatar for Narue
0
165
Member Avatar for Savage221

Hello. Ok, so for this program I have to read in an html file, gather all html tags ( ie: <html> <font> </i> etc.. ) and add them to a queue in which they will be printed out later. Opening the the file is easy, it's after that I'm a …

Member Avatar for Savage221
0
101
Member Avatar for Shailesh33

Hi, I am having trouble to find the specific information about Dijkstra agorithm and Shortest Path techniques for my following two problems. Please help me by providing either specific answer or URL for my questions. I appreciate your help. ============================== [1] [COLOR=#000000]What is the running time of Dijkstra’s algorithm if …

Member Avatar for stymiee
0
180
Member Avatar for brittoonline

:sad: hi Can anyone tell me the steps to do before deploying a MDB application like how to create Topic and Queue JNDI.. or any other steps like that we should do in the WEBLOGIC 8.1 CONSOLE WINDOW before deployment.. i have a JMS Client program,A helper program and a …

Member Avatar for brittoonline
0
107
Member Avatar for jscherbarth

My girlfriend has the common problem where the task manager opens for a split second then closes on her machine. I had to leave last night however and couldn't get the problem resolved, I brought the HJT log with me on my flash drive so here it is: Logfile of …

Member Avatar for Chaky
0
87
Member Avatar for dummies2

i have this program but it doenst work could you help me plz. you just enter in sentence like: I like the cat. or The cat sees the rat. The cat likes me. then it will say the string is correct. but if you enter in I sees the cat. …

Member Avatar for ~s.o.s~
0
103
Member Avatar for spacecowboy123

Hi all, I'm new to C++ and am having a problem with a piece I am writing for an assignment. The problem area is below. [code] //arrival process on the corporate links if (clock % 4 == 0) { double randomno randomno = randgen; // Generate random number if (randomno …

Member Avatar for spacecowboy123
0
2K
Member Avatar for loddyb

I have an Okidata 320 turbo connected through the lpt1 port. When I try to print it does nothing. If I open the Printer queue it shows the job as printing, then deleting, then printing again. It also shows a job below it spooling. That job will then disappear off …

Member Avatar for onlyme
0
124
Member Avatar for Chetan Pandey

i want to know how to inspect the records in a message queue and to write that records in an audit file.please tell me how to implement this

Member Avatar for 'Stein
0
33
Member Avatar for mightymousenick

Hi people i am kind lost at where to start for this lab assignment i have gotten for my mid term break: Olympiad 2012 Problem It's London! International Olympic Committee President Jacques Rogge has announced that London will host the 2012 Olympic Games and Paralympic Games. 6 July, 2005, Singapore …

Member Avatar for mightymousenick
1
143
Member Avatar for micmac700

I am working on a program that uses interrupts and a buffer to read/write characters from/to the console screen. (This is a tty.c program with ttywrite(), ttyread(), ect...) I also have a given queue folder, which contains queue.c that has the methods: [code] int init_queue(Queue *q, int max_chars); make a …

Member Avatar for Lerner
1
482
Member Avatar for ank_nute83

hai..can anyone help me on this task...i might need some sample on doing it.TQ [B][U][COLOR=#000000]Tasks:[/COLOR][/U][/B] [COLOR=#000000]1 You are expected to write a program that simulates CPU scheduling algorithms (RR, SJF, and Priority). [/COLOR] [COLOR=#000000]2 The program will request the user to set the time slice to be used for RR …

0
98
Member Avatar for happy8899
Member Avatar for happy8899
0
2K
Member Avatar for gil857

For my work, I am making a web application for our intranet that will query our accounts, and based on the input, will pull out the appropriate contact's email address to send a pre-scripted message. I can't seem to find a good answer on the net, but my question is: …

Member Avatar for gil857
0
128
Member Avatar for Ginner

Hi all, I am working on a problem that should have been very trivial but has turned into a multiple marathon without an end in sight. I have written two very small scripts, one auxiliary script as below with two classes 'Node' and 'Queue' intended for use in a linked …

Member Avatar for N317V
0
271
Member Avatar for Marthy

[I] What is the Importance and uses of data stuctures in Programming using C/C++ when using it? .How Stack,Queue,and list works and give example problem that solve stacks (note:this is not a code program).t.y..i want your different opinions...pls...reply this tread.. [/I]

Member Avatar for Laiq Ahmed
0
97
Member Avatar for zidane28

Halo....I'm new here...... Can somebody help me with this question? Its a assignment but I REALLY DON HAV ANY IDEA HOW TO DO IT!!!! So....Plz help...... Write C++ code for the following algorithm: 1) Determine job's reqeusted memory size 2) if job_size>size_of_large_partition then reject job print appropriate message Go to …

Member Avatar for zidane28
0
145
Member Avatar for kishore22

Hello, I need the logic to implement a stack by using two queues. can anybody help in this ? Thanks & regards, Kishore

Member Avatar for Narue
0
124
Member Avatar for YoTaMiX

Hello to you all , I am Trying to Implement Code for Void** Array which will Store Strings in a QUEUE system . I can see the Strings in the Queue . I am sure i dis the Casting OK, But i need a fresh pair of eyes. Also is …

Member Avatar for YoTaMiX
0
167
Member Avatar for Davux

Hi, I'm in a jam here and just would like some input from other programmers. I need to monitor the print queue on a remote (local network) windows XP system. This computer is a member of the domain, and I have full access to it. But I'd like to monitor …

0
69
Member Avatar for freemind

Hi to all! I'm writing a simple simulation program for elevators but i get a problem, namely: [CODE] elevator.cpp: In constructor `Elevator::Elevator(int)': elevator.cpp:41: error: no matching function for call to `Button::Button()' elevator.cpp:10: note: candidates are: Button::Button(const Button&) elevator.cpp:16: note: Button::Button(int, bool) elevator.cpp:41: error: no matching function for call to `Button::Button()' …

Member Avatar for freemind
0
426
Member Avatar for EcoTed

Evening Everyone, I'm having a spot of bother with my new printer and my network... Perviously I had a cheapie Epson C40 attached to my main machine (running XP - SP2), shared accross the network and all was good and everyone was happy. The dark clouds crossed the sky and …

Member Avatar for EcoTed
0
176
Member Avatar for SelArom

I've got a procedure within a class that will be running something on its own thread. Basically it's a timer that will fire periodically... well when that event fires I want to be able to handle that on a windows form. for example: the class is a queue, when the …

Member Avatar for SelArom
0
115
Member Avatar for Mishac

can any one help me with the code for the pop & push methods in the class that implement a Stack with two Queues

Member Avatar for aniseed
0
131
Member Avatar for derangedone

For my C++ programming course, the prof wants us to do an order queuing program, however he hasn't taught queues and stacks yet. Is there a way I could use arrays (with dynamic memory allocation) to act as a queue? This is the code I have so far, but I …

Member Avatar for Lerner
0
220
Member Avatar for Mishac
Member Avatar for degamer106

I'm kind of confused about how the modulus operator works. Suppose i have x % y with x > y. So if x was 6 and y was 2, then 6 % 2 would produce 0. But i don't really get what happens when x < y :eek: In this …

Member Avatar for degamer106
0
126
Member Avatar for sidereal

Please people help me with some ideas... everything is necessary now..... here is my code: this thing is supposed to read from a file random numbers and generate the so called Process control block with burst time and the number of the process: import java.util.Scanner; import java.io.*; public class PassProcess …

0
74
Member Avatar for sidereal

Hey.. I am working on this project, where you have to simulate cpu scheduling for 10 processes. I have to use only 2 algorithms like FCFS and Priority. The basic code would be randomly generating 2 files: "burst_time.txt" and "priority.txt" and then reading the random times. I have to save …

0
92
Member Avatar for some one

Hi every 1 i need to have some application of the priority queue thanks :cool:

Member Avatar for Narue
0
124
Member Avatar for debugger

I am trying to delete the first node in the singly link list but cant seem to do so? My Code is below... Could someone please suggest something. thanks. This program has an enqueue function which works. `*p` is a pointer to a node which has been allocated using malloc. …

Member Avatar for debugger
0
95
Member Avatar for BobGoolay

we have a project due that involves reading in data from a file which is a 30x20 grid consisting of 30 processes each of which have 10 CPU bursts and IO bursts. From this we are supposed to implement FCFS, SJF, RR and a multi-level feedback queue in C++. From …

Member Avatar for Narue
-1
997
Member Avatar for stupidenator

Hi everyone, I am currently facing a problem with a program that I am writing. It is a computer simulation of the card game War. I am receiving this error [CODE]main.cpp:22: invalid conversion from `Card*' to `int' main.cpp:22: initializing argument 1 of `Card::Card(int)'[/CODE] Card is the name of one of …

Member Avatar for stupidenator
0
186
Member Avatar for ruston1206

Hello My name is Tony and I am a new member. I have been in the computer world since the early 80's and I now work as a computer consultant supporting small businesses. The other day a client ask me to connect a Sharp AR-275 printer to his network. Well …

Member Avatar for antioed
0
227
Member Avatar for kharri5

I am trying to do a priority queue with a custom type, but I keep getting this error des.cpp:77: error: expected init-declarator before "eventQ" des.cpp:77: error: expected `;' before "eventQ" This happens in the following code [CODE] Program: This is a discrete event simulator designed to aid in the analysis …

Member Avatar for kharri5
0
399
Member Avatar for Cap

I'm having a problem with getting info from a county government site that uses a Java applet. I'd appreciate any help in solving this information retrieval issue, as the people I talk to at the county don't seem to be very technically literate, although I'm probably not either. To verify …

Member Avatar for jwenting
0
159
Member Avatar for virusm

I need C++ source code for CPU Task Scheduling. Anyone who can help me plz send me some Source code. My project is to design a Scheduler in C++ with a queu. I'll give more information to anyone who will respond to my msg. Thnx men... :sad:

Member Avatar for Dave Sinkula
0
83
Member Avatar for Acidburn

Hello, I've tried to implement a queue using a array which loops. (Circular lists). However something is wrong. When I add a new item to the list , I get the 'case digit' aswell... heres the code : [php] #include <iostream> #define MAXSIZE 3 using namespace std; void insert(int array[]); …

Member Avatar for Daishi
0
85
Member Avatar for Manojsah

Respected members, hello, I am manoj , i need the help in finding out the multiple choice question on data structures(complexity, linklist, trees , graphs, stack, queue, vector, array, etc.) as my exam is comming so i had to prepare for it. thank you manoj

Member Avatar for tharglet
0
150
Member Avatar for 3nCrypti0n

Im having trouble implementing this Queue simulation. This simulation basically estimates how long a student has to wait in line for lunch at my high school. I get the following messages when trying to compile [CODE][C++ Error] davislunch.cpp(30): E2034 Cannot convert 'line *' to 'line::node *'[/CODE] Heres the source: davislunch.h …

Member Avatar for Rashakil Fol
0
168
Member Avatar for scotchfx

Greetings, I'm a former hardware guy (embedded C & C++ experience mainly) trying to get up to speed with Java and Perl for a set of graduate courses. I've written up a Perl script that simulates a scheduling algorithm, the script consists of two primary loops the first to parse …

Member Avatar for andrew23chan
0
181
Member Avatar for plshelpme1

1. Introduction The objective of this project is to develop an Airline Reservation System. Green Dot airline has just purchased a computer for its new automated reservation system. You have been asked to program the new system. You are to write a program to assign seats on each flight of …

Member Avatar for Lerner
0
880
Member Avatar for princeinc

can anyone pls help me to complete this questions?? i'm new in programming , n i'm not very sure how to even start to do this programs....so help needed urgently..preferably the program can be done in Java or C ++... thank u No1. Develop a program to simulate a computer …

Member Avatar for freesoft_2000
0
128
Member Avatar for wishes

/*intersection ........... */ void Intersection (Queue q,Queue r, Queue &s) { Q_entry x, y; Queue temp; while(!q.empty()) { q.retrieve(x); while(!r.empty()) { r.retrieve(y); if(x==y) s.append(x); r.serve(); temp.append(y); } r = temp; q.serve(); } }

Member Avatar for Rashakil Fol
0
132
Member Avatar for jhdobbins

Here is my entire code. I am getting a segmentation fault ( I love pointers for this reason!!!!) off of one of my head pointers i believe. Can anyone help me find/ fix this? please, and thank you. [CODE]/* The purpose of the program is to simulate a queued line …

Member Avatar for jhdobbins
0
133
Member Avatar for winbatch

Here's what I'm trying to do... I want to connect to a command line application and send it instructions from inside a script. I need to do a loop as there are multiple things I want to do. I was able to accomplish this by connecting and disconnecting inside the …

Member Avatar for winbatch
0
147
Member Avatar for mu42774

Hi, By the way, I used JAVA to run this simulator.However, my question is, I have to deliver this part of the assignment by 7th of August, but I am not sure if whatever I tried to explain on the [B]Explanation for the Summary Result File for TWO processes in …

Member Avatar for Sauce
0
145

The End.