132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Exelio

hi all, I am working in a windows application. i have a text say for eg, <img src="http://static.ibnlive.com/pix/sitepix/06_2007/kumaraswamy_cm90.jpg" alt="BACKTRACKING? Kumaraswamy says he never said he would step down on October 3." title="BACKTRACKING? Kumaraswamy says he never said he would step down on October 3" border="0" width="90" height="62" align="left" hspace="5&"/> Kumaraswamy …

Software Development regex
Member Avatar for Exelio
0
112
Member Avatar for psyman_86

Hi, Im trying to implement a LCD screen as part of a engineering design project. The screen is to be connected to a M16C/62 microcontroller. In order to compile the software I am using the NC30WA V5.20 Release 1 compiler, as it is the compiler which comes with the development …

Software Development c engineering
Member Avatar for psyman_86
0
265
Member Avatar for JavaNewbie07

I am trying to create a queue of tokens from a file and I have the following; [code] Scanner pScanner = new Scanner (System.in); String ptoken; While ((tak = tz.getNext()) !=null) { System.out.println ("The next token is " + tak); .......//more code }[/code] This works becuase it scans every token, …

Software Development java queue
Member Avatar for orko
0
130
Member Avatar for niki01

Hi, I need help with Round Robin algorithm. I don't understand how to implement the process.

Software Development algorithm c++
Member Avatar for Killer_Typo
0
156
Member Avatar for winky

Newbie C++ programmer here :) I'm supposed to bubble sort an array to where I can eventually print it ascending and descending in the correct order. I am, however, having trouble passing the parameters for the bubbleSort and printElements functions. I get the error: error C2664: 'bubbleSort' : cannot convert …

Software Development c++
Member Avatar for Ancient Dragon
0
2K
Member Avatar for shizu

Hi, I am new here.. I faced a problem when I tried to call two difference software function.. I name this two software as App A and App B.. I had create App B's pointer at App A, name as BPointerAtA.. I try to new the pointer at App A …

Software Development c++
Member Avatar for shizu
0
165
Member Avatar for rocky1821

Good day all, I've been working on this code for a for a while now and I can't seem to find what's wrong. I am supposed input two numbers and return if this is a twin prime number by just outputting true or false. My program compiles and runs but …

Software Development c++
Member Avatar for Ancient Dragon
0
185
Member Avatar for piers

I have a section of code in a programme I have: [B]long b; if (show>1189&&<1189*2) { b=1; } else if (show>1189*2&&<1189*3) { b=2; } else if (show>1189*3&&<1189*4) { b=3; } [/B] The variable show is an already defined string which takes a number value. So I want to output the …

Software Development java
Member Avatar for piers
0
85
Member Avatar for ndoe

hello all,i hope you all can help for this,i want showing image by clicking button,i have 5 button with parents panel 1 and i want show image to panel 2,my plan the image can be drag or rezise and image show all the time user want,i have idea for drag …

Software Development image python
Member Avatar for vegaseat
0
223
Member Avatar for carrie3112

I just created a project using vb. net (2003) that contains the executable and added the libraries and files I thought were necessary. When it pre-builds, it says that many dependencies are missing, interop.dzocx1lib and interop.dzstactxlib. Those files (assemblies) are listed in the project. It does install on my target …

Software Development vb.net
Member Avatar for alawson
0
103
Member Avatar for sayanriju

Hello People! I'm trying to design a text editor using wxpython. I wish to add some basic formatting functionality (like BOLD, ITALICS, UNDERLINE) to it. Is there any way to achieve this in wx.TextCtrl ? Or do I have to use stc.StyledTextCtrl (which I don't really wish right now)? Thank …

Software Development python
Member Avatar for vegaseat
0
1K
Member Avatar for JaedenRuiner

Well, I'm not sure how other people do it, but eh, for some reason VB makes my task excessively difficult, because it is so inter-dependent and integrated. Now, HTMLDocument, is a Document interface for...go figure...an Html Document. However, I can't use it. I can only get to it via a …

0
192
Member Avatar for DREAMER546

hey every one please can u help me .. i need this today [B]Write a C++ program to read numbers end with -1 then print the largest number[/B] i'm tring but always print to me the largest -1 that's wrong! :"( how can i fix this [CODE]#include <iostream> int main() …

Software Development c++
Member Avatar for DREAMER546
0
113
Member Avatar for blanklogo

I am a student taking a java class online. its kinda hard because I don't have anyone to talk to directly. I do not want someone to do this for me i just want a simple yes or no answer. I have created a program for my second assignment. The …

Software Development java java-netbeans
Member Avatar for johnsene
0
154
Member Avatar for chrisw09

I'm working on a small program that i'd like to deploy using java webstart. I have everything working but when I launch the program using webstart/jnlp, a statusbar is added to it (see attachment) which says "Java Application Window". It's not there when i run the app locally. Any idea …

Software Development java
Member Avatar for chrisw09
0
117
Member Avatar for tinamary

how java is different from .net and other technologies

Software Development java
Member Avatar for ~s.o.s~
0
142
Member Avatar for Renzokouken_22

[code] import java.awt.*; import java.awt.Event.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.*; import javax.swing.*; public class UpdateRecord implements ActionListener { private ScrollingPanel fields; private JTextArea output; private Connection connection; public UpdateRecord(Connection c, ScrollingPanel f, JTextArea o) { connection = c; fields = f; output = o; } public void actionPerformed(ActionEvent e) …

Software Development java java-swing sql
Member Avatar for ~s.o.s~
0
78
Member Avatar for GRaymer

I'm a student working on an internship, without a lot of guidence. I went to develop a program with C# not realizing that as a developer in the organization I have a different standard desktop than the rest of the organization. So on my computer I was able to develop …

Software Development asp.net c c# c++
Member Avatar for GRaymer
0
104
Member Avatar for H22H

Hi, How can I prevent two users from loading the same database record/row ? If the first user loads the record to work on it, it will be unavailable to other users unless the first user free it. Please HELP!

Software Development
Member Avatar for blacklocist
0
134
Member Avatar for rinoa04

I have translate the printer format and printout the label with barcode. However, the barcode cannot be detected by the scanner. Does anyone know why? Thank you

Software Development printer
Member Avatar for blacklocist
0
79
Member Avatar for asciiletters

I have a text file that I want sed to add a few lines to right before an existing line. What I want to add is: currentpagedevice /InputAttributes get 0 get dup null eq { pop } { dup length 1 add dict copy dup /InputAttributes 1 dict dup /Priority …

Software Development shell-scripting
Member Avatar for asciiletters
0
112
Member Avatar for JavaNewbie07

I am trying to call an external class with the following line class "classname" implements "another classname" { ..I however keep getting an "Interface expected here" error at compilation. What am doing wrong, please?

Software Development java
Member Avatar for orko
0
122
Member Avatar for champagne

I am new to Java and can not figure out why I am getting this error for swithc case.

Software Development java
Member Avatar for orko
0
93
Member Avatar for lb10111

I use nasm and I have the gnu linker. What I want to do is link my main program file with a file containing procedures and then output a flat binary file. Since I can't use nasm to make binary files with EXTERN's in the source I figured I could …

Software Development assembly
Member Avatar for lb10111
0
1K
Member Avatar for ceyesuma

I try to set a variable in another class. It does not. It goes to that class and the variable is always 0and the program stops. I know its something basic that I should know but I need it to set the variable and continue in the calling class. Any …

Software Development java
Member Avatar for orko
0
92
Member Avatar for ceyesuma

Does anyone have time to look over a 3 class program? I get a NULL POINTER ERROR. What is the best way to debug a variable that produces this error? Thanks

Software Development java
Member Avatar for orko
0
85
Member Avatar for csteverun

Would anyone be so kind as point me to a resource that explains how to make calls to a DLL from a C program? My Google skills have failed. I found many web pages talking about how to CREATE a DLL, but none that explain the minimum code needed in …

Software Development c
Member Avatar for Salem
0
122
Member Avatar for makmak02

I'm trying to solve a problem that my friend gave me and i'm really stuck at it, I'm solving this now for about 1 whole day and my PC's about to melt. Im trying to figure out how to add numbers in a range i.e I input the number 6 …

Software Development c++
Member Avatar for makmak02
0
90
Member Avatar for asilter

[code] #include <iostream> using namespace std; int main(int argc, char * argv[]) { hash<const char*> H; cout << "foo() ->" << H("foo()") << endl; } [/code] compilation error after g++ -c -g main.cc is : [code] main.cc: In function `int main(int, char**)': main.cc:8: error: `hash' undeclared (first use this function) …

Software Development c++
Member Avatar for vijayan121
0
361
Member Avatar for SirJames

Wanted to verify that this actually does check for all wins- if so I need to a statement that a tie does still exist and where to add it...Opinions and suggestions please.. method displayHandName() writes out the hand found. [CODE] public static void determineWinner(int[] finalHands, int[][] hands) throws IOException { …

Software Development java
Member Avatar for SirJames
0
119
Member Avatar for Van Gogh

I'm trying to make the program able to receive more than one input and then give the results of all the imputs together. Sofar, rightnow I'm only able to input one number and the program will immediately print out the result. I want to continue to imput until I press …

Software Development
Member Avatar for Van Gogh
0
79
Member Avatar for cmymazda

Hello everyone I am a new to java and I am trying to get help with my inventory program. Here is the assignment ..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, …

Software Development gui java java-swing
Member Avatar for cmymazda
0
143
Member Avatar for Catgirl

I have all of my program working except the following buttons (add, modify, delete, save, search) which I have the buttons, but turned off in my program so it will still compile/run until I get the button functionality fixed. To be honest, I have no clue on what code needs …

Software Development gui java
Member Avatar for no1zson
0
88
Member Avatar for cmoodc

this is my first thread i need a function in C+ that return 1000000*1000000 integer given by the user in reverse but without using arrays,lists,pointers,..... only i can use 2 or 3 variables thanx 4 help

Software Development c++
Member Avatar for cmoodc
0
89
Member Avatar for furpacino

oke i am sorry for before i didnt know about this side so much. Now i am sending a file with attachemnt. I have to rewrite this while loop. if you help me i will presuade about your helps.

Software Development c
Member Avatar for Aia
0
115
Member Avatar for geekychick

i wrote this function readBig. It's purpose is to scan a number from the user as a string and converts each element of the string into an int and stores it in an int array then reverses the elements so the ones position is in n[0] tens position is in …

Software Development c++
Member Avatar for geekychick
0
147
Member Avatar for koolboy

hi all, i need help with writing a program for adding two random numbers. my output should look something like this: Enter a number between 1 and 1 million: 6758 Enter another number between 1 and 1 million: 87698 376 + 486 _____ 862 Congratulations! (smiley face) You're pretty good! …

Software Development c++
Member Avatar for jbennet
0
112
Member Avatar for hectic

i sloved the previous problem and got the new problem now, i have three file header file where i define the function prototype and the other implementaion file for the function body and other one is the test file which takes input for the implementation file i have a function …

Software Development c++
Member Avatar for Narue
0
300
Member Avatar for Webbsta

Hi, I'm getting quite good with vb.net now and have created quite a few good programs but I'm having trouble with something that seems simple but i cant figure out whats wrong, if anybody can help me with the following code it would be very appreciated. What I'm trying to …

Software Development vb.net
Member Avatar for Halbo
0
159
Member Avatar for winky

Hey guys :), Thanks for any help ahead of time. I'm writing a program that would take the input scores of seven judges and throw out the highest and the lowest. [code]#include<iostream> using namespace std; int main() { float a=0, b=0, c=0, d=0, e=0, f=0, g=0, score=0, difficulty=0; cout << …

Software Development c++
Member Avatar for winky
0
108
Member Avatar for MxDev

hi guys, I've simple question is what happen as general when setup is running i mean what and why the program setup store some settings in registry or hard drive instead of running without setup, i see some applications could run without setup just click and run. i hope someone …

Software Development hard-drive java
Member Avatar for lookof2day
0
106
Member Avatar for Dha_King

Hello sorry if i hijack this thread for my own purpose, first English isent my first language, my apologies for the misspelling and all. I also have problem with dynamic arrays, our stupied teacher made the assingment harder then he hade to. I'll try to explain the assingment. First we …

Software Development c++
Member Avatar for Ancient Dragon
0
512
Member Avatar for C++Amanda

I am very new to C++. I have to write a program for class that reflects the game of craps and I'm kinda stuck at this point. Any help someone could give me would be HUGELY appreciated. The guidelines we were given are that the program should execute 10000 times …

Software Development c++
Member Avatar for iamthwee
0
197
Member Avatar for ziong
Member Avatar for binoj_daniel
0
54
Member Avatar for ajcornwell

I am stuck again, I was able to complete last week's assignment without having to post, just so you guys don't think I'm a lost cause! :) I need to allow the user to input loan amount, term, and interest rate before calculating the monthly payment and showing the table. …

Software Development gui java user-interface
Member Avatar for Ezzaral
0
131
Member Avatar for Daveshome

Hello. I have been finding more and more databases that output in XML. (Getting more popular all the time I guess!) I am building a script that will take this apart so I can edit items and put it back together in XML format and .cvs format. (to feed to …

Software Development apple python xml
Member Avatar for Daveshome
0
93
Member Avatar for Bikram

helos...!!! wel am new to dis..!!! but i hav a code to it...!!! lets try out..!!!!! [code] #include<stdio.h> #include<conio.h> void main() { int i,j,count=1,flag,arr[5],p[5]; for(i=0;i<5;i++) scanf("%d",&arr[i]); p[0]=arr[0]; for(i=1;i<5;i++) { flag=0; for(j=0;j<=count;j++) { if(arr[i]==p[j]) flag=1; } if(flag==0) { p[count]=arr[i]; count++; } } for(i=0;i<count;i++) { printf("%d\t",p[i]); } getch(); } [/code] try dis …

Software Development c
Member Avatar for Narue
0
125
Member Avatar for Ravenous Wolf

hi. i am kind of stuck and i need some help. i have a dll and a .cs file. i have opened the .cs file and it contains a class. i asume that the class and the dll works together. sort of like a cpp header file and class file. …

Software Development file-system
Member Avatar for Ravenous Wolf
0
207
Member Avatar for eranga262154

I'll explain my issue in this way. I've use a structure to get some data of a byte stream as follows. [CODE] 1. struct pac_cont 2. { 3. unsigned int des_list ; 4. unsigned int mem_ID ; 5. unsigned char dm_con ; 6. unsigned char ser_ID ; 7. unsigned short …

Software Development c++ data-structure file-stream ios
Member Avatar for eranga262154
0
1K
Member Avatar for placo23

Hi, I'm pretty new in this forum and also new in C development. I was wondering if there's a way to play rm/rmvb files in a C application. I did a bit of research but without any success. Can somebody help me here? [B]UPDATE:[/B] Just as un update, I wanted …

Software Development c
Member Avatar for Salem
0
139

The End.