132,726 Archived Topics
Remove Filter ![]() | |
I am working on a school assignment and have gotten my code down to one error, but I've tried multiple changes and can't figure out how to fix it. I am trying to pass an array from my main() to my class and then have it print out when called. … Software Development c++ visual-studio | |
I'm getting an error saying: error: passing `const model::container::Item' as `this' argument of `void model::container::Item::get_fields()' discards qualifiers I'm getting the message for each of the getters in my class which are declared like this [code=c] const int& division()const{ get_fields(); return division_; } [/code] I'm assuming I'm getting this error because … Software Development c++ | |
[code] public partial class Form1 : Form { int row, col; int num = 0; public Form1() { InitializeComponent(); } private void generatebutton_Click(object sender, EventArgs e) { int rows = Convert.ToInt32(rowBox.Text); int cols = Convert.ToInt32(colBox.Text); for (int i = 2; i <= rows+1; i++) { for (int j = 4; … Software Development | |
Hi,Is someone could help me how is it possible to implement Generalized Linked Lists? I've implemented it somehow but I'm not sure it works or not. Now I'm going to print the nodes I've implemented.When I want to declare the print function in class Glist with first1 argument,I get this … Software Development c++ | |
Hi. I've got to write some code to get data from an XML document and turn it into C# objects. Problem is that the XML document will not always have the same nodes, since it is produced from a web form that people have filled in varying amounts of (which … Software Development xml | |
Hello! I am very new with Python, so it may be a stupid question. How can I get the height and the width of an image in pixels? Cheers! Dani | |
hi im new in vb.net i need to make a form like this [url]http://img138.imageshack.us/img138/8861/randome.png[/url] [url]http://img153.imageshack.us/img153/7952/random2o.png[/url] [color=#FF0000]For Firstname and Lastname[/color]: When you click to random Button it will auto pick random Firstname from [b]Firstname.txt[/b] and random Lastname from [b]Lastname.txt[/b] [color=#FF0000]For Username:[/color] when you click to random Username Button it will auto … Software Development vb.net | |
Hi all, I am having a problem when trying to compile this. from compiler: error: name lookup of 'pixel_number' changed for new ISO 'for' scoping error: obsolete binding at 'pixel_number' I understand that I cannot use the pixel_number variable outside of the for loop, have read so in other posts. … Software Development c++ programming-construct | |
I am new to C# and have been given someone elses' code to edit. One of the things that needs to be edited is the windows interface. Is there a way to pull up the IDE to edit the generated windows from the .designer.cs file? Thanks! Software Development ide | |
hi there, this question have posted before also, but i ahave some more questions as well. when i try to validate the datagridview cell which evet should i use in the datagrid view. i and using the dgvActions_CellValidating event,but the thing is i want to validate the cell after the … Software Development vb.net | |
This is making me angry. I keep getting a "this method must return a result of type int" error message, but obviously I have a return statement. This is a program that is supposed to perform a sequential search for a string index. [code=java] public static int nameSearch(String[] inOrder, String … Software Development java | |
hi there, currently i starting to learn C++.i using VC++ 2010.hmm,i want to ask why this code must be compile under console application [CODE]#include <iostream> int main() { std::cout << "123"; return 0; }[/CODE] Software Development c++ | |
Can somoene please help me I want to Know how to Drag and Drop to cut files/folders and it opens a folderdialog for the destination:( Software Development vb.net | |
I am doing servlet program. It is working when I run it as a GUI appliction. But when I run it as a web application it arises java.lang.NoClassDefFoundError: java/lang/StringBuilder at SDBApp.service(SDBApp.java:14)please help me. Here is my code. SDBApp.java [code]/*servlet which takes care of inserting rows in Data Base*/ import javax.servlet.*; … | |
hi there, i have asked this question several times but i coudn't solve this problem. i have two datetime picker one as the start date and the othere as the end date. when the user clicks a date in the start date he should not select a date that has … Software Development | |
Trying to get this code to work (bit of guidance and help would make a difference) explanations only are fine.. main method doesn't accept arrayProperty() import java.util.*; class Property { private String ID; private String description; private String location; private double weeklyRR; private char status ; private boolean visibility; public … Software Development java | |
I cannot figure out how to get my icon to display, or get the GUI to flip through my array object. i have many errors that i cannot solve. i hope some one can help me. here is my code. [code] import javax.swing.JFrame;//imports java's JFrame component //----------------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------------- //Main Class … Software Development gui java java-swing user-interface | |
I am trying to compile my code and the error is in my ADT module .h file at this line: void printList(FILE* out, ListRef L); The precise error is "list.h:42: error: expected ‘)’ before ‘*’ token" Everything seems fine to me with the rest of the program but my compiler … Software Development c | |
| |
Hey community members, I'm just from an unsatisfactory search through Google. I'm trying at a program that automatically reads in numerical values dumped into a file by an Algebra software. Problem is, whenever I try to sort out numbers they are not appearing the way I want them to. These … Software Development c++ | |
Hi... Can anybody give me some idea about how to write a xsl to generate expand/collapsable html tree structure for a xml file? Thanks | |
Hi, I have a string that might include a date as substring. For example the string may be "Oct 23, 2008 16:41:58 GMT Unassigned". I would like to check if a substring of the given string can be converted to a date. I tried using: [code] public static bool IsDate(String … Software Development | |
Hi, Iam new to java as iam working for dotnet C#. Can any body tell me the software to convert java code to C#. Please, iam in very much need for it. Thanks in advance, Anjali ... | |
hi, there are 2 different database 1 database have the list of all the users and another DB only have the details of users who are logged in which is production DB. i have writthen below code but i am stuck over here plese do the needful. /** * */ … | |
Hi guys, I am trying to create a cell renderer that will set a background imagefor cells in a JTable I have created, depending on the data inside each cell. I think I will be able to do the rest, but for now I just want to be able to … Software Development java | |
Hey guys, First post here. This community looks create. I'm working on a final school project and we must move the cursor to a designated position without the use of: mouse_event() SetCursorPos() we then need to perform a check to say if the position is correct with the numbers we … Software Development c++ | |
Hello, I had start a thread for how to attach a database on our program. I was really thankful to daniweb. I have create project on windows application (C#) back end is SQL server2005 I have dettach my database from SQL servr2005 and attach database in Visual Studio 2008 But … Software Development dataset display visual-studio | |
Please any one can help at this problem I have with javac. I have download the java jdk1.5.0_15 at least 20 times in three (3) machins and it do not compile. Actualy it can not read the file. Javac is installed and is on bin, when I type javac it … Software Development java | |
when i enter '1' .. the cout is connected,i cant even input the 1st line,which is the 'name = '.. help me pls. [CODE]#include<iostream> #include<string> using namespace std; void main() { int input; int choose; string name; string icNum; string parentName; string address; string TelNum, parentTelNum; cout << "\n\t\t\t STUDENT … Software Development c++ | |
any one know how to search a string array for a particular value a then remove it from there without keeping a null element to find the element where the value exists and then to remove the element Please if any one know how to do it give me an … Software Development | |
[CODE] a = textBox3.Text; if (listBox1.Items.Contains(a) == true) { textBox4.Text = b; }[/CODE] i haven't manage to step into the if statement. am i doing something wrong? Software Development | |
Hi all, why do I get an error with this line of code? [CODE]string test("a" + "b" + "c");[/CODE] error C2110: '+' : cannot add two pointers I have included the string class. thanks. Software Development c++ | |
Hi, I am trying to run an application that is developed in python and compiled in python 2.5 I have upgraded fedora 10 to fedora 13 now i am trying to install that application and run it fedora 13 it gives me an error File "kb.py", line 8, in <module> … Software Development python | |
I have two form the parent form with the menu list and the child form. I want to show the two form simultaneously or the main menu first and then the child form.Is it possible? Any idea? Software Development vb.net | |
i have a windows form application, and i want that when i execute the program, program must show me the main form quickly, but my program firstly do some operations (connecting to sql, filling the combobox etc. ) because in form_load function i call a function to fill the combo … Software Development | |
Hello! I want to underline a word in a sentence in vb .net. Any idea? | |
Hi, Need Urgent help..!!! I have a xsl to display all the xml elements in a html page. It works fine but i m not able to generate a proper indentation or format. Even a new line character doesnt work. I have pasted below the xsl ,Please help me out … Software Development xml | |
why when i add private int yearpublished; my program has an error what is my mistake can you please help to fix it ------------------------------------------------------ this is the error that came out C:\goh>javac libmainsys.java libmainsys.java:19: ';' expected yearpublished = yrpub ^ libmainsys.java:28: cannot resolve symbol symbol : variable yearpublish location: class … Software Development java | |
I just learned about dictionaries in Python and tried to implement them into a program I developed. The folders in the dictionary absolutely MUST be created in the listed order. But if for whatever reason they cannot be created, I want the name I specify to be printed instead of … Software Development python | |
[TEX]hi can someone help me about creating an autonumber in vb.net... can i make an autonumber with out using data base? can someone give a sample code TY[/TEX] Software Development vb.net | |
just want to design a software that called reminder sofrware. Its like resource project.And ı dont know even how to start. Its gonna be a software that is designed to alert the user of important events that they have input to the program and the program provide a calendar and/or … Software Development c++ database-design gui visual-basic | |
lost!!! I took a homework assignment that worked written in just main and for practice I wanted to make them classes with pointers and have one derived class of base. Although the while loop, for the most part worked before it was turned into a class, it now does not … | |
Dear All Precious programmer, I have a problem in trying to get a list of a date including days in a table start from first day of the month to the last day of the month. This date should not include the satuday and sunday. and I should be able … Software Development vb.net | |
I used this. [CODE] private void dataGridView1_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e) { textBox1.Text = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString(); }[/CODE] It works, but when I click the column header of the gridview, it shows an error. Index was out of range. Must be non-negative and less than the size of the collection. Parameter name:index How … Software Development | |
Hey! I have a program that searches for a word in a .txt file. When it finds the word I want to print the following 5 lines under that word. So for example: I search for "juice", and my label grabs this out of the textfile: juice apple grape orange … | |
hi, Im just a novice in shell scripting,can you help me out; all inbound files will now have timestamp. the timestamp will be get from a server,specifically on a Moveit server. any help will do.. thanks. Software Development shell-scripting | |
Hi all.. I want to know the file descriptor of a file that I have opened in my program. I know open(char*,int,int) returns a file descriptor. What if use fstream out("...").. Is there any way to know the file descriptor this way?? thnx. Software Development c++ file-system | |
I'm experimenting with GDI+. Say I have a box and want it to move across the screen on a keypress. Do I have to clear the screen and redraw everything everytime I want to move the box? Or is there a way to just change the coordinates of the box? Software Development c++ | |
can you guys help me out i dont know any of the c++ functions and i dont know how to convert this tnx in advance [CODE]#include <iostream> #include <stdlib.h> #include <fstream> using namespace std; struct student { char fname[100]; char lname[100]; int id; float cgpa; }; int add( student * … |
The End.