199,114 Archived Topics
Remove Filter ![]() | |
These are the errors that i am getting J:Project 2Binary.cpp: In constructor `binary::binary()': J:Project 2Binary.cpp:37: error: no match for 'operator=' in '((binary*)this)->binary::head_ptr = 0' J:Project 2Binary.cpp:6: note: candidates are: nodeType& nodeType::operator=(const nodeType&) J:Project 2Binary.cpp: In copy constructor `binary::binary(const binary&)': J:Project 2Binary.cpp:43: error: invalid initialization of reference of type 'nodeType*&' from … | |
I have develop a functor array without class but fail to write a functor relate to class. Here is the code without class int returnOne (void) { int a = 0; a++; return 10; } int returnTwo (void) { int a = 0; a++; return 20; } typedef int (*functor2) … | |
Using SQL I have to SUM the total of each game but I can only select the games that have more than 10 scores in total . So `select GameNo,sum(goals) from tblGame, tblAthlete.` But I'm stuck on the 'where' bit.....`select GameNO where (sum(goals)>=10);` So not only do I have to … | |
It's been a long time since I don't post here, even forgot my username. Sorry if this is the wrong section. I can't get the $_POST['name'] values sent from an html form on my php file. I've seen lots of similar questions but nothing helped. I have lot's of includes … | |
I have several rollover images that resize, then return to original when moused over. When an image animates, its movements are sequential, not synchronous. It gets taller, then wider. I want these to happen at the same time. Any thoughts? Here's a snippet of my current animation: $(".square.one,#link_nest").mouseenter(function(){ if ($(".the-nest")[0]){ … | |
I'm writing a jquery script that is to be run in a large number of websites all written in different ways. My intention is to place certain html tags around bits of text within the code - sounds simple? But it isn't. One approach which I've tried is to use … | |
So i got a color selector from http://www.eyecon.ro/colorpicker/ How do i save the selected color code in a php var so i can insert it in a MySQL db ? | |
![]() | using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Xml; using System.IO; namespace Enrolement { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { /* This part of my code imports the … ![]() |
Hello Guys I Have A Question.. I have a Table for My Daily Reports.. But I dont know to Show the Daily, Weekly, Monthly and Annual Reports. What Should I do? | |
Hy all, I'm developing a windowsforms app and I'm trying to use threads. public void Thread1(DataTable dt2,DataTable dt,int x,int y) { string cui = ""; string cod_asis = ""; for (int i = x; i < y; i++)//dt.Rows.Count { var currentRow = dt.Rows[i]; cui = currentRow["cui"].ToString().Trim(); cod_asis = currentRow["cod_asis"].ToString().Trim(); cui … | |
Is there any FREE CMS for mp3 ? It tried but did not find good one. | |
Hi to all, What is the use of <configuration> <system.windows.forms jitDebugging="true" /> </configuration> ? | |
I have a project that contains regular resources in `Properties\Resources.resx`. Next to that, I have a folder named `Scripts` containing files, marked as "Embedded Resource". When I do: var resourceNames = Assembly.GetExecutingAssembly().GetManifestResourceNames(); I get a list of resources, containing both. What I would like to have is a list of … | |
I have a page on my site where I want to update only certain fields. There is a php form tht captures the data. Currently, when I update one field - it blanks out all the others. I want to be able to only update the one field and if … | |
I want to use a localStorage variable in a PHP page. Very simple but "strange". AJAX comes to mind. Whats the best form to do this? Thanks | |
I am trying to develop a VIOP web application. Please does any body no how to do this in asp.net | |
Hi Guys, OK, i've been through nearly all the properties possible in VS2010 to try and find how to do this most basic of tasks. Look at Screenshot 25... This is how it shows at the moment. Now look at Screenshot 26... This is How I WANT it too look … | |
hello guys, i have an sql statement that is supposed to be returning data from two tables that i have joined. Here is the code below: sql = "SELECT rooms.roomID, rooms.roomNumber, rooms.roomStatus, " & _ "roomType.roomType, roomType.adultRate, roomType.childrenRate, roomType.roomTypeID FROM rooms " & _ "JOIN roomType on rooms.roomType = roomType.roomTypeID" … | |
Greetings, I want to know what is the best practices when setting new database options? which options I should switch them from False to True and vice versa | |
Good Day i have been hit by this error this night. I have a UDF defined like this CREATE FUNCTION [dbo].[funcFormatPercentages_Extended_numeric] ( -- Add the parameters for the function here @parPercentageToBeFormatted nvarchar(20) ) RETURNS nvarchar(20) AS BEGIN RETURN CAST(CAST(convert(float,@parPercentageToBeFormatted)* 100 AS decimal(4, 1)) AS nvarchar(5)) + N'%' END so i … | |
i am new in Java. i would like to know how to find the nth root of any positive number using recursion. Is there any way i can do this without using math.pow()? | |
I am trying to use a simple println(...) statement to display the value of a variable from a separate class. The two separate classes are linked. AbacusModel class has an array 'peg_array' which stores the number of counters present in each of the elements of the array. AbacusModel has a … | |
Hi Guys, I have a Dataset which has been populated correctly now (after a bit of a blonde moment earlier). I've decided to go for a ComboBox Drop-Down option which currently is showing the "companyname" Column of the DataSet. However, How do I go about Getting Text boxes to To … | |
i have problem when i am accessing package of different directory. can we access a package in a single java file that are lies in two different drive/directories? Eg. My one package p1 is in d:/ having class abc.java My another package p2 is in e:/ having class pqr.java can … | |
how to install jdbc driver for mysql java connector | |
hello, Iv recently been working on a compiler, so far i have a fairly decent working lexical analyzer and token scanner. So i can break down the code into a series of tokens and analyze them for correct strucutre. I also understand how to generate x86 instructions. However im lost … | |
I have two question in my mind. can we create java file having two classes and both have main methods? is it possible or not? why? if possible then we have to save it with which class name? and one more question is: `BufferedReader br = new InputStreamReader(new FileInputStream(new File("abc.txt")));` … | |
Hello Friends I am VB.NET Programmer and currently working on a project where i have to search from combobox. I am retreving the data from database(MS ACCESS) and loading it in combobox at form load event I have set the following properties in combobox for search : 1. AutoCompleteMode TO … | |
Hi experts, I have listview table but when I click or double click the row the data could be changed or edited? How could I disable it but still able to select every row? Many thanks! Kimangel | |
I have .exe file called Myapp.exe.. Now i want to convert .exe to jar file.. That jar file should work in non java system also? I dont have any idea to implement it.. Can anyone plz suggest me how to do it? Thanks in advance.. | |
I have to create a system design for a cashier system. Most of the transactions would be payments for fees in a student account. Fees like Tuition, Books, Enrollment Fees. The problem with these fees are their special characteristics like Tuition fees being staggered in MONTHLY itemization (if that's a … | |
Hi to all i just cant get the grasp of what im trying to do basically i'm making a script that will higlight a certain **data(Date /time)** in my table if data < 3 min of current time.. ex $data="March 12, 2013, 16:18"; $current_time="March 12, 2013, 16:20" if($data< 3min of … | |
Hi everyone, I have made a desktop application in NetBeans IDE 7.3. In the dist folder ,there is my project's executable jar file. But by double clicking it is not opening. Can anybody make suggestions about it, Thanks in advance | |
Hello, I am trying to create a a transaction, and to do this I need to parse in my Session data into my Database. My function looks as follows function createTransaction(){ // Insert into the transactions table $query1 = mysql_query("INSERT INTO transactions (mem_id, OrderDate, Ship_Phone, Ship_Address, Ship_City, Ship_County, Ship_PostCode, Ship_Country) … | |
Hello guys I mentioned earlier that I have installed mod_security module first everything was works fine until I've tried to upload large files my chmod for upload dirctory was 777 and when uploading file its ends with Internal Server Error I've changed the chmod of upload folder to 755 and … | |
Hello Community, I'm trying to dynamically add a menuitem to my context menu and add a click handler but for some reason it won't add the handler what did a do wrong? Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click For Each Line In RichTextBox1.Lines Dim NewItem As … | |
Okay so i have this script that will upload and remane the file to image.png which works perfect. what i am trying to get is when uploaded number the image in order image1.png image2.png image3.png if (isset($_POST['submit'])) { $newext = '.png'; $filename = $_FILES["file"]["name"]; $file_basename = substr($filename, 0, strripos($filename, '.')); … | |
Here we go again. I've installed SQL Server 2008. I can't seem to find my database I've created (and there are two tables so far) that were created through Visual Studio 2010 Express (I'm coding in VB). If it helps, I've determined that the database is a ".Net Framework Data … | |
Hi Guys, Can you give me an idea how to secure a login page after logout wherein when I click the back button of the browser it will not redirect the page in the last page viewed, I read a lot of thread and saying that its all about session, … | |
Hello I'm having Trouble here in my ms chart.  as you can see the chart in the right side the secondary axis i want it to be fixed in the line of the primary axis in the left side Public Sub Chart_BU_GP_vs_Target() With Chart_EBU_GP_vs_Target .Series.Clear() .Legends.Clear() .ChartAreas("ChartArea1").AxisX.MinorTickMark.Enabled = … | |
system.net.sockets.socketexception(0x80004005) no connection could be made because the target machine actively refused it 192.168.1.7:1024 i need to know what is the problem and how can solve i try to ping that 192.168.1.7 (this access point take ip through tcp/ ip module )and that replay no problem using System; using System.Collections.Generic; … | |
Hello, I am new in trying to figure out how to use two classes together. One class is called circle, and is supposed to hold attributes of radius and area. It is also supposed to have the methods of print and computeArea. public class Circle { //global data private double … | |
I am about to deploy my application and have came into a bit of trouble. I have the connection string for the database held in the application.settings and need a way to check if the database exists when the program first starts up, and if it doesn't, i need the … | |
Hi there I have a C++ code and I need to write it in C to do the simulation. Can anyone help? Thank you so much. and for random.hpp I will replace that with random.c (a random number generator in c) #include <cmath> #include <cstdlib> #include <fstream> #include <iostream> #include … | |
hello i have problem with sending emails i have good SMTP and port but the message cant be sendend gives me this error: Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1 and here is the code: final String username = "stefanrafaa@gmail.com"; … | |
Hey guys i have a .exe file called game.exe and its only 1.4MB big. i want to increase the file size to around 7MB and i have not got the source just the executable program. is it possible to do this? thanks | |
I am working with a tabbed form. On the first tab I have a datagridview with customers in it and a searching textbox. I have that working. On the second tab I am placing another datagridview with customer transactions and other data. The customer transaction table has a CustomerID Column … | |
I have an ajax call, and am wondering how I can fade in the response. The short code is this, I believe that is what you need to be able to tell what extra code should be added to achieve the fade in effect. PS: It is not made in … |
The End.