132,729 Archived Topics
Remove Filter ![]() | |
I am workring on a program that can simulate an array of disks and from an event list, record their mean time to failure (mttf), mean time to repair(mttr) and stop the program when it encounters dataloss. so we would also need to record the mean time to data loss … | |
i want to ask if any one could help me with this Q how to approximat a square root???????? PLZ help me i want example Software Development c | |
here's the program i'm trying to run, but everytime i press ctrl+f9.. i get the error in that picture below.. [code]#include<stdio.h> #include<graphics.h> #include<dos.h> #include<conio.h> #include<stdlib.h> main() { int choice; clrscr(); printf("Please choose a version you like: "); printf("\n<1> Random lang\n"); printf("<2> Moribund...\n"); scanf("%d", &choice); switch (choice){ case 1:{ ran(); break; … Software Development c | |
Why does (start+last)/2 work to calculate the midpoint while start+(last-start)/2 does? To be more specific, I put the contents of a binary tree into an array, sorted it, destroyed the old tree, and plan to rebuild the new one. I know that start+(last-start)/2 as a midpoint calculation works correctly. My … Software Development c++ | |
Hi , i''m Smith. I want to know more abou C pointers . And its use in C. Friends, those who are interested in this topic please give me good idea . First of all i want to know About basic things about pointers. What is a C pointer? And … | |
[b]***Header Files:[/b] [b]Point.h[/b] [code=c++] #pragma once #include <iostream> using namespace std; class Point { private: int x; int y; public: Point(void); Point( int x, int y ); Point( const Point &xPoint ); ~Point(void); void setX( int x ); int getX() const; void setY( int y ); int getY() const; Point … Software Development c++ visual-studio | |
Hi again, new assignment is to creat a spynetwork (where does he get his ideas?) anyway the program is supposed to take a code (i.e. caesars code) as a list of 2 lists, store the code (i've used a table for mine) then use it to decode and encode messages..... … Software Development | |
Hey, I have started working with I/O file streams using my 'problem solving with c++' book, I am not sure where the .dat file goes in MS Visual C++ or how to make it for that matter... Also is this code correct? I am getting strange errors... I am trying … Software Development c++ file-stream file-system | |
Hello friends , i am jimm . I have some doubts regarding Java Basics. If anyone interested in Java basics..please help me out to find out the answers. What is a java source file ? can you please describe ? Software Development java | |
hi all, in the below code is used to open a file with its corresponding application.the file with application is opening but the data is corrupted. pls help to open the file without data corruption. advance thanks <% // fname is the file name String filePath=savefile; File f = new … Software Development file-stream file-system java pdf | |
Hi all , I had created a Document using jTextPane which I will use as a Template to create customize ones . For eg : I will create something like this in a Document using jTextPane Hi [B][I][U]<name>[/U][/I][/B] and I will open this Document in another jTextPane to replace <name> … Software Development java | |
Hey i want to create a [B][U]vector[/U][/B] in order to store circles in it. i did something but im getting a warning error "java uses unchecked or unsafe operations" if anyone knows whats going wrong let me know thanks in advance! [CODE] import java.util.Vector; import java.awt.*; import java.awt.geom.*; public class … Software Development java | |
hi every1 , i need a help pls on how i can make an installation form for my project, i mean, like when a burn my project on a CD, then after installing it, there will be a installation form(it will auto run), then that form will store the project … Software Development visual-basic | |
Hi. Hi My program takes the user input of the location where the directory need to be created. I found Windows API: CreateDirectory() but then for Linux i need to write some other function. Is their any function which can work for both operating systems. Kindly help Software Development api c++ operating-system windows-api | |
Hi How should i identify the operating system on which my program is running in c++. Kindly help Software Development c++ operating-system | |
Hello everyone, please i am new to progamming in general and i have a project to submit this friday i have been trying to find a way to write the codes but all i keep getting is errors and another problem is one of the program i have to write … Software Development java | |
Is there are different between List x; and List x(); in C++ Software Development c++ | |
Hi I have written an application that runs in a window about a quarter of the size of the screen. If I have another window open on the screen at the same time and then drag that program across my application it looks like everything in my application gets wiped … Software Development vb.net | |
Hello to everyone :) I'm new here :) I have some problems with MIPS, I would like to aks for help or advise, how to copy/move content of the normal register of CPU unit (register like $t0,$t1 and so on) to FPU cooprocesor (register $fp0,$fp1) I have in register $t0 … Software Development assembly | |
I've just started a C++ class so I am a total beginner at this. I am having a problem figuring out how to pass by reference, and pass by value using the enum data type. The data types are as follows: enum suits {hearts, spades, diamonds, clubs} enum cardValues{two=2, three, … Software Development c++ | |
Hi I have this code here and I was wondering if anyone can explain to me how it works... I see the output and all but I get lost from sub2 to sub3 [code] #!usr/bin/perl my $a = "one"; my $b = "two"; my $c = "three"; my $d = … Software Development perl | |
Im am making my first game and one of the files just won't compile. I keep getting this error whenever I try to compile this file (this is only the problem part): [code] if (answer[0] == 'y') { if (player->GetGold >= 10) // PROBLEM { player->SpendGold(10); cout << "You find … Software Development c++ | |
hi jerry thanks for dropdownlist, but i got another problem regarding updatating a profile of a login member, i created a storedprocedure for login information just look at my codding CREATE PROCEDURE sp_UserValidation ( @Username varchar(50), @UserPassword varchar(20) ) AS IF EXISTS (SELECT UserName FROM LogIn1 WHERE UserName=@Username and UserPassword=@UserPassword) … Software Development open-source | |
I am working on an IDE for a specific language. One of the features that I want to implement is syntax high-lighting. The way I plan to go about it: When the user presses a key, a function is called with the entire line that the user is editing as … Software Development ide open-source python | |
"An attempt to call a field (rather than a method)" What is the difference between these two??? simple english please I'm confused enough as it is! Software Development | |
I'm wiring a program where I have a file with city, state, population size laid out as follows; 24 El Paso, TX 577415 Indianapolis, IN 783612 Detroit, MI 925051 Fort Worth, TX 567516 Los Angeles, CA 3798981 Washington, DC 570898 etc... with 24 being the number of elements in the … Software Development c++ file-system ios | |
Hello, I've nearly finished writing a program that converts Roman to arabic numbers, but i've run into a problem to do with the "Batch Mode" of the program. The batch mode involves asking the user to type in the file name (a text file) which contains Roman numerals that need … Software Development c++ file-system | |
Hi. Can someone help. I'm working with a list (not a listBox) I have a list of staff called staffList and add a new staff member as staffList.add(staff), where staff is an object containing the staff members name and salary. I have a staff class and a staffList class for … Software Development vb.net | |
Hello, im trying to make a function that can paint a box of any size (and colour, using any ascii char) to the screen in order to make a game in asm. My problem is, when i try to make it print just one full line, it dosnt seem to … Software Development assembly | |
Hi, I am trying to write a linux code which will listen on a UDP port and revceive messages from Zyxel modems. (Zyxel modems have a remote packet tracing feature which uses UDP) I achieved most of the task. The received packet is assigned to a string (char[1024]) variable. But … Software Development c++ | |
Am trying to write a structure to store weather data for a particular month. total rainfall High temp Low temp Average temp Am trying to calculation but not getting anywhere. I need help please. (1)Not sure how to add the 12 rainfall to get the total rainfall and the average … Software Development c c# c++ data-structure | |
Hello, I'm trying to use [URL=http://mediainfo.sourceforge.net/]MediaInfo[/URL] library in python via ctypes. I tried this code: [CODE]import ctypes milib = ctypes.cdll.LoadLibrary("mediainfo.dll") handle = milib.MediaInfo_New() milib.MediaInfo_Open(handle, "D:\temp\video.avi") [/CODE] Unfortunately the last line complaints that there are not enough parameters for that function. I based this on a sample Delphi code, which is … | |
hi..can u help me give an info on how to load an image(eg. .bmp,.jpeg etc) in c++ turbo and display it into 2D array.thank you so much for the help..really appreciate it. Software Development c++ | |
hi all, I am new to this site and hoping to get a solution to my problem.I am using ethereal to capture the packets in the network and the file is saved as .cap file.now using c prog i should filter out only dns packet in that file.can any one … | |
Hey guys first time learning VB6 and i have to do a Hangman project for my Gr 10 class But i need some help. I am have trouble figuring out how i make the dashes come out in my label box when someone inputs a word. Like say someone inputs … Software Development visual-basic | |
[code=c++] #include<stdio.h> #include<conio.h> #include<alloc.h> #include"C:\windows\desktop\input.h" #define MAXBITS 32 #define MAXNODES 512 #define MAXSYMBS 256 int hmin(void); void hinsert(int,int); //First structure struct codetype{ int bits[MAXBITS]; int startpos; }; //second structure struct nodetype{ int freq; int father; int isleft; }; //The structure defined typedef struct hlist{ int pos; int hfreq; struct hlist … Software Development c++ data-structure | |
I am trying to implement heap in CLisp. I have already done it by makin a linear data strcuture with no left / right pointers. But now I want to use a nested list format which contains (el () ()) at the highst level. The problem I am facing with … Software Development | |
hi all, I am trying to design a game app that uses a swing gui as a main menu. so far I have been a little confused as to how I get my 'start new game' button to actually launch the game. I have googled event handlers and cannot seem … Software Development gui java java-swing | |
I have a class that fetches a record but dont think I need to use List object because I am fetching one record and not an array of records. [code=java] public List getRecords(){ ResultSet rs = null; Statement stmt = null; Connection connection = null; List rows = new ArrayList(); … Software Development java | |
Could I run a java program without installing the java vitual machine on the computer?If yes how could I do it? Software Development java | |
i have sorting program, it works well when coded in simple way but when used recursion it give the floating exception (core dumped), it have tries to debug and it show error in the division stage, it tires to do typecasting also, but does not work out for recursion [code=c++] … Software Development c++ | |
hello i would like someone to help me to create a code in C for prompting a user to name a text file and then open it please help me ASAP thank you. Software Development c | |
hi all i have a integer array of fixed max size(assume 100). But the actual number of stored integers are less than max value(assume 50).Because it is change dynamically. How can i get the actual number of integers stored in the array. regards wijitha Software Development c++ | |
my teacher said that it is easy to learn jave when you already know how to program in c++.. why is is it so? whats the difference and similarity of both languages... thanks.....:-/ Software Development c++ | |
Hi All, I want to know how to start the VB.Net programming for AutoCAD customization? My requirement is I've to develope some GUI screens where the user will provide all the inputs which is needed to draw a layout. The GUI screen also caontains some user controls which I can … | |
can you please help me how to convert characters to binary... for example: you have to convert the word "hello world" to its binary form... i dont know how to do... can you please give me some advice... Software Development c++ | |
I have made a program and published it using vb 2008... this program saves various values in a txt file.... but when i open the folder where the program is installed there is no txt file.... Sois it safe to store and retrieve passwords from a txt file?? Think it … Software Development visual-basic | |
hi, i can't seem to a.out the program for some reason. When i type in a.out, the cursor just stays there. I think it goes in a infinite loop. I am trying to read two text files and then putting the atomic number in order. what seems to be the … Software Development c | |
Dear Sir I am new in vb. I am facing a problem. I create table in Access. where(ID, Name, Salary) field is there. I Make front page with VB.6 now i want to input data name, salry. ID should be generated by machine increased one by one. How i will … Software Development visual-basic |
The End.