1,306 Topics
![]() | |
this is in an opengl guide and it wont work?? i keep getting errors at the end where the code starts to proclame the if (! statments! heres the code thx... [code] /* Steven Billington January 13, 2003 May 26, 2003 - UPDATE RobotOGL.cpp rod@cprogramming.com The following program creates a … | |
[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] | |
hi everest says my agp is not enabled or the fastwrite. Everest says it will decrease performance but i have both the fastwrite and agp enabled in my bios. i think my comp thinks im using pci port or everest does. i just got a new agp card and want … | |
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 … | |
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 … | |
Hi, Please anybody help me.. Now I cann't shut down my window XP (I am using IBM laptop). It's always giveing me the message that rundll32.exe is not respoding. I tried to solve the problem the same ways as the previous adivces but it was not working. Following is my … | |
hey i have a problem. I know i have a radeon 9600 128 mb graphics card but i dont know what kind it is. Any way of finding out? My dxdiag says its the radeon 9600 seires chipset but i dont know. HEres my dxdiag: ------------------ System Information ------------------ Time … | |
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 … | |
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()' … | |
Ok, for some odd reason my secondary "slave" hard drive just messed up on me. It doesn't show up on "My Computer", "Device Manager", and BIOS. and it makes my Primary "Master" not show up on BIOS only. and before it stopped working it, windows xp said some thing like. … | |
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 … | |
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 … | |
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 … | |
Hi! Do we create two Queue classes:?: | |
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 … | |
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 … | |
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 … | |
Hello Guys, I am trying to help my friend overseas install a sound driver for his PC. He formated his Hard Drive, but he has no drivers CD. I was able to find all of the drivers needed for his PC but I couldn't figure out what sound card does … | |
Hi every 1 i need to have some application of the priority queue thanks :cool: | |
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. … | |
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 … | |
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 … | |
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 … | |
I know this is a noob question but where do i put my own code in this menu code for windows. [CODE]#include <windows.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure(HWND, UINT, WPARAM, LPARAM); /* Make the class name into a global variable */ char szClassName[ ] = "WindowsApp"; int … | |
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 … | |
Hello. I bought a new computer 7 days ago so we could have internet on 2 computers so to lessen the queue time waiting to go on. I've connected the network cable & router & modem properly & used the router set-up disk on the [B]new computer only[/B]. I cannot … | |
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 … | |
Hi guys and gals, I have picked up a nasty virus and can't seem to get rid of it. It is appearing as a red circle with a white x in my system tray. I have run Ad-Aware, Spy-Bot, Pest Patrol and XoftSpy, all to no avail. Any help would … | |
I have a simple plane object with public datamembers of a flight number and a pointer. I am successfully adding "planes" and deleting "planes," however when I try to move one up a spot, though it compiles well, I seem to get memory crashes. Here is my bump function that … | |
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[]); … | |
i need to write a simulation of CPU scheduling. The operating system must select one of the processes in the ready queue to be executed. i have real problems understanding what the professor wants in this program, can anybody here help me develop some pseudocode for the logic behind this … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
/*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(); } } | |
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 … | |
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 … | |
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 … | |
I tried following some steps posted at [url]www.pcreview.co.uk/forums/thread-1698461.php[/url] but i just cant delete these things. im new here and any help would be greatly appreciated. here is my hijackthis log file: Logfile of HijackThis v1.99.1 Scan saved at 5:00:01 PM, on 7/12/2005 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet … | |
dear programmer A pharmacy needs to automate drug inventory management system. Every drug has chemical Name, Chemical Composition, date of manufauturing, expiry date, and courtry of origin, quantity, category and others. the pharmacy has a policy to dispose expired drug before use. however, it is not an easy task to … | |
Hi All, Can any on guide me in the logic / algorithm to implement 2 stacks using one array and a queue using 2 stacks. I need this very urgently. Thanks in advance. Komala | |
i am problem in codeing in 3 program in Visual. they are 1. "For a given number of people, write a program to simulate Joseph's problem. (You must use circular queue maintained using double link list.)" 2. Write a program to sort a set of points using Merge sort of … | |
greetings, i'm brand new to perl and trying to write a script to read a logfile for our weblogic server and write certain entries into a database table. the log file is a log4j weblogic log. here is a sample: [QUOTE]####<Jun 7, 2005 2:46:38 PM EDT> <Info> <Enterprise> <ga003sds> <tms1> … | |
I am trying to use XP Pro's SMTP Server to send emails from my machine from ASP. I have a permanent broadband connection via a Netgear wireless router/modem so I expect the email to just "go". I am using XP IIS 5.1 and SMTP is installed but I am baffled … | |
Winbatch, I have another Q for you. I have the whole project compiling but I am stuck with displaying all the Customer details from the Q. I can pass the Class Object "Tim" to the Queue with various details but I need to write these to a file when I … | |
[size=2]By: Jeff Johnston [b][i]IO Scheduling Improvements [/b][/i]Thanks to a new IO scheduler in Linux Kernel 2.6 it is possible to achieve speed increases on standard desktop style workloads of up to 1000% according to Andrew Morton of Open Source Development Labs (OSDL). The speed increase is thanks to the wait-before-seek … | |
I am trying to use XP Pro's SMTP Server to send emails from my machine from ASP. I have a permanent broadband connection via a Netgear wireless router/modem so I expect the email to just "go". I am using XP IIS 5.1 and SMTP is installed but I am baffled … | |
Dear All. Basically I am having trouble passing my class object to myQueue. I know my Queue works as I had it working for Integers and Charachters but after approx 25hrs over 4 days I still can not get my Object to store in my Queue. Any and All help … |
The End.