64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for joshmo

Hey all.. I have 3 classes in my program but Iam having trouble accesing a method in another class. Iam getting the error message cannot find symbol method printInfo(). Below is the code [code=cpp] class Book{ private String author; private String title; private int year; private Chapter first; private Chapter …

Member Avatar for joshmo
0
219
Member Avatar for OutOfReach

Ok I'll get straight to the point, how can a create a search box? You know, you type something in and it filters out the ones that don't match. Is there a special widget for this? Or would I have to create a normal lineedit widget and do all the …

Member Avatar for OutOfReach
0
206
Member Avatar for tracethepath

i have made a program on text file to remove extra blank spaces in a file but it is not working correctly. when i run the program just "enter text" appears and after entering the text the screen just remains as it was. Nothing else appears. I cant find where …

Member Avatar for udayasankar
0
9K
Member Avatar for Don Gino

Hey, I made a VB project which saves and loads data by writing and reading from an MS Access database. One problem is when i run the exe on a different computer i get the "Runtime Error 91 Object variable or width block not set " error. Now I am …

Member Avatar for Don Gino
0
157
Member Avatar for khbummy

Is Generics needed for this? TIA [code=c#] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace VehicleWorld { public class Car { private int topSpeed; public Car() { } public Car Select(int topSpeed) { Car c = new Car(); c.topSpeed = topSpeed; return c; } public override string ToString() { …

Member Avatar for khbummy
0
133
Member Avatar for Pikachumanson

I am making a character generator for school. What I have to do is make my CalcPoints method abstract. Unfortunately I keep getting These three error for each of my derived character classes and I don't know what to do. C:\Users\Hector Rosario\Documents\Visual Studio 2008\Projects\Rosario_Week3\ConsoleApplication2\Program.cs(126,26): error CS0115: 'UltimateWarrior.CalcPoints()': no suitable method …

Member Avatar for LizR
0
165
Member Avatar for MikeGer

The problem I'm having is with visual web development you do not get a index.htm page and my hosting server needs that for it's first page. I've tried using Home.aspx and default.aspx and nothing seems to work. the vendor tells me it needs and index.htm that's it. what do I …

Member Avatar for MikeGer
0
253
Member Avatar for eenceo

I made an mp3 player in Delphi. I set it up to register it's playlist file type. Now when you double click on a playlist in explorer it opens my player, like it should. How do I find out what file they clicked on to process? Google was useless for …

Member Avatar for eenceo
0
84
Member Avatar for innovativeatul

Hello Every body i have 6 yrs. of experience in designing but now i want to switch myself to developer. I have some questions and confusion in mind : Which one is long term PHP or .net (which will be good for my career) How to start ? Pls. i …

Member Avatar for R0bb0b
0
148
Member Avatar for dineshdileep

Hi guys, i am a beginner with python, (in fact, i started yesterday) I have some experience with C and CPP. So somethings in python just surprises me(happily, i dont want to say confuses) [code=python] #consider there is a file object infile while 1: line=infile.readline(); if not line: break print …

Member Avatar for zachabesh
0
91
Member Avatar for Dio1080

The program compiles but is not run right can somebody help plz? There are two parts a class and a main. [code=java] public class LinkedList56 { private class node{ int data; node next; } //create an empty linked list public LinkedList56(){ first = null; } //return true if the list …

Member Avatar for Dio1080
0
140
Member Avatar for psycheheaven

I have the following code, which creates children process. Children process is a shell script on unix platform, which prints two lines to stdout. Parent process reads that output via the pipe: [code=c++] char *shell_command = "cd /home/user; for infofile in *.info ; do grep -q 'PID: 10631$' ${infofile} ; …

Member Avatar for psycheheaven
0
110
Member Avatar for scrypt3r

I know how to search files, but what i dont know is how to get VB.net to Read the first line of a text file then search pc for it Read the second line of a text file then search pc for it and keep going till it reaches the …

Member Avatar for scrypt3r
0
99
Member Avatar for errorman

--------------------Configuration: dark blade - Win32 Debug-------------------- Linking... LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16 Debug/dark blade.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. dark blade.exe - 2 error(s), 0 warning(s) that is what I get when building my project the files are below

Member Avatar for Narue
0
164
Member Avatar for thillai

Hi everybody, I am new to JSP.So i may ask simple questions to u..i hope anyone will reply me. when and how the Business functions( written in bean )are called? by JSP or anything else

Member Avatar for peter_budo
0
68
Member Avatar for Dawee1

Hello, I have problem to understand the code below: [code] #define LCD_DATA_REG (*(unsigned char*)( 0xC000 )) // Data Register #define LCD_CTRL_REG (*(unsigned char*)( 0x8000 )) // CTRL Register [/code] I know basics about pointers and I know how to understand pointers to functions, arrays, structures, int, ... However I don't …

Member Avatar for Dawee1
0
102
Member Avatar for Minimandz

Please could sum1 help me with this: I'm trying to read text from a file using the Scanner class and i'm not sure y its not throwing the FileNotFound Exception try { Scanner sc = new Scanner (new File ("Food.txt")); wordList[num] = sc.next(); while(sc.hasNext()) { wordList[num] = sc.next(); System.out.println(wordList[num]); num++; …

Member Avatar for Minimandz
0
136
Member Avatar for mabuse

The same source code is compiled with g++ (linux) and with visual c++. I found that the program runs much slower on the second one (0.03 seconds vs 0.359 seconds). The program uses <vector> and does a convolution: [CODE] void DSP_fir_gen1 ( vector < double > *x, double *h, vector …

Member Avatar for mabuse
0
479
Member Avatar for veledrom

Hi, Ho do i find out which month has how many days with PHP? Ok July is 31 days but, how can i calculate it? Thanks

Member Avatar for veledrom
0
98
Member Avatar for curt22

Hi everyone, I'm trying to write a server application, but I'm having a bit of trouble. I keep getting this error [CODE]The name 'srvr' does not exist in the current context[/CODE] I'm pretty sure I know what the problem is, but I don't know how to fix it. I have …

Member Avatar for miculnegru
0
265
Member Avatar for ceyesuma

Hibernate: select trips0_.PERSONID as PERSONID1_, trips0_.TRIPID as TRIPID1_, trips0_.TRIPID as TRIPID1_0_, trips0_.PERSONID as PERSONID1_0_, trips0_.DEPDATE as DEPDATE1_0_, trips0_.DEPCITY as DEPCITY1_0_, trips0_.DESTCITY as DESTCITY1_0_, trips0_.TRIPTYPEID as TRIPTYPEID1_0_ from TRIP trips0_ where trips0_.PERSONID=? I got this output(above) when I did a System.out on a List. Does this make sense to you. I …

Member Avatar for ceyesuma
-1
161
Member Avatar for madhavipoudala

hai every one who can help me. i want to know some demo projects in java where we can find them. please help me giving some websites and how to search in google. thanks in advance one and all.

Member Avatar for madhavipoudala
0
117
Member Avatar for OmniX

Im looking for a microsoft excel example. I found this here [url]http://www.daniweb.com/forums/thread102795.html[/url] but dosent give a small example of code in work. What I gathered from the above thread was: - You cannot write to xls extensions (What about xlsx 2008 office? & can you write to xls?) - Each …

Member Avatar for l4z3r
0
252
Member Avatar for henpecked1

How do you delete the front cell of an array in an array based circular queue? Here's the Queue cpp functions [code] #include <iostream> #include <string> #include "Contributor.h" #include "myQueue.h" using namespace std; myQueue::myQueue() { front=0; rear =0; Index=0; size= 0; ArrayQ[10]; } myQueue::myQueue(const myQueue &CCmyQueue) { for(int i=0;i < …

Member Avatar for littlestone
0
153
Member Avatar for iamnoangel26

My programs is using MS Access as its database. If by chance I must use other database like foxpro, must I rewrite my entire program? Or I just need to do minor changes because I change database applications, like for example ("select * from msaccess" to "select * from foxpro") …

Member Avatar for iamnoangel26
0
103
Member Avatar for Venom Rush

I'm not entirely sure if this is actually possible. Haven't found anything yet. What I'd like to do is have a page that lists numerous articles. Then when you click on the "Read more..." link I want to go through to a template page that would pull all the info …

Member Avatar for masala_curry
0
1K
Member Avatar for g_e_young

Hi All, First, let me say that -daniweb- has been a great help for me as I've gotten back into programming over the last 6 months (after a 10 year respite). I've put together some decent code, but Python finally has me stumped. I have some code that generates some …

Member Avatar for g_e_young
0
1K
Member Avatar for jrtjrt

I have been using doctest for a while and just recently started using the logging module. Each works fine separately, but they don't seem to play nice together. It looks like doctest hijacks sys.stdout to do its thing. My logger prints to the screen if not in batch and to …

Member Avatar for jrtjrt
0
445
Member Avatar for ravikiran032
Member Avatar for jwenting
0
156
Member Avatar for Gentile

I am trying to come up with a good class design to deal with asynchronous data to be stored and analyzed over multiple time frames. I obtain data elements from an asynchronous data source (i.e. the data arrives at irregular time intervals) and wish to place them in a container …

Member Avatar for vijayan121
0
119
Member Avatar for choudhuryshouvi

I've developed a software using VB6 and MSSQL 7.0. Now I need to create a backup-restore program on behalf of my software. For this I need to fetch down all the table names located inside the database used in the software. My database name is -->BILLING_SYSTEM and I've also created …

Member Avatar for dhanya_piit
0
191
Member Avatar for plike922

I cant find whats wrong to this program... im new to C... Please help. [CODE]#include <stdio.h> #include "genlib.h" #include "simpio.h" #define size 5 #define size2 3 void getArray (int numbers[][]); void checkArray (int numbers[][],int space[][]); int main() { int numbers[size][size], i, c, x, y; bool space[size][size]; for (i=1; i<size; i++) …

Member Avatar for Salem
0
363
Member Avatar for hanzi_ru

i need to update new records to the database. i created a button and typed the below mentioned code But an error saying,"Current recordset does not support updating. this may be a limitation of the provider, or of the selected loc type" appears. Could you please help Private Sub Command3_Click() …

Member Avatar for aktharshaik
0
2K
Member Avatar for henpecked1

I'm having trouble getting my delete function to work for a singly linked list. If I try to delete anything other than the entire list, it deletes everything up to that node. I know there is something wrong with it, but I can't tell what it is. I would like …

Member Avatar for henpecked1
0
183
Member Avatar for abu taher

I saw a project where was a (like) combo box. when it was click a mini calendar show and today date is marked with a red oval. Please tell me how i make it.

Member Avatar for aktharshaik
0
129
Member Avatar for dottomm

Thanks in advance for anyone who can help me with this query. I want to select all from table one and the matching image from table two. Using the following inner join query works great: [code] $result=mysql_query("SELECT * FROM members inner join avatars on members.user_id=avatars.user_id where members.user_id ='{$user_id}'");[/code] but if …

Member Avatar for dickersonka
0
169
Member Avatar for rati

Hi All, Can anyone please tell me how can i get the socket.dll for writing socket programming in php. Thanks

Member Avatar for nikesh.yadav
0
64
Member Avatar for Falkoner1

Okay, I have many questions, mainly about subjects that haven't been discussed well in my school class, although I also have a few questions pertaining to a RPG I've been working on. 1. Threads. I've tried to search for a good tutorial on their basics, but I can't seem to …

Member Avatar for Falkoner1
0
153
Member Avatar for scrypt3r
Member Avatar for joshmo

Hey all..am quite new to Java and I have encoutered a problem with my program. I am getting the error message "cannot find symbol constructor". I have tried to figure it out but I have failed. I have read around that adding an empty constructor would help but this is …

Member Avatar for joshmo
0
2K
Member Avatar for kohuke

Hi. Me again. I was wondering how could i code my jsp page when i want the following page. I have the main contract page where you can see the certain property that is in that contract. Contract and Property are connected by contractproperty which contains both contractID and propertyID. …

0
100
Member Avatar for dexter1984

[CODE=cpp]void choiceSelect() { int choice; char exitconfirm[100]; printmenu(); cin >> choice; if (isdigit(choice)) { if (choice == 7) { cout << "Exiting program. Enter yes to confirm.\n"; cin.ignore(); cin.getline (exitconfirm, 100, '\n'); if (strcmp ("yes", exitconfirm) == 0) { exit (1); } else { choiceSelect(); } } while (choice != …

Member Avatar for dexter1984
0
104
Member Avatar for Duki

Hey everyone, is this the most efficient way to round a decimal number to two decimal places? [code] txtXaxis.Text = String.Format("{0:F2}", A); //show 2 decimal places txtYaxis.Text = String.Format("{0:F2}", V); //show 2 decimal places[/code] thanks!

Member Avatar for Duki
0
74
Member Avatar for dmanw100

I'm having trouble getting fstream to function properly. I cannot open a text file while using any of the available parameters. My program calls mainprog() and functions correctly if I compile it as follows: [CODE]fstream openfile; openfile("my_file.txt"); if(openfile.fail()) { cout<<"Error opening file."; } else { mainprog(); }[/CODE] But if I …

Member Avatar for l4z3r
0
159
Member Avatar for KoaMali

I would like to search a multidimensional associative array for a specific Link value, then return a subset of all of the arrays that contain the same Category of the Link value passed to it. How can array_search find the Link? Once I find the right Link value, how can …

Member Avatar for KoaMali
0
551
Member Avatar for ceyesuma

I know it is a rookie question but how do I get the system to print what is in personList? [code] private void buildPersonOptions() { List<Person> personList = null; try { Session session = HibernateUtil.getSessionFactory().getCurrentSession(); Transaction tx = session.beginTransaction(); Query q = session.createQuery("from Person"); personList = (List<Person>) q.list(); } catch …

Member Avatar for ceyesuma
0
75
Member Avatar for laxviji143

Hi, i want to disable the tabs in the tabcontrol except the selected tab in the C# windows application..Can u please help me ..I dont find any properties to disable the tab pages

Member Avatar for laxviji143
0
111
Member Avatar for Stefano Mtangoo

I'm really enjoying python in my Netbeans IDE. I would like to know extensive difference between these version of Python: Cpython, Jython, Iron python, pypy .....etc (You can add it). What is the main difference? Why all these versions? What are end products of all these versions? (.exe, .jar, etc). …

Member Avatar for Stefano Mtangoo
0
207
Member Avatar for scrypt3r

Does any one know the code to retreve process info and put it in a box like task manager?

Member Avatar for scrypt3r
0
154
Member Avatar for doel.jangkrik

I am not sure if I am in the right forum. If not, I apologize. ------------------------------- I've been working on an assignment in school using Visual Studio. I want to continue at home so I downloaded Visual Studio Express, but I don't know how to transfer the files! In Eclipse, …

Member Avatar for LizR
0
3K

The End.