Forum: C++ Aug 13th, 2009 |
| Replies: 1 Views: 233 OK , I found the reason
problem is that we have two weak_ptrs -- one weak_ptr<A> and one weak_ptr<B> -- and only one of them will be initialized correctly when you create the smart pointer.
the... |
Forum: C++ Aug 7th, 2009 |
| Replies: 1 Views: 233 please can anyone explain the reason for the following behavior
#include <iostream>
#include <boost/enable_shared_from_this.hpp>
using namespace std;
class A;
typedef... |
Forum: C# Mar 29th, 2009 |
| Replies: 8 Views: 7,851 if I needs to get the index of the last node in the tree, how can I do that.
In the Add() method, it normally add the new node to the end of the tree, so how the add method find the last... |
Forum: Python Jul 24th, 2008 |
| Replies: 0 Views: 423 Hi,
Please can anyone help me to find a way to shutdown an SimpleXMLRPCServer. |
Forum: C++ Jun 10th, 2008 |
| Replies: 2 Views: 730 Hi all,
I want to just write a simple test case for a method which multiply two numbers.
I am using the Linux platform.
in the web (http://cpptest.sourceforge.net/tutorial.html) there are some... |
Forum: C May 3rd, 2008 |
| Replies: 3 Views: 2,256 So in which type of situations do we use "pthread_attr_setschedparam()" ......?
Please tell me what should I do to solve my problem....? |
Forum: C May 3rd, 2008 |
| Replies: 3 Views: 2,256 Hi all,
My program have two threads (parent thread & child thread).
I want to set a high priority to my child thread when it is created. So I just follow the example given in the follow... |
Forum: C Feb 15th, 2008 |
| Replies: 0 Views: 577 I am using an open source library called IGI_UDP for measure the available bandwidth of a link (http://www.cs.cmu.edu/%7Ehnn/igi/).
with that library they have provided a "Makefile" which is not an... |
Forum: C Jan 14th, 2008 |
| Replies: 2 Views: 2,154 hi all,
i have a problem with pthread programming.
function_1(){
.
.
rc = pthread_create(&thread, &attr, my_function, (void *)&my_data);
.
rc = pthread_create(&thread, &attr,... |
Forum: C Dec 6th, 2007 |
| Replies: 1 Views: 1,090 hi all,
i want to execute a function by a separate thread and get that functions return value in to the main thread.
one way to do this is set a global variable by that separate thread and... |
Forum: C Nov 6th, 2007 |
| Replies: 1 Views: 596 hi all,
i want to get the dependancy graph from the make file or make rules.
please if anyone can, help me to do this |
Forum: C Oct 11th, 2007 |
| Replies: 2 Views: 590 hi all,
i have Theora video codec source code (a C library) and i want to debug it using GDB in linux.
but if its developers have not provide debuging enable option, how can i manualy chnaged... |
Forum: C Jul 14th, 2007 |
| Replies: 3 Views: 1,113 i am completely new for this area, i don't know what is autotool
please can you tell me the way should i follow. |
Forum: C Jul 13th, 2007 |
| Replies: 3 Views: 1,113 i am using ubuntu and i have never use "make files" with C
but i want to study an open source video codec called "Theora".
so i guess that first of all i have to understand the dependencies of... |
Forum: JavaScript / DHTML / AJAX Mar 28th, 2007 |
| Replies: 10 Views: 7,120 this error is only reported with the Mozilla browser, when it use IE, there is no error and AJAX functions are working properly...
what could be the reason for that...? |
Forum: JavaScript / DHTML / AJAX Mar 26th, 2007 |
| Replies: 10 Views: 7,120 function sendRequest(url){
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
{
alert ("Your browser does not support AJAX!");
return;
}
url=url+"&sid="+Math.random();... |
Forum: JavaScript / DHTML / AJAX Mar 24th, 2007 |
| Replies: 10 Views: 7,120 Hi all,
I am using AJAX to submit a data from a web page, it is properly working on the local host (when test with the local machine it is ok). When access from another machine the pages are... |
Forum: HTML and CSS Mar 15th, 2007 |
| Replies: 12 Views: 14,634 ya. i have already used the id property to access it, but still it is not working. i am using the Mozilla browser. so the way to access the image is as follow.
... |
Forum: JavaScript / DHTML / AJAX Mar 15th, 2007 |
| Replies: 3 Views: 25,581 thanks for the idea. the second idea is the way that i wanted to know. |
Forum: JavaScript / DHTML / AJAX Mar 14th, 2007 |
| Replies: 3 Views: 25,581 hi all,
in javascript normaly page redirection can be done as follow with a parameter.
window.location = "add-new-cos.jsp?id="+id;
but this id value is send to the next page with in the GET... |
Forum: JavaScript / DHTML / AJAX Mar 14th, 2007 |
| Replies: 1 Views: 16,110 hi all,
in my form there are number of checkboxes that is dynamically generated. accordig to the user,s action (when going to edit a record), i want some of them are checked using javascript.
... |
Forum: HTML and CSS Mar 14th, 2007 |
| Replies: 12 Views: 14,634 <img src="[href to image]" name="add" onclick="sendAdd();">
this is the way i am useing the image as a button.
is this possible to disable.....? |
Forum: HTML and CSS Feb 28th, 2007 |
| Replies: 12 Views: 14,634 but
http://www.java2s.com/Code/JavaScriptReference/Javascript-Properties/disabledisappliedto.htm
in the above page it is mentioned that dasabled property can be applied for <img
is that... |
Forum: HTML and CSS Feb 28th, 2007 |
| Replies: 12 Views: 14,634 but this image also in the form.. |
Forum: HTML and CSS Feb 27th, 2007 |
| Replies: 12 Views: 14,634 hi all,
i am using an image as a button. so i want to disable it on some actions.
so i used
document.getElementById("imagName").disabled = true;
but it seems that this property is not... |
Forum: Java Feb 26th, 2007 |
| Replies: 6 Views: 4,181 yap.. i want it to display with leading zero..but all the numbers do not begins with zero..
so now what should i do....? |
Forum: Java Feb 26th, 2007 |
| Replies: 6 Views: 4,181 Hi all,
I want to set an integer variable that is begins with 0 (ex: 01, 055 etc).
So I don’t want to use strings here, because I want to use this values as mathematical values..
What is the... |
Forum: JavaScript / DHTML / AJAX Feb 24th, 2007 |
| Replies: 1 Views: 5,170 hi all,
I want to disable some of text fields and several buttons on my webpage when click on "Edit" button.. I am using images as buttons.
document.getElementById("textFieldID").disabled =... |
Forum: JavaScript / DHTML / AJAX Feb 20th, 2007 |
| Replies: 1 Views: 2,199 Hi all,
Instead of writing javascript functions on the html page it self, we could write those in separate “.js” file and import it as follow.
<script src="fileName.js" ></script>
But when... |
Forum: JSP Feb 16th, 2007 |
| Replies: 4 Views: 7,109 if so please tell me a way to get the vlues of input fields that include in the iframe page |
Forum: JSP Feb 15th, 2007 |
| Replies: 4 Views: 7,109 I am trying to use an iframe in my application
mainpage.jsp
<HTML>
<BODY>
<form name="form2" method="post" action="action.jsp"> |
Forum: JSP Feb 15th, 2007 |
| Replies: 2 Views: 2,909 Hi all.
I want to know in which case, it should use two forms in a one web page (example situations)
(Except that when the action pages are separate)….? |
Forum: JSP Feb 14th, 2007 |
| Replies: 11 Views: 45,920 here i wanna add some data to the database and show the first page again to add another data.
so the request processing task is done in the page2.jsp . the form is included in page1.jsp |
Forum: JSP Feb 14th, 2007 |
| Replies: 11 Views: 45,920 hi all.
I have a form in page1.jsp. the action for that form submit is in page2.jsp
so I want to just come back to the page1.jsp after processing the request.(reload the first page again)
... |
Forum: Java Feb 7th, 2007 |
| Replies: 3 Views: 2,370 public void tokenize(){
StringTokenizer tokenizer = new StringTokenizer("{ok,[{operators,'sri','mob',45,45,45,45},{operators,'sri','dia',45,45,45,45}]}"
... |
Forum: Java Feb 7th, 2007 |
| Replies: 3 Views: 2,370 hi
i want to break the following string..
{ok,[{operators,'sri','mob',45,45,45,45},{operators,'sri','dia',45,45,45,45}]}
by using {operators, this point..
i used the StringTokenizer... |
Forum: JSP Feb 6th, 2007 |
| Replies: 1 Views: 1,840 Hi
I am using the "< jsp:setProperty " tag....
so I want to set the properties manually if the corresponding property field is empty(null) in the web form.
So it was hard corded in the... |
Forum: JSP Jan 30th, 2007 |
| Replies: 0 Views: 1,890 Hi all,
I want to use the <jsp:setProperty….> tag. When this is used it says that it calls to the setter methods and set the instance variables that submitted from a web page. (I suggest that it... |
Forum: JSP Jan 29th, 2007 |
| Replies: 6 Views: 3,517 thanks very much for your help.. |
Forum: JSP Jan 29th, 2007 |
| Replies: 6 Views: 3,517 hi all,
i am using the tomcat server..
can i show the java out puts(System.out.println) on the browser that is issude from java classes, not from the jsp pages.
i think there may be a way to... |