199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for XodoX

I have a small code utilizing a hash table. Now I want to convert it, basically, to a distributed hash table. Hoever, I can not find out how you actually code one or what changes you make to an existing hash table...??? Can anyone please help me, please? I can …

Member Avatar for L7Sqr
0
175
Member Avatar for vishalonne

I want to give 2 option for 5th subjects depending on stream choice. Means if user select Commerce then he/she must able to select any 1 subject from drop down either IP or Other same for other streams. – <!-- 1st select block will look like this --> <td>Stream : …

Member Avatar for diafol
0
282
Member Avatar for network18

Hello, I have an event ('show' & 'click') bounded to the element to make it scrollable using the jquery '.on' method but when I try to bind another event on click like below the alert does not show up - `$('.elem').on('show', function(){//some code here}).on('click', function(){alert($(this).text())});` what I am actually trying …

Member Avatar for network18
0
142
Member Avatar for SimonIoa

I have this on my error log. GET /wall/roves/378 HTTP/1.1" 404 212 i know it means that page its not found but i cant figure out why? its an Apache thing?

Member Avatar for SimonIoa
0
178
Member Avatar for durgesh1

Hello thanks in advance i working on project i used query select project_table.project_id as proid,resource_request.*,sum(resource_table.resource_budget)as resourcecost,resource_table.* from project_table left join resource_request on resource_request.project_id = resource_request.project_id left join resource_table on resource_table.resource_id = resource_request.resource_id GROUP BY proid ORDER BY proid DESC its worked but resourcecost is displaying for all project id if …

Member Avatar for durgesh1
0
159
Member Avatar for sami9356

: Give at least two problems that we should check when we overloading assignemts oprater ("=") in string class?

Member Avatar for mike_2000_17
0
205
Member Avatar for bob_8

Hi i am a begginer in learning computer science and i received a assignment question on arrays. The question asks me to split the characterArray= joe,487 into two seperate variables, one is a variable called idArray where the numbers 487 will go, then i have to have three spaces for …

Member Avatar for nouth
0
823
Member Avatar for sileshi nibret

#include<iostream> using namespace std; struct node int data; node*next; }; node*head=0; void input_at_end(); void display (); void del(); int main(){ for(int i=1;i<=3;i++){ input_at_end(); display(); } del(); cout<<"\nafter deleting"<<endl; display(); } void input_at_end(){ node*temp; temp=new node; cout<<"enter data"; cin>>temp->data; temp->next=NULL; if(head==NULL){ head=temp; } else{ node*temp2; temp2=head; while(temp2->next !=NULL){ temp2=temp2->next; } temp2->next=temp; …

Member Avatar for Ancient Dragon
0
281
Member Avatar for Antpit

Hi I have the following code that uploads images and other files to an SQL Server DB on GoDaddy via a FileUpload Control on an aspx page. Public Function InsertData(ByVal cmd As SqlCommand) As Boolean Dim strConnString As String = System.Configuration.ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString Dim con As New SqlConnection(strConnString) cmd.CommandType = CommandType.Text cmd.Connection …

Member Avatar for Antpit
0
355
Member Avatar for shivakr

i am lerning advanced java so while practising the jstl topic i get this error on the eclipse browser... i had deployed the "jstl1-2.jar" then also this error is comming can anyone help me to find out what is the reason behind this HTTP Status 500 - The absolute uri: …

Member Avatar for peter_budo
0
245
Member Avatar for ShadowFox88

The system is able to find grade for each course based on final marks, calculate GPA, Calculate CGPA. Methods (menu); i. Input matric_number, name, coursecode, credithours, semester, final marks for each subject. You may use text file ii. Calculate GPA and CGPA for each student. iii. Search a student record …

Member Avatar for stultuske
0
3K
Member Avatar for camillee

i want to make a pop window like in javascript, when a user enters invalid username or password, a window appears requesting valid information. how can i do that please?

Member Avatar for diafol
0
5K
Member Avatar for saraazee

Can any one tell me the php code to retrieve data from database by month and year. it should be displayed all details of the table according to the selected month and date. i need php code and the database.

Member Avatar for diafol
0
255
Member Avatar for rchawdhari

I want to print series like A,B,C ......AB or T,U,V,.....AB or BA,BB,BC,.....CA in series i will input start and end characters can anybody give me logic Thanks

Member Avatar for diafol
0
387
Member Avatar for nagarajfloret

Hi, I need free API or Plugins using php for converting Webpage to Image. i.e. Jpg or png format I've tried api's like 1.webthumbnail.org 2.http://www.w3snapshot.com/support.php

Member Avatar for veedeoo
0
219
Member Avatar for ankit1122
Member Avatar for krunal1986

Hi, I have migrated OS from XP to win8.1. Earlier in my VB application, I was sending email thourgh my outlook object. set outapp = createObject("Outlook.application") but now I am getting error "ActiveX Compponent Can't create Object." as i have migrated my OS. is there any other change in code? …

Member Avatar for krunal1986
0
337
Member Avatar for markii.borabon

Sir, i have a little problem regarding my queries.. I try to display data from two different table using left outer join. but I found some error.. here's my code please check and tell me what is wrong.. f(isset($_GET['id'])){ $id = preg_replace('#[^0-9]#i','',$_GET['id']); $result = mysql_query("SELECT A.cus_id, A.complaint, A.admin, A.datetime, B.firstname, …

Member Avatar for markii.borabon
0
352
Member Avatar for theashman88

I'm trying to create a program that passes arguments of size of three shapes, a circle, a triangle, and a rectangle. I got those but everytime I run the code it displays the arguments as 0 instead of giving me the shape dimension. Here is the code. using System; class …

Member Avatar for kvprajapati
0
289
Member Avatar for Ankitha Nayana

I wanna start project or app which should help me in career... give me some tips I am studying engg. Final sem computer science

Member Avatar for David W
0
120
Member Avatar for Siberian
Member Avatar for Siberian
0
113
Member Avatar for asif_14443

Dear All, I am using ASP.Net with VB.Net Visual Studion 2010 I have a textbox if I write i.e. 654321-1 and immediately it verify from database table that this is already exists in database or not. Suppose on Gmail if we create new email address it immediately verifies from database …

Member Avatar for hericles
0
251
Member Avatar for adrianrayce

Hello everyone, so i am basically new to C++ coding and i am trying to write the randNum function in a way that it will give me these ranges The range for this row is: 1 to 10: 5 4 10 2 7 9 1 8 9 6 The range …

Member Avatar for Avishek_1
0
327
Member Avatar for muhammad.asim.5458

how can coded in c++ for a dice game which has below funcation 1) pop the message to user inter the number of plyer. 2) inter the name of plyer. 3) rooling the dice and outcomes be add in total secure of this plyer. 4) name of next plyer 5) …

Member Avatar for Avishek_1
0
181
Member Avatar for elie.karkafy

i want to copy data from an access database to a sql database 2008 through coding in vb.net any help ? NB : I WANT ALSO TO CHECK FOR DUPLICATES EACH I SELECT FROM ACCESS TO COPY IN SQL

Member Avatar for hericles
0
318
Member Avatar for <M/>

This is a pretty darn simple snippet that I learned from a site (don't remember the name). This is just the working Javascript which i managed to "easily" replicate :P Hopefully this will be useful for you guys. Note, this won't graph anything unless you have the html/css (i didn't …

Member Avatar for <M/>
0
216
Member Avatar for garyjohnson

I have a link that once clicked is suppose to make a div visible. So far it does but it only makes the div visible for a second then it returns to being invisible. I gave the div the value `display:none;` in Css and the javascript gives it the value …

Member Avatar for hericles
0
1K
Member Avatar for can-mohan

Hi, I am getting below error after executing below code. **Error**: In function `main': undefined reference to `Point2D::Point2D(int, int)' class Point2D { public: Point2D(int,int); int getX(); int getY(); void setX(int); void setY(int); double getScalarValue(); bool operator< (const Point2D &right) const { return x < right.x; } protected: int x; int …

Member Avatar for Moschops
0
264
Member Avatar for nikesh.yadav

I am tring to access http://182.18.175.29/CRM2011/XRMServices/2011/Organization.svc?wsdl I can able to see functions list. means i can access to webservice. But while i tring to write data using function create it through "an error occurred when verifying security for the message" my code is below <?php date_default_timezone_set("Asia/Kolkata"); ini_set("soap.wsdl_cache_enabled", "0"); $location = …

Member Avatar for nikesh.yadav
0
1K
Member Avatar for airhalynn101

I tried to create a setup project for my VS 2010 (Visual Basic) application (which was successful) but now whenever I try to open the solution project (.vbproj) the Setup project loads/opens. I'm afraid because I only have one copy of this project and I can't open the solution file …

Member Avatar for cgeier
0
376
Member Avatar for Ole Raptor

I have a function that calls a php script to update cart items (cookie). When I have multiple items in the cart I use a loop that calls my function. function updateCart(ur){ $.ajax({ url: ur, success: function(data){ console.log(data); } }); } I think this is firing too fast or something. …

Member Avatar for Ole Raptor
0
224
Member Avatar for ankit1122

hello sir, i have a php code like <?php $count = 0; foreach($_POST as $item) { $count += (is_array($item)) ? count($item) : 1; } // echo "Items = $count"; $db=$_POST["db"]; $skills = explode(",", $_POST["skills"]); $table = explode(",", $_POST["table"]); $city = explode(",", $_POST["city"]); $region = explode(",", $_POST["region"]); $country = explode(",", $_POST["country"]); …

Member Avatar for almostbob
0
210
Member Avatar for Ghost0s

Hi i'm a newbie here & my questions are : 0- *what should i know to develop a library like the C standard library and if im thinking of building my own OS "im just dreaming" should i create a NEw C for it cause as we know C for …

Member Avatar for Ghost0s
0
331
Member Avatar for xTurK

Hello, How can I modify contents of a web page (like text) and have it stay that way locally, even after refreshing and reloading the page from a hyperlink? I know you can use Javascript to modify information in a web page, but that is only temporary. I want to …

Member Avatar for xTurK
0
267
Member Avatar for Davincie

write a c++ program to impliment a class named display. the class should contain a function member to output the following. (use a for loop structure) 3 6 6 9 9 9

Member Avatar for Avishek_1
0
157
Member Avatar for airhalynn101

I have created a currency textbox formatting with the _Validating event. I use this formatting for six textboxes that have to have their values added. So what happens is after I typed in an amount and left the textbox, the amount (the text I inputted) becomes formatted, and the 'Total' …

Member Avatar for PerplexedB
0
461
Member Avatar for rtirak

I am currently confused and not sure why. I believe I have stared at this for to long. I am currently just trying to populate a ComboBox with the data that is read in from a SQL DB through a SQL query. Currently I have the below code. I am …

Member Avatar for PerplexedB
0
532
Member Avatar for asif_14443

Dear All, I am using ASP.Net Visual Studio 2010 , I want to Mask Text Box in a format 12345-8 (suppose if I write 12345 then - hyphan automatically appear after 5 and then I can write 6th crachter i.e. 8 in my example.) Please help me how I can …

Member Avatar for asif_14443
0
154
Member Avatar for kannan mangalar

in this table how to extract table data and mainly get value after the <b> tag like email id, tel, address <table width="100%" cellspacing="0" cellpadding="10" border="0" class="text"> <tbody> <tr valign="top" onmouseout="this.className = 'pa-nor'" onmouseover="this.className = 'pa-row-highlight'" class="pa-nor"> <td width="50%"> <span class="text1"> School name</span><br> <font color="#cococo"><i>Secondary School</i></font><br> <b>Principal Name:</b> kannan<br> <b>Name …

Member Avatar for diafol
0
343
Member Avatar for BogdanCov

Hello guys. I developed a simple game in C# on Windows (WFA). Now I want to crate a database with accounts and all stuff. I know to crate this with a SQL Local Database, but I think there should be a host where to put that DB to be accessed …

Member Avatar for JorgeM
0
207
Member Avatar for filipgothic

hey, I need help with this code, I have made database and code for inserting data, now I need code that will display data for group, in database I have groupnaziv, and id, here is code for inserting which works great, after that I will post code that I need …

0
139
Member Avatar for mcodesmart

I have a base class called Matrix which has a function transpose. I also have a derived class Matrix2 which is inherited publicly from Matrix class Matrix { public: Matrix(); ... Matrix Transpose(void); ... }; class Matrix2 : public Matrix { public: Matrix2(); ... }; In my main code, I …

Member Avatar for pappu.thakare.5
0
302
Member Avatar for centenond

so i dont know how to explain what im trying to do... maybe this is why i cant find any information on google.. but ill try so i want to do for example i have 100 photos but i only wanna display 25 on each page and if is more …

Member Avatar for Bachu
0
204
Member Avatar for rnjreddy

double[][] a= new double[5][5]; int i,j; int [] controller= new int[5]; Random rand=new Random(); for(i=0; i<5; i++ ) { for(j=0; j<5; j++) { do { a[i][j]= rand.nextDouble(); if(a[i][j]>0.0) controller[j]++; System.out.println("a[" + i + "][" + j + "] = " +a[i][j]); }while( controller[j]==3); } } /* I create some random …

Member Avatar for rnjreddy
0
134
Member Avatar for kieky

Hi all..i have some trouble to insert data into 2 table.. i use asp.net with C# language..this is my table : DOCUMENT id_document name description VERSI Id_versi Id_document url_file size type modifiedon relationship of document and versi is one to many.. this is my code, but i cant store anything.. …

Member Avatar for arunkumars
0
277
Member Avatar for dhani09

I'm working on a website with a sign-up form. I've been able to perform validation without page reload, printing appropriate error messages.However i'm trying to implement an interface i've seen on a couple of websites, where a user is guided to fill certain fields like password that come with restrictions, …

Member Avatar for dhani09
0
163
Member Avatar for phoenix_2000

Heya all, I'm trying to render a histogram of relative frequencies using D3 in combination with AJAX. Now i'm getting all my data correctly, but when i try to draw my chart, the first 2 bars are missing. The only error i'm getting on both firefox's and chrome's javascript console …

Member Avatar for phoenix_2000
0
3K
Member Avatar for filipgothic

I need code that will after pressing submit display concerts for selected group (grupanaziv), which includes number of sold tickets for that concert, place, and date, in database they are called place=mesto, date=datum, and tickets=karte <p align="center"><font color="#0000FF">Pregled grupa</font></p> <p align="center">Grupa kojoj koncert pripada: <select name="grupa_select" id="grupa_select"> <?php while($row = …

Member Avatar for filipgothic
0
163
Member Avatar for saiphyn

Hi, I'm looking for a way to get a single data value from a table by an SQL statement and store it in a variable (i'm using C#). example: table: customers(customer_ID, name, age) string variable = SELECT name FROM customers where customer_ID = 25 It's probably not that hard, but …

Member Avatar for arunkumars
0
349
Member Avatar for nouth

Can someone explain this what it is doing? if ( condition1 && condition2 && condition3 && condition4 && condition5 ) { code } It doesn't do what I want it to do but this does. if ( condition1 ) { if ( condition2 ) { if ( condition3 ) { …

Member Avatar for stultuske
0
154

The End.