132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pankajagar2002

Hello frnds, I am suffering with a problem. Please help me. The problem is when i am displaying a list of items or say component in to view then the list got weird or we can say jumbled(one item above another) comes for a short moment(less than 1 sec). i …

Software Development java java-swing
Member Avatar for BestJewSinceJC
0
303
Member Avatar for shorty246

NEed HELP starting it off..not sure what im doing wrong..Please!! The Percentile class The constructor of your class should have one parameter representing the capacity of the array that the class will contain. The array should be a double array with its length equal to the capacity. You will also …

Software Development java
Member Avatar for BestJewSinceJC
0
141
Member Avatar for jimJohnson

I am writing a program and stuck on a part of my coding. This part of the instructions say the following... 11 - User can only withdrawl $300 amount per day I guess my problem is I am not sure how to set this up where it is linked to …

Software Development c++
Member Avatar for VernonDozier
0
480
Member Avatar for laelzio.mosca

I`m taking java class and I`m thinking about getting one of those mini laptops just to do my school work and be able to access the internet. for the price and portability, I`m looking at the Acer Aspire One AO532h-2326 I`d like to get an advice from you guys. How …

Software Development java laptop
Member Avatar for BestJewSinceJC
0
85
Member Avatar for TheWhite

One of my programs work with MySQL (Connector/J Driver). The issue is, some of the contents I'm passing into the query string are read from a file that contains several escapable characters. When I try to commit the query (such as an INSERT) with a value that has unescaped characters …

Software Development java
Member Avatar for BestJewSinceJC
0
146
Member Avatar for wasyazwan

[CODE] RichTextBox1.SelectionStart = RichTextBox1.Find("Not Found") RichTextBox1.SelectionColor = Color.Red[/CODE] that is my code.. my problem is in my richtextbox1, there are many line that contain "Not Found". So how can i change colour for all of that text to red colour? my code only work only with a single line that …

Software Development vb.net
Member Avatar for wasyazwan
0
2K
Member Avatar for Guylolk

I'm getting "TypeError: unsupported operand type(s) for *: 'instance' and 'int'" It looks as if I am not setting a correctly and it would be great if someone could assist me with my problem. Thanks! [CODE=python] #! /usr/bin/env python from Tkinter import * import tkMessageBox tkMessageBox.showinfo("Text","Hello. Tell me any whole …

Software Development gui python tkinter
Member Avatar for dilettante80
0
231
Member Avatar for london-G

Hello I would like to read a file and display certain lines ( like from line 5 to 10) in a label. i know how to read the file line by line but not the specified line i want. Thanks in advance

Software Development vb.net
Member Avatar for wasyazwan
0
1K
Member Avatar for nola_Coder

I've finally got my game scrolling sideways, but... 1) There's a really bad flicker to the whole screen. 2) Also, how do I get the background to loop? 3) The whole thing seems to run quite a bit slower than before I added the background. Why is that? How do …

Software Development c++
Member Avatar for nola_Coder
0
175
Member Avatar for spursfan2110

Hey everyone, I have a kind of large problem. I am trying to input something in C, a number between 0 and 50,000, using scanf(). I understand how scanf generally works, and it does for the most part, but for some reason if the number I enter is greater than …

Software Development c
Member Avatar for Dave Sinkula
0
187
Member Avatar for nsjoe

This is probably a simple fix but I can't quite figure it out. How can I find an escaped character in in a string? E.g. string str = "abcde\tfghi"; [CODE] while (str [counter] != '\t') { counter++; } [/CODE]

Software Development c++
Member Avatar for Dave Sinkula
0
143
Member Avatar for WAIWAIWAI

This is the condition, the user must enter a set of integers that ranges from 0-9 (so therefore the user is free to use up to 10 digits) and no two numbers are the same. The user interface is like a calculator without the signs. I've done the array and …

Software Development user-interface visual-basic
Member Avatar for vb5prgrmr
0
100
Member Avatar for MichelleCrews

i dont even know where to start in this one lol ....... write a program to calculate and print the total parking charges for a customer at a long term parking lot. The charges are calculated according to the number of days parked at the lot. The parking charges for …

Software Development python
Member Avatar for MichelleCrews
0
2K
Member Avatar for johndoe444

[CODE]typedef struct _node btree_node; struct _node { int* keys; btree_node* children; int count_keys; int is_leaf; btree_node* parent; int position_in_parent; }; [/CODE] I am getting this error: [CODE]error: no match for ‘operator=’ in ‘*(node->_node::children + ((long unsigned int)(((long unsigned int)(i + degree)) * 40ul))) = 0l’ note: candidates are: _node& _node::operator=(const …

Software Development c
Member Avatar for gerard4143
0
248
Member Avatar for mmgoicochea

This program will calculate commision based on the value of sales made... im getting three errors so far... 1>h:\cs110\assignment6\assignment6.cpp(22) : warning C4700: uninitialized local variable 'third' used 1>h:\cs110\assignment6\assignment6.cpp(22) : warning C4700: uninitialized local variable 'second' used 1>h:\cs110\assignment6\assignment6.cpp(22) : warning C4700: uninitialized local variable 'first' used. I was reading some books …

Software Development c++
Member Avatar for mmgoicochea
0
166
Member Avatar for comsci2

Please help me. I know this kind a simple problem. My problem is when i select the end day of the month it gives me a negative days in txtdays. This is my code to txtdays [CODE] txtDays.Text = dtpEnd.Value.Day - dtpStart.Value.Day [/CODE] This is my code to add date …

Software Development vb.net
Member Avatar for comsci2
0
100
Member Avatar for mrclark

i am trying to make a program that in the even that a message is received when the program does not have focus a message box will be displayed, however, using: [code]if me.focused = false then TrayIcon.BalloonTipTitle = "New Message From " & array(0) TrayIcon.BalloonTipText = array(1) TrayIcon.ShowBalloonTip(5000) end if[/code] …

Software Development vb.net
Member Avatar for mrclark
0
101
Member Avatar for Khazidhea

Hello, First of all, excuse my English =) Warning: wall of text\code. I must say I have some experience in Java and long forgotten C++, so right now I have some problems implementing the Huffman coding. The algorithm goes like this: I create an array of 255 elements to represent …

Software Development c++ queue
Member Avatar for Khazidhea
0
240
Member Avatar for avirooge

Hi, i would like to connect a webcam to vb6.0 or to vb.net and wolud like to take a photograph which is then to be stored in access / sql database. plz. help me Avinash Rooge

Software Development vb.net visual-basic webcam
Member Avatar for kvprajapati
0
602
Member Avatar for alphaman1101

Maby ive been going about this the wrong way. Im attempting to change the system volume using VB.net. I dont want to use the mediaplayer stuff because i dont want that to be open the whole time. if someone could point me to a working API or something for changing …

Software Development api vb.net
Member Avatar for kvprajapati
0
92
Member Avatar for instinctfx

Hey I usually use RTTI to access object when reading or writing them to a dataset so i have prior knowledge of what the field required Example [CODE] if vPropInfo^.Kind = tkFloat then begin if vField.DataType = ftDateTime then vField.AsDateTime := FloatToDateTime(GetFloatProp (thisObject, vPropInfo)); else vField.AsFloat := GetFloatProp (thisObject, vPropInfo)); …

Software Development dataset pascal
0
84
Member Avatar for Zoxx98

Hey everyone, first time one here and i thought i would show my most recent university java assignment. I'm just looking for feedback... wanna see if i am developing good habits or bad. the assignment is completed and marked by my uni so i am not looking for help.. they …

Software Development java
Member Avatar for BestJewSinceJC
0
187
Member Avatar for Notme

Hi, currently im working on a project for uni but i have no knowledge in C at all basically what im trying to do is remove all * !"£$%^&*()- and double spaces from a text file so far i am able to copy the text file so that im not …

Software Development c file-system
Member Avatar for Dave Sinkula
0
1K
Member Avatar for fugnut

I would like the output of the following program to show the first integer without decimals and the rest will have 4 places..the way it is written now all outputs show as 1.0000 (or something similar) code is as follows [CODE]//Square root and cube root calculator #include <iostream> #include <iomanip> …

Software Development c++
Member Avatar for NathanOliver
0
169
Member Avatar for intes77

Im abit confused about the problem im solving right now. it says that i will create a program that would let me input any word, and count how many letters are there. and afterwards i will also make another statement letting me input any letter,then the program would determine if …

Software Development java
Member Avatar for BestJewSinceJC
0
179
Member Avatar for TheWolverine

Hi all, I am just getting into the world of OOP and I'm not totally sure in what situations it's better to use objects and when it's simpler to just revert to arrays. For example, I am currently re-writing a bit of scientific code written in C that simulates the …

Software Development c++
Member Avatar for TheWolverine
0
172
Member Avatar for herbie643

The control is a Button. This is a Help button. After clicking the button the user can then move the mouse to the ListView and click on an Item and get detailed information. So, here is my problem, the Mouse is captured and the aforementioned code works, though I think …

Software Development listview
Member Avatar for herbie643
0
115
Member Avatar for emma88

Hello everyone, I am a student in a beginners c++ class and I need some help on an assignment I need to write a code that will "Write a program that reads in two positive integers that are 15 digits in length and then outputs the addition and subtraction of …

Software Development c++
Member Avatar for NathanOliver
0
109
Member Avatar for Conielo

Hello, I am a complete beginner at Java and I'm having a problem with something I don't understand at all. I'm trying to complete some homework in which I need to finnish off writing a small program which reads a text file and checks brackets in the file. Basically, it …

Software Development java
Member Avatar for Conielo
0
166
Member Avatar for newcuser

I really want to write this program in c without c++ coding. Please help me convert my code to c only. Here is sample input from a text file: alex busted marries marries test teste tested smile smiled works worked indexed hello kkked holddd smexexed whitespaced and Here is output …

Software Development c c++
Member Avatar for WaltP
0
171
Member Avatar for Matt323

Hi, i'm newish to this website, (i've googled a lot for answers to my questions and often came accross very useful answers to my problems on this website) and i'm also in the middle of learning C++. As i learn new things i decide to make little programs that actually …

Software Development c++
Member Avatar for mitrmkar
0
386
Member Avatar for BobbieJean

Hello, I have an assignment for class that I have been working on and am nearly there. First of all, here is the description of the assignment: "Employee and ProductionWorker Classes Design a class named Employee. The class should keep the following information in member variables: Employee name Employee number …

Software Development c++
Member Avatar for BobbieJean
0
2K
Member Avatar for EvilNerd

I made a simple program where a user can pick from the menu. My problem is where do i put this code properly inside the fuction of [B]funcFloat[/B] and [B]funcInteger[/B] [CODE]if (myFloat < 0) // this will output if the user entered a negative value { printf ("You entered a …

Software Development c perl
Member Avatar for EvilNerd
0
93
Member Avatar for jameslat

Hey everyone! this is my first post at this forum:P Please go through and answer what question you can, i'm trying to make a software program which will auto type for me when ever i have a certain key down. something like this... (please not that i am uterly new …

Software Development c++
Member Avatar for jameslat
0
88
Member Avatar for clutchkiller

Is there a way to use toUpper with a string, or do you have to loop it through an array of chars? Ive been googling everywhere, but havent really found any examples on how to properly use it. Thanks

Software Development c++
Member Avatar for Narue
0
399
Member Avatar for NinjaLink

Hi, I'm having trouble getting age 10 occurrences and then removing age 10 from the list. Then I want to be able to print the list without displaying age 10 in it. I trying to use my bag class implementation to do this successfully. My bag class is below. Any …

Software Development java
Member Avatar for IsharaComix
0
159
Member Avatar for dhpatil1

Hi all I have a heap corruption problem in getting STL containers data through OCCI methods . For instance if i do an assignment of this type [code] while(rs->next() ) { SRecord r; '' struct object r.PDM_APPLICATION_NO= rs->getString(1); r.PDM_FIRST_NAME=rs->getString(2);; //Error Heap Corruption r.PDM_LAST_NAME= rs->getString(3); r.PDM_F_FIRST_NAME= rs->getString(4); }[/code] I use Visual …

Software Development c++ oracle
Member Avatar for hnd1122
0
330
Member Avatar for adamjw3

Hi i'm new to c# i'm trying to write a function that i can use over and over again in a number of places. i want to pass in a couple of parameters 1)the string 2)number of character i want in substring 3)what characters to put after the last white …

Software Development
Member Avatar for apegram
0
1K
Member Avatar for sandorlev

Hello! I started to create my own tiny 'framework' mainly built on the socket and the thread module. I haven't been doing too much thread programming before. My problem is that when I try server.waitForConnections(2), at the second connection, it says [code] Unhandled exception in thread started by Error in …

Software Development client-server python socket-programming
0
475
Member Avatar for caramel

I am trying to write a program to add big numbers using char data. I need help getting this completed. [CODE] char k; int num1[26], num2[26], sum[26]; ifstream inData; inData.open("bignums.dat"); inData.get(k);[/CODE] I need to read in the first number: [CODE=text]7777777777[/CODE] I need to right justify the first number to the …

Software Development c++
Member Avatar for dusktreader
0
974
Member Avatar for doctorjo5

I know that this is an easy one but it is hard for me to figure out. I need to make a program that can: * Open the file and read through all of the lines in the file. (got this) * If a line starts with "Subject:", skip the …

Software Development python
Member Avatar for woooee
0
185
Member Avatar for betabasic

Hello guys.. Please help me on this.. I downloaded this file: [CODE]http://www.cproxy.com/download/cpsetup_en.exe[/CODE] Then I decompiled it using [B]Form Extractor[/B] Software.. But VB6 is the only programming language I know.. How can I convert Delphi to VB6? :(

Software Development delphi visual-basic
Member Avatar for anant26692
0
200
Member Avatar for hinz10

Hi I have a file, let's call it file.xml which contains information on the 1st and 3rd line (xml header and footer). What I would like to do is always write to the 2nd line so that the header and footer remain in the correct place. This is a gps …

Software Development python xml
Member Avatar for Gribouillis
0
97
Member Avatar for tokomonster

I just self-taught myself C++. I've got all the basics down, but I'm still working out some of the nuances. Basically, I'm passing an array into a function, and I need the function to be able to pass the length of the array to an integer. I'm using [CODE]int len …

Software Development c++
Member Avatar for tokomonster
0
195
Member Avatar for dinamit875

Hi, there, I have written a program here which shows plane to book a seat, and enter flight info(this part works fine)... but having some small problem here I am using gotoxy and it gives me an error, it says that gotoxy undeclared. Could anyone help me with this please, …

Software Development c++
Member Avatar for dinamit875
0
356
Member Avatar for Simon180

I have a small problem with my code below when making my userlist when i connect a user it doubles the user name in list and am unable to find out why i posted my user list code below i be grateful if sumone can help me when i login …

Software Development pascal
Member Avatar for Simon180
0
120
Member Avatar for Encrypted

I'm not sure if I'm not comparing the strings properly or not, but for some reason my toppingCost function will only return 0 or a huge wacky number (when I mess around with the code a bit). Does anyone see anything wrong with this? [CODE] // represent the cost of …

Software Development c
Member Avatar for Dave Sinkula
0
137
Member Avatar for rom87

hi Im trying to make this code go though every possible string combination at said string length though alpha characters using random number generator to do so.The goal is to make this program tell me how many combinations there are at said circumstances set by user. [CODE] #include <iostream> #include …

Software Development c++
Member Avatar for nezachem
0
138
Member Avatar for supersoup

If you are writing a switch statement that takes in a scanner type, how do you prevent a runtime error if a string or char is entered. [CODE]Scanner s = new Scanner(System.in); int a; a = s.nextInt(); switch(a){ }[/CODE] So if i ran the code and entered "abc" then i …

Software Development java
Member Avatar for BestJewSinceJC
0
117
Member Avatar for jackjones

i am having great difficulty on one of my assignments. AM I NOT ASKING FOR THE CODE, I AM JUST ASKING FOR SOMEONE TO POINT ME IN THE RIGHT DIRECTION SO I CAN DO SOME RESEARCH AND DO IT MYSELF. The specifiaction says " Different locations will be respresented by …

Software Development c c# c++ gui queue
Member Avatar for ddanbe
0
221

The End.