64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for nerdy900

I was working on the being of a cash register and I was testing this portion of my code. It compiles, but when I input my first items name I get a windows error and the program ends. I would appreciate any help an/or explanation. [CODE]#include <iostream> // allows output …

Member Avatar for nerdy900
0
114
Member Avatar for dolly_olaide

Hello, I have a software-based project of using human recognition algorithm to detect an intruder and be able to differentiate if the intruder is human or non-human. Any ideas on what recognition algorithms I could use?:) Thanks!

Member Avatar for dolly_olaide
0
169
Member Avatar for wwsoft

hello , I am making a small game engine and I have 2 header files engine.h and objects.h they both include each other. However it seems that its not getting included into objects.h , what is the "right" way to fix this ? sorry , I'm too lazy to gut …

Member Avatar for wwsoft
0
140
Member Avatar for TotoTitus

I have an asp FileUpload and an asp Button on a page. When i click the button, i want the bytes of the file which was supposedly uploaded to be stored in a session variable. Only problem is that they aren't stored. How should i do this? There's also a …

Member Avatar for TotoTitus
0
3K
Member Avatar for bibiki

hey there, I have the following code: [CODE]import java.awt.*; import javax.swing.*; public class TabelaEShahut extends JPanel{ public static void main(String[] args){ new TabelaEShahut(); } public TabelaEShahut(){ JFrame f = new JFrame(); f.setSize(500, 500); f.setVisible(true); f.setTitle("shah"); f.getContentPane().add(this); } public void paintComponent(Graphics g){ g.setColor(Color.white); g.fillRect(0, 0, 700, 700); g.setColor(Color.red); g.fillRect(50, 50, 400, …

Member Avatar for bibiki
0
347
Member Avatar for Tech B

I have had python2.6 for a while and have un0installed and re-installed it several times. Now when I right click on some source code the option to open with the IDLE is gone. I have tried "open with" but that doesn't work either. I'm on Windows 7 Home.

Member Avatar for Tech B
0
190
Member Avatar for yanni13

Hi, I've got two programs (client and server) using sockets. The program are working fine if I set the client IP to local host (127.0.0.1) or the LAN IP (192.168.0.3), but can't connect if the IP is set to external Internet IP (92.24.xxx.xxx). Anyone have an ideea, please? Thanks!

Member Avatar for yanni13
-1
290
Member Avatar for soUPERMan

I need help to compare letters between two words, the first word letters should be used to compare the letters in the second word... I have an idea that i could use the for loop but im not quite sure how. Please help!

Member Avatar for soUPERMan
0
4K
Member Avatar for jeevsmyd

I have been doing TC++ programing for the last 2 years.. This evening all of a sudden I made the switch to vc++.. here is the code.. my first ever Visual C++ programme.. it is compiling without errors but the console window poped and disappeared quickly.. what is wrong? something …

Member Avatar for WaltP
0
89
Member Avatar for letlet_pogs

Hello. I am trying to return an array and print the values. [code] public class Sample { public static void main(String args[]){ for (int i = 0 ; i<getNames().length;i++){ String a[] = new String[getNames().length]; System.out.println(a[0]); } } public static String[] getNames() { String names[] = {"bob", "jim"}; return names; } …

Member Avatar for balajimarisetti
0
2K
Member Avatar for srsackman

Hi, everyone. I am having difficulty with the following: I have a form with several RequiredFieldValidator controls on it. My user can take path 'A', down which all of these apply, or path 'B', down which only [I]some [/I]of them apply. How can I 'disable' some of my validators (not …

Member Avatar for Ramesh S
0
85
Member Avatar for beforetheyknew

Hi guys i've written a hash table as a collection for a program the key is a string, show below: [CODE]private Hashtable<String, Planes> planesFlying = new Hashtable<String, Planes>();[/CODE] How can i write a comparator to sort this into alphabetical order? i've tried a lot. Do you need to overide equals …

Member Avatar for gangsta1903
0
428
Member Avatar for emilo35

So, a while ago I wrote a SerializableImage class in order to easily bundle several images together into a single file. The class worked fine, both serializing, file I/O and drawing. In another project I'm working on I successfully used a copy of this SerializableImage class, until recently. I had …

Member Avatar for emilo35
0
185
Member Avatar for johnnybgoode
Member Avatar for vegaseat
0
767
Member Avatar for Benjip

I'm hoping to get some help with sorting database results based on the results themselves. I have two tables in this example, one being 'product_category_lookup.table' and the other 'products.table'. The 'product_category_lookup.table' holds data which tells the website which products are associated with which categories. The reason I have a lookup …

Member Avatar for as.bhanuprakash
0
114
Member Avatar for eddan

Yeah I was stupid and pressed (X) on all of the bars to the left you know the "Solution Explorer" I think and alot of more, how do I re-enable them?

Member Avatar for mitrmkar
0
92
Member Avatar for eddan

Hello!! I have started learning c++ and it has been a real sucess until now. My codes that worked before and those that im trying to use now, doesn't work.. I get a compiler error... Here is the code and the error: // tutorialearning.cpp : Defines the entry point for …

Member Avatar for gangsta1903
0
900
Member Avatar for dweaver6
Member Avatar for trupti_rose
-1
8K
Member Avatar for cane23

can anyone offer some help here i have a string that contains course codes. i separate the string into the individual course codes using the explode function. however i want to run a query on each of the course codes that was present in the string and store the result …

Member Avatar for pritaeas
0
129
Member Avatar for drakkar

hello everyone... i`m totally new to vb actually.now using vb express 2008.i`m currently trying to create log in function.basically, i`m already create database (database in vb 2008 itself) for login,which the login table contain 3 columns, Username, Password and Designation.example : [B][U]Username[/U][/B] -- [B][U]Password[/U][/B] -- [B][U]Designation[/U][/B] jack -- 123abc -- …

Member Avatar for drakkar
0
94
Member Avatar for rena0514

[CODE]//PizzaPanel.java Author: Carien Anderson import java.awt.*; import javax.swing.*; import javax.swing.border.*; import javax.swing.JOptionPane; import java.awt.event.*; public class PizzaPanel extends JPanel { public PizzaPanel() { setLayout(new BorderLayout()); setBackground (Color.white); setPreferredSize (new Dimension(700,280)); //North panel JPanel ppan1 = new JPanel(); JLabel l1 = new JLabel("Lets Eat!"); ppan1.add(l1); ppan1.setBackground(Color.green); add(ppan1, BorderLayout.NORTH); //West panel JPanel …

Member Avatar for stultuske
0
138
Member Avatar for yorro

Can anyone tell my why the code... [CODE=vb] Form1.Controls.Remove(myCustomControl) [/CODE] ...does not remove the control. Because whenever I remove a control and add it again, it does not Load but rather just changes its visibility from false to true and all the variables are not reloaded. I tried to use …

Member Avatar for yorro
0
277
Member Avatar for Stefano Mtangoo

Hi guys, I have two bushes to clear up. I have doe SQL fro some time now but I have never done blob. I think the next project will require it. So here are my Question: 1. How blob differ from any other type like text? 2. How to create …

Member Avatar for Stefano Mtangoo
0
122
Member Avatar for PDB1982

I have created an error for letting the user know when they have missed putting input into a text box. When I go to use my clear button, I can't get past the message that says I (the user) need to input information. Is there a way to ignore a …

Member Avatar for kvprajapati
0
73
Member Avatar for leroi green

hey all, i found a way to click a link and load it into a div. the only problem is that i keep getting the "AHA error" from the if statement in my div. i'm not sure if it is me or the coding but i'll post what i'm using …

Member Avatar for memaddy
0
683
Member Avatar for pato wlmc

Well, i'm developing a program, ( API ) and i'd like to use a [url=http://www.snap2objects.com/wp-content/uploads/2009/10/6.jpg]non standar font,[/url] for some section of my program. My question is, how can i do this, i mean, i supose i have to install the font on the user pc, but how do i do …

Member Avatar for pato wlmc
0
207
Member Avatar for ybkumar77

Hi, I am writing a simple program, trying to learn the usage of map. Following is the data, I will be storing in a map and I get a core dump when line No: 54 is being executed. Please let me know if something is wrong in my code. I …

Member Avatar for ybkumar77
0
1K
Member Avatar for Leigh Reed

I am a uni student just starting out with java and getting more confused by the day. Can someone tell me what I have done wrong? It should input all of the strings and place them in the appropriate place in the bottom sentence. [code]import java.util.Scanner; // Needed for the …

Member Avatar for sealxlion
0
148
Member Avatar for ceyesuma

Could someone tell me what has to be changed to get the element name and text of my targetElement? I just get internal frame openFrameCount= 1 start obj() type= guide cmaj name: null value: null name: null value: null name: null value: null cmaj name: null value: null name: null …

Member Avatar for ceyesuma
0
94
Member Avatar for csfriends

send me the algorithm used in artificial passenger device? algorithm used in brain fingerprinting? its urgent plz send me at the earliest.

Member Avatar for peter_budo
-1
183
Member Avatar for jBat

Hi, I'm trying to convert a void pointer to a struct pointer.. that's seems very easy but my compiler give me error. Thanks. /home/subi/Personal/Projects/LinkedListUserInfo/main.cpp||In function ‘error_t parse_opt(int, char*, argp_state*)’:| /home/subi/Personal/Projects/LinkedListUserInfo/main.cpp|50|error: expected primary-expression before ‘)’ token| /home/subi/Personal/Projects/LinkedListUserInfo/main.cpp|50|error: expected ‘;’ before ‘null_pointer’| /home/subi/Personal/Projects/LinkedListUserInfo/main.cpp|48|warning: unused variable ‘null_pointer’| ||=== Build finished: 2 errors, 1 …

Member Avatar for jBat
0
135
Member Avatar for jabbadabba

Here is my code atm [CODE]room_num = raw_input("Enter your room number: ") text_file = open("c:/roombookings.txt", "r") whole_thing = text_file.readline() if room_num in whole_thing: print "Room number found here is the information:" else : print "Room number not found." single_line = whole_thing.split('\n') for single_line in text_file.readlines(): if room_num in single_line: print …

Member Avatar for rueth
0
835
Member Avatar for ashkash

I have a 2d array with x and y coordinates. I need to figure out the north most, south most, east most, and west most points and print them out. I figure the best way to do this is to find the minimum x value and the corresponding point will …

0
69
Member Avatar for bogdanxpose

Hi, I have a question about ajax, php si mysql.. In mysql i have a table playlists and here is the code for php: [code] <?php $playlist_result = mysql_query("SELECT *, COUNT(playlist_id) AS NumOccurrences FROM playlists WHERE created_by=$user_id GROUP BY playlist_id HAVING ( COUNT(playlist_id) > 0 ) ORDER BY date DESC"); …

Member Avatar for Airshow
0
79
Member Avatar for BrianK123

I have a series of of JOptionPanes pop up to get info from the user. However, if the user presses cancel, the machine gets an error (which is prevented). I'm trying to catch this and force the user to make a choice and press OK. MY code doesn't seem do …

Member Avatar for stultuske
0
2K
Member Avatar for nats01282

I am after making my program wait before responding to the users input, what code do i use for this and how do i implement it? [CODE]#include <iostream> using namespace std; int main() { char instuctions = 0; int A = 0; // user input 1 int B = 0; …

Member Avatar for Stefano Mtangoo
0
168
Member Avatar for tryphy

Hi friends, I have a multi form(actually is one whole form, but split into multiple forms). From the image seen When i typed the name data in Form 1, and click the next button and go to Form 2... In Form 2 when i typed the Email data..and then i …

Member Avatar for emhmk1
0
162
Member Avatar for tkud

Hey everyone, I want to start learning socket programming. Ay references and advices will be greatly appreciated!!

Member Avatar for Stefano Mtangoo
0
150
Member Avatar for Sawamura

hi masters.. anyone know what it shell? and how to do it? any code more helps... thx.. Best Regards

Member Avatar for kvprajapati
0
488
Member Avatar for jmguerriero

This is my first post in the Dani community. I am brand new to java, 5 weeks into an intro to computer programming course. My assignment is to create 10 random numbers between 50 and 100. Then I am supposed to sort them from lowest to highest, find the average …

Member Avatar for jmguerriero
0
554
Member Avatar for lloydi12345

hello,i think this is just a simple question but im not really familiar with the basics of VB6.0 so i am asking it, can i ask how can i set integer value on text1.text without making the value visible on the textbox when i run the program? thanks like text1.text …

Member Avatar for student02
0
254
Member Avatar for spesseh

Hi all. This is probably quite a newbish question, but i have a input for a number. From the entered number, i want to extract the first digit in the number. So if the typed in number is 43, i want to extract the 4, but not the 3. In …

Member Avatar for spesseh
0
9K
Member Avatar for kiel19

I am developing a database whre people can register and connect with friends. I am stack at how to store friends. Should I create a Table Friends with fields Friend_ID, Reg_ID, Reg_ID_2. Reg_ID and Reg_ID_2 are values from the Registration table which is the primary key. Thank you for your …

Member Avatar for kiel19
0
153
Member Avatar for cane23

i am having a small problem. I am having some problem getting variables from the first form into another form to be processed. in other words i am processing the same data i got from the first form twice but i want a break between the two blocks that processes …

Member Avatar for cane23
0
113
Member Avatar for thorshammer

My form Submit button has an onClick="myFocus()" call, which looks like: <code> theFocus = document.getElementById('warning'); theFocus.tabIndex = 'auto'; theFocus.style.background = 'red'; theFocus.focus(); </code> It works - briefly. Right after clicking Submit (top of form no longer visible when Submit reached), the focus goes to the target element and turns red …

Member Avatar for thorshammer
0
118
Member Avatar for Stefano Mtangoo

What are rules to observer when writting More than one class in single Java file. Let say three classes on the same file Thansk

Member Avatar for kvprajapati
0
139
Member Avatar for wolfkrug

Can anyone tell me how to execute a program like this, it is written, it compiles, my input and output word documents are both up and running and saved. What do I need to do to get my output document to show results from my program? Thanks.

Member Avatar for jonsca
0
149
Member Avatar for filch

I have a page on which I have broken it down into several forms, which relate to specific categories applied to an awards contest for students. At the top of the page, I have a select list which, when a category is selected, I want it to show a particular …

Member Avatar for filch
0
103
Member Avatar for Sealunar

No matter what I do, I always get the numeric value from the ASCII chart. In this case I get 104, even though I denote Name[2] as a character. [CODE] string Name= "John"; cout << tolower ( char ( Name[2]) ) << endl; [/CODE]

Member Avatar for mrnutty
0
77
Member Avatar for eva yang

Hi, I don't know the difference between class variables and instance variables. Can anybody give me an example? Thank you so much:)

Member Avatar for eva yang
0
146

The End.