132,726 Archived Topics
Remove Filter ![]() | |
As seen in another thread, I'm working on a Log class. I'm running into an issue that if I delete the file that's being written to, the Log class doesn't detect it and continues to 'think' it's writing even though the file is gone... (Note that this is on sun … Software Development c++ file-system | |
hello all can any body help me to correct this code please :cry: :cry: i want it so it can print whats n is in these different cases. this is my code and thanks alot for your help #include <stdio.h> #include <iostream.h> #include <stdlib.h> void main() { int ave, 1st, … Software Development c++ | |
Hello, I can not fill a dataset and operate with a datatable when it is on other computer (not on the ASP server). I am using MS VIsual Studio .NET 2003 and ASP. I receive the following error when trying to fill a dataset: "The Microsoft Jet database engine cannot … Software Development asp asp.net dataset microsoft visual-basic visual-studio | |
I am working through the book Visual C#.NET Step by Step, and I came to the section of the book where the author shows how to create comments on your code with XML. ///<summary> ///The obligatory Hello World in C# ///</summary> ///<remarks> ///This program writes out Hello World ///using the … Software Development c c# c++ visual-studio web-browser xml | |
I need help writing this program i have everthing set up except i cannot get the program to save the output from it. Here is a copy of my work (It will most likely suck Im new at this sorry.) Any help will be very appreciated. I need the file … Software Development c++ | |
Hi there, I have got this problem which is rather puzzling, to me at least. My team-mate and I each did our coding and they work as standalone. His part is the UI and mine the backend processing. He did his code using BlueJ using JDK 1.3, I did mine … Software Development file-system html-css java unix | |
Please Help my code for this program is listed below what the program is supposed to do is also listed below. I can't get it to work. [B]The problem[/B] Write a program to compress a message consisting of the ten symbols A, B, C, D, E, F, G, H, I, … Software Development java | |
Hey.. Can anyone please help me? I am trying to write a round robin scheduler and so i decided that if i got a fcfs scheduler, then all i would have to do is change the process from completing in the processor to it just going into the processor for … | |
Hi, i searched around and couldn't find any examples on what i'm looking for.. Im a newbie when it comes to Winsock (C++) and im not sure what im doing wrong, if you could just point me in the right direction or provide some source code that'd be very helpfull, … Software Development c++ client-server file-system web-browser web-server | |
soz bout all this posting :S i know this is a really n00b question but how do i add a black background to this prog? import java.awt.*; import java.awt.event.*; import javax.swing.*; public class CMP extends JFrame { public void myframe() { JFrame frm = new JFrame(); frm.setBounds(0,0,800,400); frm.setVisible(true); frm.addWindowListener(new WindowAdapter() … Software Development java java-swing | |
[code] //project.cpp //compile error-price undeclared (first use this function) #include <iostream> //don't I have it declared in the float line?? #include <fstream.h> #include <stdlib.h> using namespace std; int main() //PROBLEM: Create an input file of recently shipped music CD's. The file should consist of // the name of the album, … Software Development c++ | |
When this program runs, I can enter in the name the first time through the while loop (using "cin.getline). When I go through the second time, it skips the name and asks to enter the ss#. The first time through, everything works fine. [code] #include <iomanip> #include <iostream> #include <fstream> … | |
Hi...I have created a private static main method which instantiates an array of 3 different types of objects depending on the choices entered in on the command line. Here is my code: public static void main(String[] args) { //creates local variable currentIndex //creates employee array of type worker which can … Software Development java | |
hi im purely a beginner and im trying to write a program that will allow us to see graphically the number of people of every diferent age range in a given community then it should show the results graphically. i have done mostly all of the code and i just … Software Development first-post pascal | |
Hi, I'm trying the Space Invaders tutorial ([url]http://www.planetalia.com/cursos/index.jsp[/url]). I'm on part 13, which divides the code into classes. I'm using JBuilder and when I do this, I get error messages saying that the class I put in a new Java file doesn't exist. I put the java file in the … | |
I everyone, I wanted to know if there is a way, when creating a TabStrip control, to make the tabs bigger? Because I'm creating a software that will be used with a touch screen and I want to use TabStrip, but the tabs are too small to be used with … Software Development visual-basic | |
Hi there I need to create a command line interface in java. I have something that connects to an oracle database and allows me to do a predetermined select steps. I need some sort of java code that will allow me to have a prompt: Which you like to do? … Software Development data-structure java oracle sql user-interface | |
Hi, I was wondering if there was a way to find open ports on a server. I'm trying to write a program that tells the user whether they have any open ports or not and if they do, which ones and how to fix them. Thanks. Software Development java | |
we need to write simulation program to imitate the behavior of a single CPU system that has a preemtive RR scheduler and the collecting data regarding the operation of the simulation, create a input file to represent process arrival and service times 30 0.7 54 17.28 . . this EXP … Software Development c | |
I am determined to learn assembly. However, I have stumbled upon a little confusion regarding boolean algebra. It seems that the author of the very fine documentation I have been studying hasn't explained a whole lot on boolean algebra symbols. I am learning HLA, and I am studying it from … Software Development assembly machine-learning operating-system unix windows-server | |
Hello. I'm just starting Assembly and I'm looking for both a good compiler/IDE or whatever is used and good tutorials to help me get started. Do you guys have any recommendations? | |
I'm trying to create class/header for my program which should calculate distanaces between cities declared by array "[I]use[/I]" plus arrays of there coordinates as you see in code below [CODE]// file line.h #ifndef LINE_H #define LINE_H const int cities = 6; class Line { private: string use[] = {"Phoenix", "Baton … | |
hi i am new to this forum and my major is computer science...this is the best thing i found on the web yet....i will try to help you out anyway i can.....i need help on this program...thanks 1. create a dynamicarray to hold the first 10 odd intergers. now create … Software Development c++ | |
I'm having trouble setting the paper size and the paper bin in the printer object. I've tried the following code. If cboPaperSize.ListIndex = 0 Then Printer.PaperSize = 1 Else Printer.PaperSize = 5 End If If cboPaperSource.ListIndex = 0 Then Printer.PaperBin = 7 Else Printer.PaperBin = 4 End If End If … Software Development printer visual-basic | |
Hi, This program supposed to ask the user to enter the names and the ID numbers and the number of children the employee have, the search shoud work like this taylar 845 3 john 123 2 sara 526 2 **search by name** the user should enter the employee name he's … Software Development c++ | |
These two languages, for the most part, are completely different; especially now. From culture to paradigm. So let's get a seperate C forum going. Software Development c++ | |
Hey all :) does anyone know of any good tutorials for java?? Ive already done the Invaders one and "Intro to computer science with java". please post with some good ones :) heres the Invaders one.. [URL=http://www.planetalia.com/cursos/index.jsp]here :)[/URL] Software Development first-post java java-jsp | |
hey all.. does anyone know how to make a decryter if so can you please tell me step by step :) thx Software Development java | |
How do I initialize an array that has been called from a file? There will be 5 values in the array. So should my file "input.dat" have: 5 (number of values) 4 (value) 6 (value) 7 (value) 2 (value) 7 (value) Example: BufferedReader br = new BufferedReader( new FileReader("input.dat")); and … Software Development java | |
I am new to XML/XSLT and have taken a fascination to XSLT. Please take a look at the following and let me know. ========================================================== <?xml version="1.0"?> <FAMILY> <PERSON name="Freddy"/> <PERSON name="Maartje"/> <PERSON name="Gerard"/> <PERSON name="Peter"/> <PET name="Bonzo" type="dog"/> <PET name="Arnie" type="cat"/> </FAMILY> This file is saved as family.xml ========================================================== <?xml … | |
hey all when i run this code : import java.awt.Canvas; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.event.WindowEvent; import java.awt.event.WindowAdapter; import java.awt.image.BufferedImage; import java.net.URL; import javax.swing.JFrame; import javax.swing.JPanel; import javax.imageio.ImageIO; public class SpaceInvaders { public static final int WIDTH = 800; public static final int HEIGHT = 600; public SpaceInvaders() … Software Development image java java-swing | |
Since nobody answered the thread on Binary File IO, I took a different approach. Now I'm having another problem. As I process a very large (>2GB) binary file, I store the byte position at certain points. Then, I reposition the file as needed. I store the byte positions in a … | |
HI. Hopefully I can resolve this now with your help. simply, I want to write a String to file. I have been trying it with fstream. The string comes in the form of AnsiString from a c++ Edit component. Can someone provide some code to do this. Since I cannot … Software Development c++ | |
when i read linux boot scripts, i often meet this expression: ${1:-}. i can't understand it. what's more, i don't understand this condition: [ -z "${1:-}" ] too. anyone can help me ? thanks!!! Software Development shell-scripting | |
Hi guys i was wondering how it would be possible to make a button enable when i chose an item from within a combobox?? this is in the C# language that is! Software Development ![]() | |
coming up in a week or so, I will be taking the AP Computer Science A Exam. I'm getting a little nervous about it. Has anyone ever taken this? What did you think about it? Anything in particular that I should really study up on? I have a book on … Software Development java | |
Studying Computer Science on Unix platform is ussually fun expect days when you get stuck. And life get [B]tough[/B], this is one of my tough days. To make life easier with my c++ programming I wanted to use the [B]make[/B] tool under unix. I have 5 fieles : - student.h … | |
Hye. i write this code to get inpur from user such as ram and hard disk capacity as integer type using structures. After that i want to create a file in which i want to save that data. In the code below it is getting input from user but not … Software Development c++ | |
HI I am trying to write and read to file. I am experimenting with a small piece of code before going onto my main program. I am simply trying to write a float variable and a String variable to file using fstream. The variables are float version; Edit1->Text (this is … | |
[php]#include <iostream> using namespace std; class Wheel { public: Wheel(int size); int getDiameter(); protected: int diameter; }; Wheel::Wheel(int size) { diameter = size; } int Wheel::getDiameter() { return diameter; } class Bike : public Wheel { public: Bike(int f, int b); int getFrontsize(); int getBacksize(); bool operator==(Bike ); private: Wheel … Software Development c++ | |
Reference reading directly related to this post: http://www.math.princeton.edu/matalive/Error/index.html http://www.math.princeton.edu/matalive/Error/index.html http://www.math.princeton.edu/matalive/Error/ErrorLab2/LZCompressor.html http://www.math.princeton.edu/matalive/Error/ErrorLab2/LZCompressor.html Hi all. I've just started learning the ways of compression. I decided to start with the LZ algorithm. The resource I use is: http://www.math.princeton.edu/matalive/Error/index.html http://www.math.princeton.edu/matalive/Error/index.html I understand the fundamentals of parsing the incoming text. Let's call the container that … Software Development algorithm c first-post | |
what is the header to time code isnt it; #include "pctimer.h" i keep gettin an error saying no such thing Software Development c | |
Hi, I really need some help. I need to write a structure to disk in c++ builder. I have been trying now for a couple of weeks and I am now about to give up. I have tried fread,fwrite etc. fstream as well as TFileStream with no luck. I have … Software Development c++ | |
i have written a console application in c using borland c++. i want to include mouse capabilities in the program ie. run the program using the mouse just like in norton disk doctor(dos-based version). any help? :?: Software Development c++ | |
The application I am writing involves creating a dos batch file and executing it using the 'Shell' command. The batch file is used to zip up multiple files. The zip file that is created is them emailed. :?: My problem is - creating a pause within the application so the … Software Development visual-basic | |
Greeting , it will be helpful if any one can provide me with Round Robin algorithm code in c/c++ thanks in-advance | |
can any one provide me with the round robin algorithm code in c/c++ hurry up!!! | |
Hi everyone! I am trying to develop an application to communicate with a Microsoft Acces database. For doing that I import the java.sql package to use the DrvierManager class to get a connection. The problem seems to be the application doesnot find the java.sql package. I have the 1.4.2_08 version.. … | |
Can anyone tell me why this is printing doubles out to the output file? [CODE] IndexFile.seekp(20, ios::beg); for (i = 0; i < NumOfSlots; i++) { if (RandomFile.peek() == 42) { Position = i; RandomFile.seekg(37, ios::cur); //cout << Position << " "; } else if (RandomFile.peek() != 42) { RandomFile.get(R.SSN, … | |
I write the folowing code which is taking RAM and Hard disk capacity from user by using structures and than saving it to a new file after the user complete entring data it is displaying data entered by the user by opening that file. Problm is that i want to … |
The End.