1,306 Topics

Member Avatar for
Member Avatar for wingwarp

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 …

Member Avatar for WolfPack
0
2K
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
90
Member Avatar for GREENHOUSE

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 …

Member Avatar for knsljo
0
128
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
121
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
150
Member Avatar for angellar

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 …

Member Avatar for angellar
0
455
Member Avatar for meow

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 …

Member Avatar for GrimJack
0
246
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
65
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
394
Member Avatar for somedood

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

Member Avatar for somedood
0
94
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
143
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
102
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
207
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
111
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
64
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
83
Member Avatar for Mishoboy

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 …

Member Avatar for Mishoboy
0
431
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
111
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
85
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
950
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
170
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
219
Member Avatar for hak

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 …

Member Avatar for bumsfeld
0
203
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
389
Member Avatar for cozzy

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 …

Member Avatar for DMR
0
1K
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
151
Member Avatar for tomac_1

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 …

Member Avatar for tomac_1
0
240
Member Avatar for Keyonts

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 …

Member Avatar for WolfPack
0
154
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
73
Member Avatar for lain

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 …

Member Avatar for alc6379
0
446
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
141
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
160
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
169
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
864
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
119
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
112
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
123
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
135
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
121
Member Avatar for tibsone

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 …

Member Avatar for dlh6213
0
164
Member Avatar for tundeakins

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 …

Member Avatar for Narue
0
162
Member Avatar for komalac

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

Member Avatar for Dave Sinkula
-1
245
Member Avatar for limu

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 …

Member Avatar for Dave Sinkula
0
64
Member Avatar for optomystique

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

Member Avatar for kordaff
0
415
Member Avatar for spierian

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 …

Member Avatar for dhivya80
0
96
Member Avatar for TimC

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 …

Member Avatar for winbatch
0
140
Member Avatar for TheComputerGeek

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

Member Avatar for servertweak
1
436
Member Avatar for spierian

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 …

0
93
Member Avatar for TimC

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 …

Member Avatar for winbatch
0
203

The End.