132,726 Archived Topics
Remove Filter ![]() | |
ei guys help me... im stock from this error tnx.. Software Development visual-basic | |
just in case someone does not know what mode is it is the number that appears most in a set of numbers The output of the following program is messed up( not just the mode but other parts of it too). It compiles but the output is not right. Her … Software Development java java-swing | |
I'm attempting to write a directory monitor in java but I'm stuck. I'm trying to find something in Java that is like FileSystemWatcher in .NET but I don't think java does. From what I read is that you have to continually poll the directory for changes. What I would like … Software Development java | |
I am developing an application in which i want to set up ServerSocket's port on requirement. I have given an interface which accepts port number and this port number i want to assign my previously running serverSocket but serverSocket.accept() method blocks and I am unable to execute the code after … Software Development java | |
Hi, I'm still pretty new to socket programming and I'm using Fedora Core 5. Currently I need a simple IPv6 client to send text messages to an IPv6 Server. From some sample codes that I have gotten, it could work in IPv4, but the code could not work in IPv6. … Software Development c++ client-server socket-programming | |
hi again! this time im tasked to create 2 data structure types: RationalNo and RationalInfo. The structure for RationalInfo consists of RationalNo as a nested structure and a few other functions. RationalNo is an array with fixed size. but i got no idea how to even begin and populate the … Software Development c++ data-structure | |
i already check the threads about how to make an autorun but now i cant see it anymore. and i think that dani got that post... any one can help me... thxxxxxxxx Software Development visual-basic | |
A code is ambiguous when there exists a message using that code that can be partitioned into different sequences of code words. In other words, in an ambiguous code a message may have more than one meaning. For example, consider the binary alphabet, composed of symbols {0,1}. For the code … Software Development java | |
Hello Any Can tell me the service numbers for getting following information i have seen Ralf Brown's Interrupt List [url]http://www.ctyme.com/rbrown.htm[/url] but i did not get proper information or don't get proper information with this list Processor Information (vendor ,family name,speed etc) , Disks Attached, Floppy Size Haroon Idrees Software Development assembly | |
I want to make simple C Program which show current directories and files like dir or ls .This should be use interrupt for getting current directory and its subdirectories and files.Help me to make this program. I Saw 21h interrupt with its service 47h and 4Eh . Thanks Software Development assembly | |
How to correct it , at line 84. Error executing cl.exe. error C2447: missing function header (old-style formal list?) [code=C++] /*--------------------------- Filename : ConflictMatrix.cpp ---------------------------*/ #include <iostream> #include <fstream> #include <iomanip> #include <string> #include <vector> using namespace std; struct student { string studentid; vector <int> examcode; }; int main() { … Software Development c++ | |
I have 2 Forms in my Windows Form application. Form1 creates .txtfiles. I open Form2 from Form1 and can see the .textfiles that is created in a comboBox3. If I open the application from the beginning and go to Form2 I will see all .txt files that exists in a … Software Development c++ | |
Hello - I'm a brand new student of programming and I'm needing help. I'm stonewalled. I've got an assignment that requires me to create a class named Dice that another program will use to roll dice. The instructions are: - The class must be named Dice - A method named … Software Development java | |
Hi guys. First post. I have to write a program that allows the user to input his or her name. If the user type all lowercases the program should be able to convert to first letter of the name to uppercase. Also, if the user press "enter" without entering the … Software Development java | |
Hi guys/girls i need help on my black jack code a.s.a.p. i got some of the code done but i don't think its right Dim a() As Integer 'Declare a as integer Dim c As Integer 'Declare c as Integer Dim inx, secc, k, levl, tm, totl, rund, rund1 As … Software Development vb.net | |
My assignment requires me to demonstrate composition in my source code. I completed my code and worked out all the bugs but at the end where I display the date, I doubt that constitutes composition. Here the question: [QUOTE]Create a system that maintains information on drivers' licenses. The system must … Software Development c++ | |
Can you help me with this?? The total will be displayed only when the user type [U][B]-1[/B][/U]. And it will continue looping if you will not type [U][B]-1[/B][/U]. And it will also continue to add the total(that will be displayed only if you type[U][B] -1[/B][/U]). [code=c++] import javax.swing.JOptionPane; import java.text.DecimalFormat; … Software Development java-swing | |
Hello, I am pretty new to C++, and I have a question: I am, and have been using Dev-C++ I used this code, to delete a text file on my desktop. The first time around, it worked perfectly. Given the file example name of "dafile". #include <stdlib.h> // needed to … Software Development c++ | |
hello, my head has been spinning around a way to do this. the best way to describe it would be with psudo code so... ReplaceLine (string file, string keyword, string str) { open file "file" search for first line containing keyword "keyword" replace that entire line with string "str" save … Software Development c++ | |
my teacher gave me an assignment to complete the blackjack program but I have little understanding of it. I have the majority of it but i'm missing pieces. [B]NOTE: All of the sections where it says TO DO are the missing pieces.[/B] PLEASE HELP. [code=c] #include <stdio.h> #include <stdlib.h> #include … Software Development c | |
my question is how can i make my program not to display any unique combination more that ones? //*****f04.cpp***** //Name: //Date: 02 - 17 - 08 #include <iostream> using namespace std; int main () { // #1 int a, b, c; for (c = 1; c *c <= 100; c++) … | |
Does anybody know what class function is for checking if a string has any letter in upper case? string FirstName_LastName any function return the idex of char[] that is upper case ? thank you Software Development c++ | |
Hi! I need help on writing a program that puts 10 "char" values into an array, the program have to sort the values of the array into ascending order. Sample output: Array before sorting: Array[10] = [ E, F, Y, R, Q, A, T, O, W, X ] Array after … Software Development c++ | |
I need help on how to properly combine two programs into a single program. This is the first program: [code] int main() { FILE *input, *output; char doc; input = fopen("input3.txt","r"); output = fopen("output.txt","w"); while(!feof(input)) { doc=fgetc(input); if(doc==EOF) break; else { if(doc==';') { while(!feof(input)) { doc=fgetc(input); if(doc=='\n') goto out; } … Software Development c | |
hi,I have a problem here. [CODE=cpp]#include "stdafx.h" int main() { int speed, dist, time, force, mass, masss, accel, velo, moment; int choice, choose; char pilih, pick; do{ printf("\t\t\tWelcome to Physics (Force and Motion)\n"); printf("\t\t***************************************************\n"); printf("\t\t\tCHOOSE SECTION\n\n"); printf("\t1. FORCE\n"); printf("\t2. SPEED\n"); printf("\t3. MOMENTUM\n"); printf("\t4. END\n\n"); printf("Choice: "); scanf("%d", &choice); switch(choice){ case … Software Development c | |
can some one provide me a sample programe in vb.net which can just save, edit, search and delete records. thanks riaz Software Development vb.net | |
Allright, this is the deal, im trying to use Install Sheild to install a program I wrote in java. But I cannot make shortcuts on the desktop and/or START menu linking to the .jar file, it has to be a .exe file, so I need to make a simple .exe … Software Development c++ file-system | |
Can you help me with this?? The total will be displayed only when the user type -1. And it will continue looping if you will not type -1. And it will also continue to add the total(that will be displayed only if you type -1). import javax.swing.JOptionPane; import java.text.DecimalFormat; public … Software Development java java-swing | |
I've been trying to convert my code from using iostream to fstream but seems the output file is always empty.. this is my original code [CODE]#include <iostream> #include <cstdlib> #include <ctime> #include <iomanip> using namespace std; struct RationalNo { int RatNo [20]; }; struct RationalInfo { RationalNo rational; int quotient; … | |
Hey, so this is killing me, I have a class category, and the equals looks like this: [code=java] public boolean equals(String s){ return s.equals(name); } [/code] this is because i have an arrayList of categories, and i want to do: [code=java] int i=catList.indexOf("some name"); [/code] but it always returns -1... … Software Development java | |
I am having all kinds of problems with my assignment. I have worked on it for hours and cannot get it to work properly. I am new to programming and it gets frustrating very fast for me. Here is the code I am currently working and i have attached my … Software Development c++ | |
Hi I want to know is it possible to connect C with VBA . And can you please give me the link of some explain or you can by your self . So my question is how to connect C and VB 6 . Thank you for your effort of … Software Development visual-basic | |
I'm trying to use the switch function to compute the resistance of resistors. Basically, a person types in 3 letters, each representing a color; each color has a different value. Then v throws back the resistance by going through the equation. This is what I have so far. [code=c++] #include … Software Development c++ | |
I am to make a program that finds the value of a resistor after inputting 3 letters those letters of are of the color on the resistor. i have written a program to do so but the value does not follow the equation. I am not sure if the program … Software Development c++ | |
I've created a web browser (similar to the beginners project) with the following items: [LIST] [*]1 Text Box (for url entry, with "enter" support) [*]4 Nav buttons (Forward, Back, Go, Home) [*]1 Tabcontrol holding 2 tabbed pages[/LIST]Question: How do I get TabPage2 to navigate to the entered URL? Currently, only … Software Development google vb.net web-browser | |
can we make any control(like edit box) as the standard output device so that the result of the process can b directly shown in that particular edit box without any interaction ..............i think it is possible when we run the procees using createProces() and pass appropriate arguements.......but i am not … Software Development c++ | |
Hello I'm in a begginer C++ programming class. I don't understand stand my teacher. I'm looking for some help with this program. Its suppose to check if the date is valid, if the date is valid it should output the, if not then it shoud automatically loop back to the … Software Development c++ | |
Could someone help me please? I can’t get it to work, and it wouldn’t show me salary in two significant digits for example Enter # of hours worked (-1 to end): [B][COLOR="Red"]41[/COLOR][/B] Enter hourly rate of the worker ($00.00): [COLOR="red"][B]10.00[/B][/COLOR] Salary is [COLOR="red"][B]$415.00[/B][/COLOR] Enter # of hours worked (-1 to … Software Development c | |
hello! im trying to rotate a tbitmap image using scanlines, and cant figure out how to do it! ive go it working moving pixel by pixel but i want to be able to speed it up using scanlines. im using borland 6 C++, and doin some reasearch they (borland) gave … | |
Hello, I'm very, very new to C++ and I'm taking computer science course right now for fun. I really want to learn C++ but I'm having a lot of trouble with this new homework assignment and I'm hoping I just take it one step at a time so I completely … Software Development c++ file-system | |
Can any give me an example of c++ that ejects out the cd drive(where the cd/dvds are intserted). | |
I am looking for a front end/graphical user interface(GUI) in linux which supports C language as backend. Software Development c gui user-interface | |
is there any advantage in using int main() over void main()?. and when you return a value in int main(), where does the returned value go? Software Development c++ | |
Hi guys, I need a little help in my assignment. Got it down to the last part but I don't really get recursive functions. [code=language] #include <iostream> #include <ctime> using namespace std; void constructArray (int [], int); void swapArray (int [], int); int printArray (int [], int); const int MAX … Software Development c++ | |
Develop a program that will determine the gross pay for each of several employees. The company pays “straight time” for the first 40 hours worked by each employee and pays “time-and-a-half” for all hours worked in excess of 40 hours. You are given a list of the employees of the … Software Development c | |
Hello, I'm using a askdialog box from tkinter with a form. My problem is when I use "print" or "return" to get the selected directory it prints it to the terminal (if open) and I would like it to print to an Entry textbox. For example: [code=Python] from Tkinter import … | |
Hi guys, I need some help with arrays. [ICODE] #include <iostream> #include <ctime> using namespace std; void constructArray (int [], int); void printArray (int [], int); const int MAX = 30; int sizeArray = rand() % MAX; int main() { srand(time(NULL)); int makeArray [sizeArray]; constructArray [makeArray, sizeArray]; printArray [makeArray, sizeArray]; … Software Development c++ | |
I have a problem in my programming ....kindly help me...how to implement this problem.... Make a Java application that will create and implement the following: Global data: static int[] num1 = new int[10]; static int[] num2 = new int[10]; static int[] num3 = new int[20]; Methods: //arrNo value is either … |
The End.