1,306 Topics

Member Avatar for
Member Avatar for jricklefs

I'm trying to get a File watcher to update a que class and then process the files squentially without any luck. Private Sub FileSystemWatcher1_Changed(ByVal sender As System.Object, ByVal e As System.IO.FileSystemEventArgs) Handles QUEwatcher1.Created Dim i As String Dim myQ As System.Collections.Queue Dim Filename as string Filename = e.Name ' e.name …

Member Avatar for binoj_daniel
0
112
Member Avatar for bokenrosie

Hello, My machine has suddenly started working very slow. I have TM always up to date along with Windows updates on automatic. Does anyone see anything suspicious below? Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 3:35:30 PM, on 7/16/2007 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer …

Member Avatar for gerbil
0
125
Member Avatar for vladdy19

I've written a program that keeps a linked list of Personnel. The Personnel can be of the type Student(inherited from Personnel) each student has the name and id from Personnel and a Queue of type books. Everything works except it doesn't display the list of books. please offer any help …

Member Avatar for Ancient Dragon
0
116
Member Avatar for vladdy19

I'm having trouble writing a Queue class using Book structures i keep getting this error where tried to assign the pointer front and rear to the next or previous link in the queue here is my entire Queue class i have highlighted the parts that gave me the errors <AD: …

Member Avatar for Ancient Dragon
0
200
Member Avatar for vladdy19

along with that error i also get these for that same line error C2143: syntax error : missing ';' before '{' error C2447: '{' : missing function header (old-style formal list?) here is that line of my code [code=cpp]class Queue{ //Number 2 protected: struct Book *front; struct Book *rear; public: …

Member Avatar for WolfPack
0
564
Member Avatar for vladdy19

these are the errors that i'm getting i dont' know whats wrong because most of it is given by the instructor any help with these errors will be greatly appreciated c:\documents and settings\compaq_owner\my documents\visual studio 2005\projects\book.cpp(12) : error C2236: unexpected 'class' 'Queue'. Did you forget a ';'? c:\documents and settings\compaq_owner\my …

Member Avatar for Salem
0
212
Member Avatar for DenisOxon

Hi I have a VB5 application which will print to both dot matrix and laser printers. Gnerally works fine However with HP laserjet 1020 print job is sent to printer. It appears in queue, the printer warms up and nothing else happens. Sometimes the job dissappears from queue, othertimes it …

Member Avatar for AV Manoharan
0
201
Member Avatar for MacLeopard

Greetings! I'm wondering if anyone has a kqueue outgoing socket example. What I mean is something that uses kqueue and connects to somewhere (in the example, let's say 1.2.3.4 on port 1234), and then polls the socket and when it gets data, calls the function receive_data(data), with data being the …

Member Avatar for unnameable
0
100
Member Avatar for sundar divas
Member Avatar for Zay

Hello; steps are correct; there is no error ; but when running the prog. this what apear :(its in attach) this is my code and the main: [code] template<class Type> void sortQueue(queueType <Type> & q1) { queueType <Type> q2; queueType <Type> qresult; Type min=q1.front(); q2.addQueue(min); while(!q1.isEmptyQueue()) { q1.deleteQueue(); while(!q1.isEmptyQueue()) { …

Member Avatar for Zay
0
282
Member Avatar for Zay

Hi; need your help , now i want a hint for this question to know how to solve it : [code] template <class T> void sortqueu(queueType <T> & q); [/code] this function is to sort all elements of that queue . using queue operation only (it is not a member …

Member Avatar for Narue
0
1K
Member Avatar for sofianos

hi im making an exercise about two arrays. one is a working like a stuck (LIFO-Last in First Out)array and the second one like a queue (FIFO-First IN First Out). The problem is that im confused what to write in the case 3 and 4.....:?: Any additional help about compiler …

Member Avatar for Infarction
0
155
Member Avatar for Zillian

Hi, I've been trying to get this to work for the past two hours and can't figure out why this run-time error is happening. The code is as follows: [code=cplusplus] #include<queue> #include<stack> #include<iostream> usingnamespace std; int main() { stack<char,deque<char,allocator<char> > > s; queue<char,deque<char,allocator<char> > > q; char ch; int count …

Member Avatar for Dani
0
859
Member Avatar for aberlynn

hi folks - i'm quite new to c++ and have written a program where i have used a linked list to simulate 3 printers working in a queue according to their priority. After much blood, sweat and tears I got that bit working. Now I'm onto the second "easy" bit...I …

Member Avatar for iamthwee
0
117
Member Avatar for kohkohkoh

Currently i am building a message queue program which one is sending a message to another party. lets say ABC sending a message to DEF if ABC sends a msg out using message queue, it stores at the msg queue manager, once the msg stored in,i want the server side …

Member Avatar for kohkohkoh
0
98
Member Avatar for maverick786

Thanks to those guys who helped me out yesterday. I have one more problem; my print function for the queue program doesnt work and goes into an endless loop. Also I am unable to calculate the length of my queue. I started getting compilation errors when I included a length …

Member Avatar for John A
0
200
Member Avatar for katzumi_r

hi, im new in programming and C++ and i have a homework and i need a little help on how to do it will u please just tell give me some suggestions on what i should do and ill try to do it myself This is what i have to …

Member Avatar for vijayan121
0
157
Member Avatar for pjakubo86

Hey guys, I was hoping you could help me with a little problem I'm having. I'd like to create a priority queue from the STL of Node objects. Node is a class I've written myself. From what I understand, the STL uses the < (less than) operator (well, it uses …

Member Avatar for vijayan121
0
408
Member Avatar for marv69

HI! Please help! I have tried this on HP support forum, but no reply. Also search across Google gave no solution. I have this problem: HP 2500n Color LaserJet prints OK over Appletalk from Mac OS X. But from Linux Debian, over IPP, it prints only two first pages, and …

0
27
Member Avatar for ab3ad

hi i'm student in university i try to do my homework to simulate FCFS and RR i need ur help to tell me if my answer good or :sad: Qustion is: the project is to write a program to simulate FCFS and RR without having any i/o, all processes have …

Member Avatar for Salem
0
139
Member Avatar for faiz

plz help me in debugging a program(urgent).it's the implementation of ascending and descending priority queues using array.i've made a program but it is not functioning properly.the problem is that when i initialize the array in the class the ascending priority queue stores only zeros and the descending priority queue is …

0
55
Member Avatar for kloony

get the following error message when I have have a variable QUEUE and then for i:2500, I loop through QUEUE(i). I don't understand why Matlab is attempting to access QUEUE(-2.14748e+009)....Can anyone help me with this error? I suspect it might be a floating point problem, is it possible? ---------------------- ??? …

Member Avatar for kloony
0
125
Member Avatar for mmr23

I need this program for my work. Recently started having problems with the new JRE How can this be fixed? I googled it and see java does not offer answers I use win 2000 IE6 RoadRunner BB and firewall from them CA-EZ Firewall Java(TM) Plug-in: Version 1.4.2_13 Using JRE version …

0
37
Member Avatar for Simona1987

Hello, I have quite big problem as I have to count elements in the queue and no procedure or function, which i wrote, does this. I would be grateful if anyone could help me with this. Also I have another problem. The program for working with the queue generates only …

Member Avatar for radu84
0
89
Member Avatar for millanskie

Hi to all, I have a program that will print a file automatically after downloading it from the web server, the problem is how can i delete or cancel print job already in the printer queue... i already try [code]printer.killdoc[/code] but it does not delete or cancel job that are …

Member Avatar for millanskie
0
1K
Member Avatar for Dude02

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

0
37
Member Avatar for fyiwriter

I am having trouble removing Update.exe Spyware/Adware. I don't know how it arrived ... I am very careful where I browse and what I download, but unfortunately, I am not the only one who uses this computer. I have provided some behavior details because I know there are many different …

Member Avatar for crunchie
0
688
Member Avatar for d_1386

Write a program that can simulate the following CPU scheduling algorithms: 1. FCFS 2. RR (new processes are added at the beginning of the ready queue, the quantum is one time unit) 3. Priority based 4. SJF non-preemptive 5. SRTF The program can be written in either C or Pascal. …

Member Avatar for Salem
0
264
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
20
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
150
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
89
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
160
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
91
Member Avatar for jan1024188

ok here is window [CODE]#include <windows.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure(HWND, UINT, WPARAM, LPARAM); /* Make the class name into a global variable */ char szClassName[ ] = "jan birsa"; int WINAPI WinMain(HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszArgument, int nFunsterStil) { HWND hwnd; /* This is the …

Member Avatar for jan1024188
0
136
Member Avatar for Roberdin

Well, I've searched Google to little avail so I've decided to ask here. I've currently set up a Media Centre PC in my room. Everything - even wireless LAN - works perfectly after several kernel recompilations, that is, excepting my TV card. As you may imagine, this is somewhat of …

Member Avatar for bungilo
0
250
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
82
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
98
Member Avatar for Rondo

HI all, I'm having a problem with my memory cpu usage. my computer is really slow and barly moves at all In the task manager in the processes tab, a process named "[COLOR=black][COLOR=black]svchost[/COLOR][/COLOR].exe" is taking about 150,000-270,000 K Mem Usage, constantlly and getting only higher and higher every minute. I …

Member Avatar for caperjack
0
207
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
120
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
24
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
133
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
443
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
91
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
110
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
258
Member Avatar for angellar

Hi all, Please help me I cann't shut down my windowXP. It keeps telling me that rundll 32 is not responding . After I clicked "end task" for this error , it pops up again and again for a few times, and then the system is able to log off …

Member Avatar for DMR
0
181
Member Avatar for knorden

Hi all. I am new to C, at least to the concept of pointers. I am trying to write a process scheduling simulator for my operating systems class (at the last minute of course). Anyway, I wrote a program just using arrays and got it to compile but then of …

Member Avatar for knorden
0
111
Member Avatar for balachandu

hai , i am chandu. i have some doubts in datastructures.can anyone help me to solve them 1) what datastructure (stack,queue.list......) is used for NOTEPAD ,(i want the best datastructure) and why? 2)what is the best datastructure used for MICROSOFTWORD and why? 3)how can we delete duplicate elements in an …

Member Avatar for dilip.mathews
0
148

The End.