132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vhinehds

Hi to everyone... Just for clarification and added information...can someone please explain deeper what are VB RUNTIME Files and its use or benefit if i dont have VB software. Your response would most likely help me before i start programming in VB, thanks a lot.

Software Development visual-basic
Member Avatar for vhinehds
0
379
Member Avatar for idris

hi,, the program i made is soppost to reads 3 integers from user and solve the average, the maximum, the minimum and their median value..the problem with the program is that the median section is not working, can u please have a look at it.. [code]#include<stdio.h> main( ) { int …

Software Development c++
Member Avatar for idris
0
234
Member Avatar for shelly121

hey ppz! im havin problems wiv my code on vb.net! it dopesnt recognise the "ADODB connection()"-it says its not defined?? i have added the data adapter and connection, so why doesnt it work??? [PHP]Imports System.IO Public Class frmClients Inherits System.Windows.Forms.Form Dim CN As New ADODB.Connection() Dim RS As New ADODB.Recordset() …

Software Development vb.net
Member Avatar for Robert Walker
0
286
Member Avatar for ross_player1

im a beginner in C++ and require help in developing a program that converts the price of a list of items from a text file from £ to euros. i am supposed to be able to edit this program so that there is a). GBP/Euro conversion rate. b). Data to …

Software Development c++ file-system
Member Avatar for ross_player1
0
135
Member Avatar for augie0216

I'm trying to learn asp.net in vb.net. I have a form to order hats online because I'm learning only one hat at a time may be ordered. I have two listboxes one displays the size and the other the color, I have a checkbox which if checked adds a logo, …

Software Development asp asp.net first-post vb.net
Member Avatar for NPH
0
342
Member Avatar for bluesmiley

Can someone please help me with this program? it is supposed to ask user to input ten integers which are part of an array and then output that array and then output the numbers in ascending and descending order in an array. can you repair this program? thanks. import java.io.*; …

Software Development java
Member Avatar for NPH
0
149
Member Avatar for nabil1983

hello everyone. ok i got a program (see below i know its long but just copy and paste and it will work),, my only problem is i need to include a search method (i.e. where i enter CDName and it prints out the rest of the details of the CD.) …

Software Development display file-stream gui java java-swing
Member Avatar for NPH
0
114
Member Avatar for moonduke

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. The problem Write a program to compress a message consisting of the ten symbols A, B, C, D, E, F, G, H, I, …

Software Development java
Member Avatar for NPH
0
152
Member Avatar for Scuuba

ok, so I'm supposed to write a program which allows the user to input 5 candidate names and the number of votes they receive. The program should the spit out the names, number of votes, percentage of votes received, the total votes, and the winner of the election. This is …

Software Development c c# c++
Member Avatar for Scuuba
0
173
Member Avatar for Mr.

Hello, I have a small app that uses pipes to do some basic client / server communication, just for testing purposes. Well, when the server is run before the client, it works fine. However, if the client is run before the server, there are problems. To solve this I wanted …

Software Development c++ client-server image
Member Avatar for Mr.
0
211
Member Avatar for Robert Walker

I am trying to pass the OleDbDataReader to table that I can pass out of a function.

Software Development vb.net
Member Avatar for ESHbyESH
0
193
Member Avatar for server_crash

I can can use a BufferedReader to open a Streamat the command line, like this: [Code] BufferedReader br = new BufferedReader(new InpuStreamReader(URL.openStream())); [/Code] Once I try to use this same statement inside of my applet, I get an AccessControlException. I know it's something to do with security, but how do …

Software Development java
Member Avatar for Phaelax
0
143
Member Avatar for Wenshere

I would like to design a program to implement a string of operation, such as: 1+3/4+5*5-(454*23-34) Then, it returns a correct answer. And what's the exact algorithms?

Software Development c++
Member Avatar for vegaseat
0
110
Member Avatar for krayek

Hello, I am new here looking for some advice. I belong to a programming group that intends to simulate hearing loss via software that we are creating. At the moment, we are looking to see how are we able to obtain sound from sound cards. What we intend to do …

Software Development c++
Member Avatar for vegaseat
0
111
Member Avatar for pranavjec

hi guys, i need some help. i need one c program about a file called segy. hve to extract some information from its header(trace header) & stored it in another file to view.The information i have to extract from the trace header are inline,crossline,x coordinate & y coordinate. i wanna …

Software Development c
Member Avatar for Dogtree
0
202
Member Avatar for kramer147

here is the sequence i'm using for my arrow keys [code]#include<stdio.h> unsigned char keyin main() { if(square==1) {//start square putimage(285,440,ste,COPY_PUT); while((keyin=getch())!='\r') {//up arrow key if(keyin==72) {//hit up arrow keyin=getch(); square=2; }//hit up arrow }//up arrow key }//start square do {//game from start square on if(square==2) {//on square 2 putimage(285,400,ste,COPY_PUT); }//on …

Software Development c
Member Avatar for Dogtree
0
396
Member Avatar for Sam Lehman

hi, I need to find a way to get a list of all of the files in the current folder, so i thought i could have my program execute the 'dir' command into the command prompt and then parse what is returened. would anyone have any ideas on how I …

Software Development c++
Member Avatar for Sam Lehman
0
273
Member Avatar for freesoft_2000

Hi everyone, I have a JTextPane with an embedded JLabel and i am trying to print the contents of the JTextPane. When i print it an exception gets thrown saying that there is an error in the views. This only happens if i have an embedded jcomponent in the jTextPane …

Software Development java java-swing printer
0
162
Member Avatar for Wenshere

I declare a array of pointers: [CODE]char *a[13];[/CODE] And how can I allocate memory for it using "new"? (I'm a Chinese student,so my expression may be not so exact~)

Software Development c++
Member Avatar for Dogtree
0
113
Member Avatar for Wenshere

1, who can tell me the defference between "cerr" and "cout"? 2, if I will handle these operations, how can I do? [CODE]cout << 7/2 << " " << 7/0<<" " << 7/3;[/CODE] 7/0 is wrong,but I will let the codes continue, that is , let the result of 7/3 …

Software Development c++
Member Avatar for Dogtree
0
139
Member Avatar for server_crash

Ok, I'm working with some Strings, and these Strings will get remade up to an infinite number of times, and I know that a new object is created each time. So, which is worse.. Keep using the String, and have the value continously change, or Use a StringBuffer, and continously …

Software Development java
Member Avatar for Paul.Esson
0
332
Member Avatar for curly3top

please help...when case 2, 3, or 4 are chosen the program goes into an infinite loop except for case 1 which works fine.... [code] //this program performs addition (grades 1,2,3,4), subtraction (grades 2,3,4), multiplication (grades 3,4), and division(grade 4) #include <cstdlib> #include <ctime> #include <iostream> using namespace std; int main() …

Software Development c++
Member Avatar for admdvv
0
216
Member Avatar for admdvv

At runtime I obtain an instance of descendant of TObject (for example its name is TGoodForm). The definition of TGoodForm is unknown at compile time (I know that it is TGoodForm from TObject::ClassName()). [B]The question: how to create new instance of TGoodForm ?[/B] In another words, can I get address …

Software Development c++
Member Avatar for admdvv
0
229
Member Avatar for Scuuba

Please help, I am writing a program to take in 3 values and return the shape of a triangle. The program runs, but not quite right. Instead of returning the shape of a triangle, it returns a smiley face....which really surprised me. Can anybody help? The code I have is: …

Software Development c++
Member Avatar for Scuuba
0
209
Member Avatar for CompiConQuiso

Hi I'm writing a program that is designed to have a user input the degree and coefficients for a polynomial with two variables, x and y, and i'm having trouble figureing out how to output the degree for the y, and tryin to ignore the term if the coefficient is …

Software Development c++
Member Avatar for Narue
0
202
Member Avatar for peachy

Can anyone tell me the format for reading information into a program and if I want to save information out of the prgram into a txt file. I understand it to be Assign (file name, path) reset (filename) close (file name) and to write information out assign (filename, path); rewrite(filename, …

Software Development pascal
Member Avatar for peachy
0
171
Member Avatar for apcxpc

It's easy enough in Java. How is it done in C++? for e.g. I have a class called Relation, that has a name field (just a string) and then a vector of strings. I want to specify that wherever I type (for example): Relation* r = new Relation(...); cout << …

Software Development c++
Member Avatar for Narue
0
3K
Member Avatar for theinsaneone

Dear friends I am asking anybody to please provide me with a round robin scheduler in C programming. I have a non preemption program, but i need a preempted one. Please help.

Software Development c
Member Avatar for Narue
0
114
Member Avatar for some one

please help me to write this program Ihave make one closed to it but I could not do it as what it says here is the problem and my solution: This is the program Write a program that outputs a telephone bill, given information on telephone calls made by the …

Software Development c++
Member Avatar for Narue
0
246
Member Avatar for George2

Hello everyone, I am looking for open source gateway written in Java. It is better a light-weighted and easy-to-configure gateway, which could be used in J2EE/J2SE/J2ME applications. Thanks in advance, George

Software Development java open-source
Member Avatar for George2
0
338
Member Avatar for SquirrelProdigy

Here soon, I was hoping to buy an IDE for C++. However, I'm not sure which is the best to buy. I only know of Borland and Microsoft's as popular IDEs. Are there any other popular IDE's that are worth purchasing. I'll be heading off to college here soon, and …

Software Development c++ ide microsoft
Member Avatar for Narue
0
183
Member Avatar for kittie

[code]//final.cpp //Creates an array with 2 players' batting avg //Read in hits and atbats for each player //1) one player get data in main //2) other get data in battingavg function //battingavg function figures out battingavg for both players // and puts them in array (not hits & abats), print …

Software Development c++ ios
Member Avatar for Narue
0
179
Member Avatar for winbatch

I'm trying to overload my 'Log' class so that I can pass 'endl' to it. Given the obscure nature of the compiler errors for template classes, I'm not sure what to put on the 'right hand side'. For example, these work fine. .. [code]Log & operator << (ostringstream & a) …

Software Development c
Member Avatar for Narue
0
2K
Member Avatar for server_crash

I've been working on this webcrawler and I've ran into a problem. I can read the first URL and get all the URLs out of the HTML code, but I can't seem to set up a looping structure that will work. This is basically what it does: Searches through html …

Software Development java
Member Avatar for server_crash
0
145
Member Avatar for souphmars

can yall help me-i need to be able to output in preorder (root, left, right) and in post order (left, right, root)- when i output now it is in order (left, root, right)- how come it does this automatically, just wondering about that-but i need help with preorder and postorder, …

Software Development c++ first-post
Member Avatar for Sarburtho
0
160
Member Avatar for Acidburn

[code] int hangman::checkstatus() { for ( int i = 0; i < 5; i++ ) { if (encryption[i] == '*' ) { return i; cout << i; break; } } if ( i == 4 ) { cout<<"You win!"<<endl; } return 0; } [/code] Hello guys, this function always returns …

Software Development c++ encryption
Member Avatar for Dave Sinkula
0
185
Member Avatar for mesmo

Hey people! Ive had to right a simulation to the game buzz-fizz..this is what the game is... One person starts of by calling out '1' then each player adds one to the previous players number and calls out that number unless it divides excatly by three or five.. If it …

Software Development pascal
Member Avatar for Daaave
0
198
Member Avatar for raghavendrak

Hi Friends, I want to write a MP3 player with minimum GUI for Linux (Fedora) I dont know where to start with I have knowledge of C/C++ programming, but not much knowledge of creating a GUI. I use Eclipse. I want to write for KDE. Can you please guide me …

Software Development c++ gui
Member Avatar for subtronic
0
277
Member Avatar for SquirrelProdigy

[CODE]if(cmd=="new"){ string name,desc; cout<<"Name? "; cin>>name; Setcursor(Conloc); cout<<"Desc? "; cin>>desc; Setcursor(Bodyloc); Invitem Item(name,desc);[/CODE] When the values of the string desc is set through cin, if a space is used, all text after that space isn't used. Also, If two words are used when setting name, it will give the second …

Software Development c++
Member Avatar for subtronic
0
272
Member Avatar for winbatch

Hi, I'm trying to use the STL map class to be able to store keys and associated values. I started out using it with keys of pre-existing data types like int, string, etc. and was working fine. I was also able to use it with values of custom classes. I'm …

Software Development c++
Member Avatar for Narue
0
452
Member Avatar for grissomdl

Does anyone know how or have any type program to input comma-delimited data into qb programs? I have written a unique program, I want say what but it is good. grissomdl :rolleyes:

Software Development
Member Avatar for grissomdl
0
158
Member Avatar for warriorwarren

Hi, I have the following interface for a 35 day month calander script that I am writing. The interface is called for use with an html page. I am supposed to collect user input which includes day, month and their event. blankEventsJan = [ ['<br>','<br>','<br>','<br>','<br>','<br>','<br>'], ['<br>','<br>','<br>','<br>','<br>','<br>','<br>'], ['<br>','<br>','<br>','<br>','<br>','<br>','<br>'], ['<br>','<br>','<br>','<br>','<br>','<br>','<br>'], ['<br>','<br>','<br>','<br>','<br>','<br>','<br>'] ] …

Software Development python user-interface
Member Avatar for vegaseat
0
347
Member Avatar for kittie

[code]//project.cpp compiles //Need to create an input file of recently shipped music CD's. //The file should consist of the name of the album, quantity shipped and price. // Since we do not know how many CD's have been shipped, keep reading the file //until all CD's have been read in. …

Software Development c++
Member Avatar for alc6379
0
232
Member Avatar for silicon

Hello everyone, my code is finally complete thanks to all of your help. One questions I have is regarding the reslts. I thought that Merge was faster than a heap sort. In my results however (when run on Borland c++) Heap comes out with a faster sorting time. The functions …

Software Development c++ ios
Member Avatar for subtronic
0
175
Member Avatar for tgreer

Let's see if I can completely strike-out, with a third unanswered post: I would like to know how to store binary data in the app.config file for a C# application. These are basically text strings, but they do include one or two "binary" characters, such as decimal 12. I need …

Software Development app-store first-post
Member Avatar for Iron_Cross
0
188
Member Avatar for Toulinwoek

Does anyone know if Microsoft will be offering [B]Visual Basic .Net 2005[/B] as a standalone product? I can't imagine that they would not, but I can't find anything on their site that mentions anything but Visual Studio 2005, which contains a host of things I don't want. I have a …

Member Avatar for Toulinwoek
0
496
Member Avatar for nizar4445

hello all anybody could please tell me how to change this code to make it read from a file that has unknown no of students in it. now this [I]part[/I] of the programe read only 5 students. could you please help me to solve this problem as soon as you …

Software Development c
Member Avatar for nizar4445
0
271
Member Avatar for bsrivastava

[I][COLOR=Red]Moderator edit: This response and its replies have been split from the C and C++ Timesaving Tips sticky because they do not add relevant material, and they are long enough to distract from the intended purpose of the thread. Further replies on this topic may be posted in this thread, …

Software Development algorithm c++ first-post
Member Avatar for Narue
0
220
Member Avatar for EvilObsidian

Thanks for taking the time. I'm a beginner and I ran into a roadblock with the following code. The assignment is to create a class Complex to add and subtract complex numbers and a Class to test it. Unfortunately, I can't get it to compile so I can debug it. …

Software Development java java-swing
Member Avatar for server_crash
0
127
Member Avatar for the b

Here is a quick question that should be easy to answer. Is there a cubed root function in the C++ library?

Software Development c++
Member Avatar for Narue
0
217

The End.