64,152 Solved Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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() { … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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} ; … | |
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 … | |
--------------------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 | |
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 | |
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 … | |
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++; … | |
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 … | |
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 | |
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 … | |
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 … | |
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. | |
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 … | |
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 < … | |
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") … | |
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 … | |
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 … | |
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 … | |
i would like to know wheather cookies handles passwords.if so where they contain. | |
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 … | |
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 … | |
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++) … | |
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() … | |
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 … | |
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. | |
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 … | |
Hi All, Can anyone please tell me how can i get the socket.dll for writing socket programming in php. Thanks | |
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 … | |
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 … | |
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. … | |
[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 != … | |
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! | |
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 … | |
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 … | |
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 … | |
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 | |
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). … | |
Does any one know the code to retreve process info and put it in a box like task manager? | |
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, … |
The End.