132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ITapprentice

I'm back and I 've changed my code around a bit. I almost have it compiling except for one error that says there is a syntax error before inFile my struct that will hold my arrays. It's in the second for loop. I think that I have my struct declared …

Software Development c
Member Avatar for Aia
0
117
Member Avatar for othz08

can someone give me the code that will ask the user to enter a 5 numbers and sort the numbers or dsort it pls help me thx^_^

Software Development java
Member Avatar for othz08
0
128
Member Avatar for venomlash

How do you define operators in JAVA? (Can you???) [prettyplease] help? [/prettyplease]

Software Development java
Member Avatar for Ezzaral
0
148
Member Avatar for conan19870619

>>>is there any limit/constraint on the maximum number of nodes that a linked list can have? >>>a linked list does not have to be implmented with a pointer. what else can be implementeation of linked lists? >>>how can a singly linked list be implemented so that insertion requires no test …

Software Development c++ linked-list
Member Avatar for conan19870619
0
136
Member Avatar for gaming_geek

Just for notes, I'm using VisualStudio 2003. I'm working on a program that's supposed to make the Muller-Lyer illusion. I've got all of the coding done, but now when I try to run it all I get is a load of errors. First, it starts to compile the program and …

Software Development c++
Member Avatar for Sturm
0
117
Member Avatar for Mr.UNOwen

Can someone tell me why jar command is not recognized? I copy and pasted all the solutions I've seen from other websites and none of them work. Here's what I have as of now... PATH: C:\Program Files\SSH Communications Security\SSH Secure Shell;C:\Program Files\gcc\bin;C:\Program Files\Java\jdk1.5_04/bin CLASSPATH: .;C:\Program Files\Java\jre1.6.0_01\lib\ext\QTJava.zip;C:\Program Files\Java\jdk1.5_04\bin Path : %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program …

Software Development java
Member Avatar for Ezzaral
0
155
Member Avatar for m_meena

Hi, during the build of my code, i m getting the following error error LNK2001: unresolved external symbol __imp__QueryServiceStatusEx@20 i have included the library file advapi32.lib in project --> settings. but still the error is same. any pointers?? TIA

Software Development c++
Member Avatar for toko
0
67
Member Avatar for vinutha1309

Hi I am doing a Messenger Project where i have to add send file feature also without using Internet i am trying through FTP .In control Panel from adminstrative tools i opened IIS in that default FTP->properties->security accounts there is a default password,which i cannot change.So plz help me in …

Software Development java
Member Avatar for jwenting
0
64
Member Avatar for alexasmith

I am in a beginners java class and I have an assignment that is really difficult (for me). the assignment is to prompt the user to enter a person's full name in the order: first middle last. Output will include: the prompt the original name the name in the form …

Software Development java
Member Avatar for peter_budo
0
146
Member Avatar for pprabhakar

i want some information ab function pointers , just how it will work ,addvantages osf function pointers

Software Development c
Member Avatar for Narue
0
107
Member Avatar for volscolts16

In this experiment, people take turns playing and you can delete or add players, Seem to have a couple of issues left, not sure how to work out. One of the problems is the display, the other is a class interface. Need any help or suggestions I can get. Thank …

Software Development java linked-list
Member Avatar for Ezzaral
0
291
Member Avatar for restrooms

Pls Help Me On Doing My Project. A Simple Game Using Java And I Need The Program. As Soon As Possible Thanks A Lot For Who Can Help Me.

Software Development java
Member Avatar for Ezzaral
0
77
Member Avatar for dkdeleon68

I need to Modify the Inventory Program by adding a button to the GUI that allows the user to move to the first item, the previous item, the next item, and the last item in the inventory. If the first item is displayed and the user clicks on the Previous …

Software Development gui java java-swing
Member Avatar for Ezzaral
0
631
Member Avatar for cmymazda

Hello, I am trying to figure out how to correct my errors. I am new at this and this is due today. The actual assignment is .... Modify the Inventory Program to include an Add button, a Delete button, and a Modify button on the GUI. These buttons should allow …

Software Development gui java
Member Avatar for peter_budo
0
140
Member Avatar for hawisme000

hi there . tried many time on doing the project , the problem is i dnt know how to get a random data on a cell, i need the syntax on the form_load event, ive attached the form im workin with, ive googled for soo many hours but cant find …

Software Development visual-basic
Member Avatar for yello
0
127
Member Avatar for louise07

anybody here who could teach me how..or the function on printing an output file in linked list..

Software Development c++ linked-list
Member Avatar for louise07
0
90
Member Avatar for koolboy

[code] int main() { cout << "This Program was written by Nehal Shah\n" << endl; int num, total; cout << "Please enter an integer number:\t\t\t"; cin >> num; while ( num < 0 ) { cout << "\t********************************\n"; cout << "\t********** ERROR *************\n"; cout << "\t********************************\n"; cout << " --------------------------------------\n"; …

Software Development c++
Member Avatar for ChaseVoid
0
195
Member Avatar for kehar

Hi I have used three combo box in VB 6 form one for selecting date one for month and one for year. If the selection is say 12/07/2007 then I need it to be converted as 12/07/2007 under one field i.e date field of access database. So how can I …

Software Development visual-basic
Member Avatar for hopalongcassidy
0
114
Member Avatar for jyovasinedu
Member Avatar for jyovasinedu
0
92
Member Avatar for swarnamalya
Member Avatar for masijade
0
61
Member Avatar for stargazr

how to declare dynamic 2 dimensional array in vb with one of the bounds variable .. [code] dim x(1 to i,1 to 4) as variant 'i is a variable [/code]

Software Development visual-basic
Member Avatar for shasur
0
396
Member Avatar for nuBudDy

hi all, i have problem creating queries in access.this is because i do not know how to call the value from a variable in vb into the query in access. let say in vb i've created : [code] Public booking_date As Date Public fac_type As Integer . . . . …

Software Development visual-basic
Member Avatar for kehar
0
164
Member Avatar for someguy88

What im wondering, is because im making a little text adventure game, and i have to write lots of descriptive writing and i would like it all to stay together in a paragraph. But the only way of getting that on output that i know of is to just have …

Software Development c++
Member Avatar for someguy88
0
99
Member Avatar for Duki

here's my printing code: [code] Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage Dim printlinestring As String Dim horizontalPrintLocationSingle As Single Dim verticalPrintLocationSingle As Single Dim printfont As New Font("arial", 12) Dim lineheightsingle As Single = printfont.GetHeight horizontalPrintLocationSingle = e.MarginBounds.Left verticalPrintLocationSingle = e.MarginBounds.Top PrintPreviewDialog1.Document = PrintDocument1 …

Software Development vb.net
Member Avatar for Duki
0
150
Member Avatar for Llama

ok, so I have read some tutorials on file streams, but i am still confused. I have made a program that edits a .txt (inputted by user) file, but my goal is to search an entire file for a string, and every time the string its found, I want it …

Software Development c++ file-system
Member Avatar for Llama
0
118
Member Avatar for illicit

I've got a real stupid question. I haven't used vb in a while and am a little rusty. I want to lock a panel to a window so when the window grows so does the panel etc. or image whatever where can this be found..im using 2005...I'm sure it used …

Software Development vb.net
Member Avatar for illicit
0
82
Member Avatar for gomickle

I have been working on this assignment for couple weks (aling with my other classwork) and I couldn't get it anywhere, can any one help me doing it. Or can you at least tell me hints and tips toward resolving the program: the question is: The element selection problem is …

Software Development algorithm assembly
Member Avatar for MacGyver Orca
0
1K
Member Avatar for Duki

Hey everyone, I have an assignment to work on and it's a bit confusing. Here's the problem: [quote]Using dynamic arrays, implement a polynomial calss with polynomial additions, subtraction, and multiplication. Discussion: A variable in a polynomial does nothing but act as a placeholder for the coefficients. Hence, the only interesting …

Software Development c++ matrix-multiplication
Member Avatar for iamthwee
0
162
Member Avatar for eeneilson

How do you incorperate sound files into a C++ program?

Software Development c++
Member Avatar for daniweb2013
0
354
Member Avatar for stargazr

i want to pass 3 parameters to my data report in VB 6. [code] Private Sub DataReport_Initialize() DataEnvironment1.Command1 (Form1.txtregno.Text,form1.cstd.Text,form1.cinstlno.text) End Sub [/code] i am getting compile error. expected '=' plz help..

Software Development visual-basic
Member Avatar for stargazr
0
122
Member Avatar for loimarie

hi, can anybody give me an example of a memory resident program using assembly.I'm going to make it a reference for our project that is to produce a sound out from the pc's built-in speaker.please...

Software Development assembly
Member Avatar for loimarie
0
264
Member Avatar for ITapprentice

I've seen tons of examples, but I can't seem to find what I need. I'm pretty new to programming, only been doing it for 9 months. Here's what I'm trying to do. I'm loading a file with the below info. 12 Item1 15 1 Item2 10 1 Item3 1 2 …

Software Development c file-system
Member Avatar for iamthwee
0
2K
Member Avatar for BadBoy5537

#include <iostream> #include <cmath> using namespace std; int main() { // Declare constants and variables const double ACCURACY = 0.00001; double x, factorial, ex_approx, ex_funct, curr_term; int terms, i; // Read value of x for exp(x) calculation cout << "Enter the value of x you wish to use for exp(x) …

Software Development c++
Member Avatar for iamthwee
0
94
Member Avatar for laoballer

hello all, I'm new to c++ and am currently reading the book "C++ how to program" by Deitel. I'm working on exercise 7.15 from his book and am just stuck with the problem. Use a one-dimensional array to solve the following problem. Read in 20 numbers, each of which is …

Software Development c++
Member Avatar for Narue
0
120
Member Avatar for koyong

[code=c] #include <stdio.h> #include <string.h> typedef struct { char item[50]; int date[15]; float price[5]; int amount[10]; float total[10]; }EXPENSES; EXPENSES aExpenses; int getOption(); void input(); void viewAll(); void del(); void edit(); int main (void) { int done = 0; int option; //while (!done) option = getOption(); if (option == 5) …

Software Development c
Member Avatar for hilia
0
271
Member Avatar for imonriddilin

for my c++ class we are writing a simon program (the game where you have to remember and follow the pattern given to you). each turn the program outputs either r, b, g or y to the current pattern (output should look like this: turn1: y 2: yg 3:ygy 4:ygyr …

Software Development c++
Member Avatar for n.aggel
0
130
Member Avatar for louislam123

I have several drop lists on my form, with either numbers or names on them. I want to change it so each item on the drop list has a certain "value" to it. For example, if a was "1" on my first drop list and hello was "23", wen I …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
115
Member Avatar for leovicAustria

Hi, Can anyone help me with this..!!! I found an error stating that "Unrecognized database format" How can I solved this..I am currently using VB to link my MS access 2000 database using DATA object, Please help me..Thanks..

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
121
Member Avatar for pawan_1983

i am creating chat application .can anybody tell me how can i know who is on line on the server and how can i communicate with on line members. thanks for help

Software Development java
Member Avatar for jwenting
0
195
Member Avatar for cbgreene9185

I'm trying to write a program for my c++ class that takes binary numbers and converts them to decimal. I have programmed this all fine and dandy, but I'm having trouble with my EOF statement. The program requires that I use 3 functions, the first being to prompt user for …

Software Development c++
Member Avatar for Ancient Dragon
0
94
Member Avatar for curt22

I'm working on a simple program. It will compile,but whenever I press the delete button a message pops up and says it needs to close. I looked at the error details and It's error code was 0xc0000005. This is where I think the problem is: [CODE] for(i= 0; i < …

Member Avatar for Ancient Dragon
0
143
Member Avatar for louise07

[COLOR=Green][B]need help with my java calculator, about the key listener. its allows me to input using keyboard. but the answers are always "ERROR".. but when i try to use the mouse. it works fine. having problem with the keylistener. please help CALC [/B][/COLOR][code] import java.awt.*; import java.awt.event.*; import javax.swing.*; import …

Software Development gui java java-swing
Member Avatar for louise07
0
240
Member Avatar for louise07

NEED help please. here's our code. We wanted to print its output file. what function will we use? how will we do it? .We wanted to add printing in the menu.thanks [code] #include<iostream.h> #include<stdlib.h> #include<conio.h> #include<stdio.h> struct node{ int x; char h[50]; //last name char fn[10]; struct node *next; }; …

Software Development c++ linked-list
Member Avatar for louise07
0
117
Member Avatar for sanhitabhide

Hiii all, I am sanhita Bhide form australia and doing Graduation In Information Technology. I am doing Vb.Net as one of my subject I am having a project in relation with windows application in Vb.Net in which we are required to build a windows based application for a "Car Auction …

Software Development asp asp.net vb.net
Member Avatar for manal
0
136
Member Avatar for ivatanako

[code] import java.io.*; public class myFLAMES { public static void main(String args[]) throws Exception { DataInputStream input=new DataInputStream(System.in); int ctr=0; /* ask for inputs */ System.out.println("Input your name: "); String name = input.readLine(); System.out.println("Input her name: "); String sname = input.readLine(); /* hard part -PROCESSING!!!! */ /* we need to …

Software Development java
Member Avatar for nschessnerd
0
116
Member Avatar for countrygirl1970

I am now taking Java classes and I have worked this program out, but it is giving me a "illegal start of type" on my code and I do not know why please help. Thanks for your help. [code] // Displaying multiple strings import javax.swing.*; // to use JOptionPane.show InputDialog …

Software Development java java-swing
Member Avatar for nschessnerd
0
133
Member Avatar for KimJack

Hello All, I have a text file that I am trying to query. The text file is as follows: Billy Bob, Manager, 23453, 76789 Sharon Smith, Supervisor, 33789, 98098 Sue Johnson, Supervisor, 33790, 98095 John clover, Director, 33791, 99876 Desie Arnaz, Worker, 40078, 97656... I am wondering how can I …

Software Development java user-interface
Member Avatar for mickinator
0
126
Member Avatar for curt22

I have a list view and I'm trying to get all of the text out of it. This is my code so far: [CODE] for(i= 0; i < NumOfItems; i++) { char *text = new char[256]; char *text2 = new char[256]; // mask ListView_GetItemText(hWndListView, 0, 0, text, 256); ListView_GetItemText(hWndListView, 0, …

Software Development api c++ windows-api
Member Avatar for curt22
0
126
Member Avatar for Necrolis

[code=C++]#include <fstream> #include <iostream> using namespace std; char * buffer; long size; int main () { ifstream infile ("d2gfx.dll",ifstream::in); ofstream outfile ("d2gfx.dll",ofstream::out); infile.seekg(0xBD30,ifstream::beg); size=infile.tellg(); infile.seekg(0xBD30); buffer = new char [size]; infile.read (buffer,size); cout << buffer << "\n"; system("pause"); outfile.seekp(0xBD30,ifstream::beg); size=outfile.tellp(); outfile.seekp(0xBD30); outfile.write ("D2Mad.dll",10); delete[] buffer; outfile.close(); infile.close(); return 0; }[/code] …

Software Development c++
Member Avatar for Ancient Dragon
0
89
Member Avatar for lunatica

Hello...can someone just give me a hint or steps how to trap numbers in String Like in names.I have to make my project in java with traping numbers in names..

Software Development java
Member Avatar for cms271828
0
67

The End.