132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for robintu

I wanna turn to diverse functional entry acording to the received datas. The datas received from the serial port are at the length of 2 bytes . so I can't simply use Switch sentence. How can I make it?

Software Development c
Member Avatar for robintu
0
195
Member Avatar for lizp

I have written the following program, but still have a problem understanding the code . why won't this work? [code] /*This program will organize a linked list of employees Written by Elizabeth Preuss January 2005 Adapted from classwork and handouts Version 2.0 language c(target borland) */ #include <stdio.h> #include <string.h> …

Software Development c linked-list
Member Avatar for Narue
0
131
Member Avatar for Tester2

Hello, I am learning to use Borland Builder 6.0 (and trying to remember/learn to use C++ after taking a college course in C programming nine years ago). I have created a data structure. When I try to delete it using: [COLOR=Navy]delete films;[/COLOR] I am told that deleting an object requires …

Software Development c++ data-structure
Member Avatar for Tester2
0
183
Member Avatar for bertlef

Hi, Detail: Language: C++ OS: Unix based, DOS/Windows Status: Begginer Q/ How do I comunicate 2 diferent app, what I want is to call one program from another one, and get an answer from the second one, maybe send another call depending on the answer. For example, comunicate with mysql, …

Software Development c c# c++ mysql unix
Member Avatar for bertlef
0
144
Member Avatar for nico

hey everyone am trying to generate a beeping sound on my pc using the 'sound' function , the problem is i am getting errors (5 to be exact ) when i compile this program , please someone point out the error on this code , thanx :) below is the …

Software Development c
Member Avatar for vegaseat
0
195
Member Avatar for Transworld

It would probably be easier if you took a look at this thread I made in another forum. I am Siege-Tank. [url]http://www.bwhacks.com/forums/showthread.php?t=1984[/url]

Software Development c
Member Avatar for alc6379
0
106
Member Avatar for Programmer88

Is there a way to lable a section of code so if a choice is entered it will take the program to a certain peice of code?

Software Development c++
Member Avatar for Coconut Monkey
0
158
Member Avatar for George2

Hello all, I am looking for an audio or video Java player which can be used on Foundation of J2ME platform. It is better an open source Java player (but not a must requirement). I am wondering where can I find related sources? regards, George

Software Development audio java open-source video
Member Avatar for George2
0
266
Member Avatar for George2

Hello everyone, I have written the following simple program to play a local .wav file. [Code] URL url = null; try { url = new URL("file:/c:/temp/sample.wav"); AudioClip clip = Applet.newAudioClip (url); clip.play(); } catch (MalformedURLException e) { // TODO Auto-generated catch block e.printStackTrace(); } [/Code] But when running the program, …

Software Development java
Member Avatar for George2
0
135
Member Avatar for Lonefirewolf

I need to know if there is any way that I could create an entrance box, for a link, that would change on part of the link.. What I'm trying to do is change the "User" part of that link, but leave the rest alone. [url]http://chat.teenchat.com/optichat.html?oc_acc=teenchat&oc_stage=2&oc_room=Test+[/url] Room&oc_dyn=&oc_user=Blah+Blah&oc_syspass=0 I'm not sure …

Software Development java
Member Avatar for Lonefirewolf
0
94
Member Avatar for freesoft_2000

Hi everyone, I have two weird questions but bear with me for a while. The first question is about the printing of a styled document using the printable interface. i am using windows 98 and using the windows page format and print dialog. I have managed to print all the …

Software Development java java-swing open-source user-interface
Member Avatar for server_crash
0
157
Member Avatar for galmca

[code] #include <stdio.h> #define SIZE 10 int main() { int a[ SIZE ]; int i,n,pass,hold; printf("enter the number of elements in an array:"); scanf("%d",&n); printf( "Data items in original order\n" ); for ( i = 0; i <= SIZE - 1; i++ ) printf( "%4d", a[ i ] ); for …

Software Development c
Member Avatar for Asif_NSU
0
1K
Member Avatar for neuronco

My company, Neuron Computing, started a beta program for our suite of developer tools. We are looking for developers to participate in our pre-release program, tell us what they think, report bugs, features they think are missing and/or would be nice to have etc. Some of the key features of …

Member Avatar for neuronco
0
144
Member Avatar for wardduncan

Hey guys, I need some help with looping. I am writing a currency converter (who in begining programming isn't these days) and I want to have it loop so that I can it keep asking for another entry or make it quit. Here is what I have so far: [code] …

Software Development c
Member Avatar for wardduncan
0
162
Member Avatar for beerworld

I am having a problem opening java applets...like in yahoo games or im windows.. on the bottom it says applet notinitited I'm a newbie not too technical an answer please

Software Development java
Member Avatar for server_crash
0
100
Member Avatar for jabberwock486

i know very little about programing. however i want to learn, even if it is basic(no pun intended) some have suddgested perl as a good place to start. So my question is, what are good resources, manuals, websites and other such things about perl programing. i use to do a …

Software Development perl
Member Avatar for liliafan
0
294
Member Avatar for galmca

hi i am right now new to c language..and i have been facing problem in 1 array problem where i have to insert an element in to an array...i would like ur help plzz..i have tried everything but i m not able to make out from where i should start …

Software Development c
Member Avatar for Narue
0
120
Member Avatar for Mahen

Hi everyone, I would like to know how to copy text from a console to the clipboard using C++. Thanks

Software Development c++
Member Avatar for 1o0oBhP
0
113
Member Avatar for galmca

hi i am right now new to c language..and i have been facing problem in 1 array problem where i have to insert an element in to an array...i would like ur help plzz..i have tried everything but i m not able to make out from where i should start …

Software Development c
Member Avatar for 1o0oBhP
0
450
Member Avatar for compeat

hi! I have a problem about "[B]polynomial class[/B] ".when I Insert the firend function "operator<<" in the program.it doesn't run and have 5 error about missing ";" in private member :"_degree" and missing ")" in first line(prototype) of friend function "operator<<". why this program have this ERRRS???!!! :( can you …

Software Development c++
Member Avatar for Narue
0
158
Member Avatar for gtsreddy

Hi i am learning C++ i typed the following programm it is asking me to enter the age , when i enter age and hit eneter button it is generating the following message test2.exe has generated errore and will be closed by windows you will need to resterat the programm …

Software Development c++
Member Avatar for 1o0oBhP
0
200
Member Avatar for helloworld

please help me, am confused in the memory bit, all i want is 32 k memory free and each time i add something and run it, it will say for example 27 k memory left how to i make this program only have 32 k memory, for example At the …

Software Development c++ queue
Member Avatar for Narue
0
126
Member Avatar for Acidburn

Hello just had a m8 round and he reckons that this is a string: char data; I told him no its not to start a string it must be char data[]; cin << data; with the inclusion of the header files, is he correct or am i?

Software Development c++
Member Avatar for geeeez
0
141
Member Avatar for goforit

Hello, As will become quickly & painfully evident, I am new to "C" programming and trying to teach myself. I am trying to use scanf function to get numeric input from the keyboard. My code looks like this (NOTE: Please forgive syntax errors as I am not copying and pasting …

Software Development c++
Member Avatar for Narue
0
182
Member Avatar for Acidburn

Hello 2 questions..... 1) I just tried to code a switch statement with a stribg but my compiler throws up error messages.... 2) Is they anyway I can convert a string to an int and then back to a string? cheers

Software Development c++
Member Avatar for 1o0oBhP
0
240
Member Avatar for smartdetect

hi my project involves ping multiple comps simultaneously to do that i am storing results of each comp in its designated text file for that at startup i have to clear its contents i want to know how to do that in java???????

Software Development java
Member Avatar for freesoft_2000
0
149
Member Avatar for hjangel

I am trying to write a program that generates an array of 3 random letters out of a choice of 6. I then want to copy the array and sort it, then check that none of the letters are duplicated. This is causing me major problems. The code I have …

Software Development java
Member Avatar for hjangel
0
125
Member Avatar for {{unknown}}

HI I JUST START TO LREAN ABOUT C LANGAUAE AND I DONE SOME PROGRAME BY C LANGAUE.... I WOULD LIKE TO KNOW ABOUT fflush WHAT IS THIS FUNCTION STAND FOR? AND WHEN WE USE IT?

Software Development c
Member Avatar for {{unknown}}
0
131
Member Avatar for Programmer88

Ok, i know my program is probably all done incorrectly and thier are probably eaiser ways but, it works for me so.. I have an error and i cant find out what it is. Can anyone tell me? [CODE]//Game Project 1 #include <iostream.h> #include <conio.h> #include <iomanip.h> #include <stdlib.h> main() …

Software Development c++
Member Avatar for Programmer88
0
178
Member Avatar for Sphyenx

"Quote: Originally Posted by deanpence This is the order in which I learned to program: Basic QBasic Pascal C C++ Java Perl ... A very important point should be noted about learning in that order: I learned procedural programming first, and I recommend this course to any new programmer. Learn …

Software Development pascal perl
Member Avatar for alc6379
0
117
Member Avatar for giany

Hello i`m trying to make a script that shows me online users using the arping command. I want to enable to stop it using Ctrl +C and print me a message : Continue Y/N. And one more thing in the end to print me : We have $wc -l users …

Software Development shell-scripting
Member Avatar for vgersh99
0
195
Member Avatar for luizebs

I am using linux. I ve already tracked down the code, and I know which class instantiation is causing the problem. But I cannot go further than that, since the same code used to work before I did an upgrate of the opensource framework over which I am developing a …

Software Development c++
Member Avatar for Chainsaw
0
160
Member Avatar for ojimo

I was wondering if anyone could aid me by telling me the code or an example of code, for making objects move when a user hits an arrow key or any key for that matter. I've been searching for days for a tutorial to aid me, but have come up …

Software Development qbasic visual-basic
Member Avatar for Real-tiner
0
115
Member Avatar for godgofishing

[COLOR=DarkSlateBlue]I'm a beginner in my computer programming class, we're about halfway through the course. I had this assignment where I had to make a table that involves INPUT, READ-DATA, PRINT USING, etc. On my first READ statement I keep getting a syntax error message and I can't seem to find …

Software Development visual-basic
Member Avatar for Real-tiner
0
131
Member Avatar for Asif_NSU

I just moved to windows XP and got myself Visual Studio .NET Professional. I just need Visual C++ .NET and nothing else. The installer gives these options and i dont know which components i need and which i dont. 1. Visual C++ Class & Template Libraries ATL MFC Shared Libraries …

Software Development c++ visual-studio windows-xp
Member Avatar for Asif_NSU
0
152
Member Avatar for kellyandtopher

I have to write a function to find the circumference of a circle. I am having problems cause I dont have any idea how to do that. I know ya'll like to have some kind of showing of my own program the only thing is that I dont understand what …

Software Development c++
Member Avatar for frrossk
0
122
Member Avatar for Kimmi

[SIZE=7]Always heard ppl saying that DOS batch files have limitations...recently am running the same batch file on mulitple stations (Win NT) but only 1 particular station has encountered problem. Not error returned by the DOS batch file but its the software that is being started by this batch file giving …

Software Development
Member Avatar for jwenting
0
148
Member Avatar for weazel

Big Problem!!! [SIZE=7]ok hangman all worked perfectly... then suddenly this erro came up!!! SOMEBODY HELP ME PLEASE THIS IS DUE 2MORROW!!![/SIZE] [COLOR=Red] ERROR = An unhandled exception of type 'System.Runtime.InteropServices.ExternalException' occurred in system.windows.forms.dll Additional information: A generic error occurred in GDI+.[/COLOR] [CODE] Public Class form1 Inherits System.Windows.Forms.Form ' Author: Misha …

0
162
Member Avatar for the b

Does anyone know what's wrong with this function? The program that uses it runs but does not display the average. I also tried using the sum variable instead of ptr3 and had the same results. [CODE]void calculate(int days) { float sum = 0; float average; temperature_node *ptr2; temperature_node *ptr3; ptr2 …

Software Development c display
Member Avatar for the b
0
229
Member Avatar for driverside

Hi - I'm not sure if this is the right forum to ask my question, so let me know if it is not. I'm trying to write a program than can take two audio files (e.g. WAV) as inputs, compare them, and spit out a number that tells you how …

Software Development audio c++
Member Avatar for Chainsaw
0
114
Member Avatar for jigvesh

The following is a piece of code for performing linear search: [code] import java.io.*; class search { String str; int key,size,seaArr[]; public void getdata() { System.out.print("Enter how many data you want to enter : "); System.out.flush(); try{ BufferedReader obj=new BufferedReader(new InputStreamReader(System.in)); str=obj.readLine(); size=Integer.parseInt(str); seaArr=new int[size]; for(int i=0;i<size;i++) { System.out.print("Enter element …

Software Development java
Member Avatar for jigvesh
0
163
Member Avatar for gtsreddy

Hi i am trying to start doing C++ programming when i write a simple hello programm it is compiling correctly and the out put window is not staying on the screen , i am unable to see it it is suddenly disappearing can any one help me

Software Development c++
Member Avatar for vegaseat
0
150
Member Avatar for copycat

Can i insert a JPEG picture into my application with out import javax.swing.*; ????? or is where a way to do that with out import javax.swing.*; ???

Software Development java java-swing
Member Avatar for jwenting
0
88
Member Avatar for serkanozgen

How can i plot a histogram from the results of the following code. Thanks in advance for your help Serkan import java.io.*; public class LineLen { public static void main(String args[]) throws Throwable { // // Open the file final String filename = "LineLen22.java"; BufferedReader infile = new BufferedReader(new InputStreamReader(new …

Software Development java
Member Avatar for jwenting
0
104
Member Avatar for Taffy-Taff

Hi : I am having a problem and I can't seem to figure out what is wrong. This is it: I have a table with a memo field called MonthComment. It also has a field called Historic_comments I have a form containing 2 text boxes. One text box called Historic_comments …

Software Development visual-basic
Member Avatar for mnemtsas
0
163
Member Avatar for brouhaha

hello. Sorry for the long post. My ultimate goal is to make a program that can read text off a website, if told the url, when to start reading, and where to stop, and then write the text to a textfile. This is all easy once I am able to …

Software Development app-store asp c++ first-post microsoft session
Member Avatar for brouhaha
0
216
Member Avatar for kaiser<lucy>

hey all, im trying to write a perl program that will change the desktop background. I dont have much (read: any) background in working with windows environment variables, and am hoping that desktop image location is in fact one of these variables. any advice on how to reference and edit …

Software Development image perl windows-xp
Member Avatar for kaiser<lucy>
0
124
Member Avatar for server_crash

I need to get the position in a JTextArea...Anyone know how to do this?

Software Development java
Member Avatar for server_crash
0
76
Member Avatar for serkanozgen

How can i add reversing line code to the following code. Program must read the document which is selected by user from filechooser and write the reverse lines to another file. Additionally, I have to add a histogram which shows the length of each lines in document. [code] import java.awt.*; …

Software Development display java java-swing
Member Avatar for freesoft_2000
0
138
Member Avatar for diegomoreno

Hi, just wanna ask if c++ opendir,readdir and closedir code can be implemented in visual c++, i have resently started using this complier and dunno what libraries have changed and if some of these sentences are still valid, and if u can recommend me some kind of "migrating c++ to …

Software Development c++
Member Avatar for vegaseat
0
230

The End.