1,306 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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: … | |
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: … | |
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 … | |
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 … | |
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 … | |
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()) { … | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
![]() | 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 … ![]() |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? ---------------------- ??? … | |
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 … | |
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 … | |
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 … | |
[COLOR=black]Is there a relationship between the maximum queue length and the flexibility in topological ordering? Explain.[/COLOR] | |
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 … | |
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. … | |
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. | |
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 << … | |
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 … | |
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 … | |
: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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
i wan to know the code for the radix sort using a queue and a radix sort using a linked list | |
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: … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.