Posts
 
Reputation
Joined
Last Seen
Ranked #391
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
78% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
0 Endorsements
Ranked #746
~30.2K People Reached
About Me

С/С++/C#/Java SE/Groovy/Grails/Rails/iPhone/iPad/Web developer

Favorite Tags
Member Avatar for hollywoood69

[QUOTE=hollywoood69;984123]I called it in the second set of code.[/QUOTE] No, you don't. There is correct code [code=cpp] void mortgagePayment::Mortgage() { double principle = 0; double rate = 0; int term = 0; double total = 0; cout << "Please enter Loan amount: "; cin >> principle; cout << "Please enter …

Member Avatar for Yasin_4
0
2K
Member Avatar for cutedipti

your structure is linked list each element in the linked list have pointer to the next element in the list [code=c] struct list { int value; struct list *next; }; struct list *first = (struct list *)malloc(sizeof(struct list)); //pointer to the first element in the list first = first->next; //set …

Member Avatar for mungara
0
1K
Member Avatar for sillyboy

I listening music every day, while browsing, working et cetera. Now I listening Bowling For Soup - Almost good pop-punk music

Member Avatar for Helianthus
0
5K
Member Avatar for ruwanaru

You want to create that row via javascript? In this case you can add an id to the row, then find that element by id, and copy it's innerHTML.

Member Avatar for Protuberance
0
120
Member Avatar for Premsathishbe
Member Avatar for kobi

Do you use some kind of javascript library (e.g. prototype, jquery)? If you use prototype, then you can click that button by something like this [CODE] var selector = new Selector('form > table:nth-child(1) > tbody > tr:nth-child(1) >td:nth-child(2) > table:nth-child(5) > tbody > tr:nth-child(1) > td:nth-child(1) > a:nth-child(1) > img:nth-child(1)'); …

Member Avatar for Taywin
0
141
Member Avatar for subhankar02dey

Something like this [CODE=javascript] for (var i = 0; i < mySelect.options.length; i++) { if (mySelect.options[i].selected) document.write(" mySelect.options[i].text\n") } [/CODE]

Member Avatar for Protuberance
0
3K
Member Avatar for chintan@dani

Try this [CODE=javascript] var url=("availabilitycheck.php?t="+value+"&hid="+hd1+"&chkin="+chkin); [/CODE]

Member Avatar for Taywin
0
212
Member Avatar for julianmoors

If you want to paginate at the client side, you need to load all pages of search content. After that, you need a script, which paginate your content Here is example [url]http://www.geekinterview.com/question_details/34889[/url]

Member Avatar for Airshow
0
442
Member Avatar for kkjava

You can download all javascripts by the one request - just make one file for all of it. Css - the same. One file - for all styles. But there is no solution for images. It must be loaded separately.

Member Avatar for Protuberance
0
73
Member Avatar for techie929

[CODE=javascript] //Set the two dates today=new Date() var christmas=new Date(today.getFullYear(), 11, 25) //Month is 0-11 in JavaScript if (today.getMonth()==11 && today.getDate()>25) //if Christmas has passed already christmas.setFullYear(christmas.getFullYear()+1) //calculate next year's Christmas //Set 1 day in milliseconds var one_day=1000*60*60*24 //Calculate difference btw the two dates, and convert to days document.write(Math.ceil((christmas.getTime()-today.getTime())/(one_day))+ " …

Member Avatar for Airshow
0
305
Member Avatar for gauri_agr

It's simple - just don't use ajax for navigation. Ajax does not change address bar.

Member Avatar for Protuberance
0
115
Member Avatar for marketingmaniac

try to [CODE=javascript] javascript:alert($('.unfollow').click()); [/CODE] But it is not working right for pages with list of followable and unfollowable people.

Member Avatar for marketingmaniac
0
130
Member Avatar for brave2010

If you need a nice JSP (and other) examples - visit [url]http://netbeans.org/kb/trails/java-ee.html[/url]

Member Avatar for Protuberance
0
66
Member Avatar for anandhikrishnan

[CODE=html] <table border="1"> <tr><td class="editable">text1</td><td>text2</td><td><input type="checkbox" onclick="edit_input(this);">Edit</td></tr> <tr><td>text3</td><td class="editable">text4</td><td><input type="checkbox" onclick="edit_input(this);">Edit</td></tr> <tr><td class="editable">text5</td><td>text6</td><td><input type="checkbox" onclick="edit_input(this);">Edit</td></tr> </table> <script type="text/javascript"><!-- function save_input(obj) { obj = obj.parentNode; obj.innerHTML = obj.firstChild.value; } function edit_input(obj) { var is_checked = obj.checked; while (obj.tagName!='TR') obj = obj.parentNode; var td = obj.getElementsByTagName('TD'); var len = td.length; if (is_checked) …

Member Avatar for Protuberance
0
736
Member Avatar for rahul8590

Try to type this [CODE=c++] c = is.get(); // get character from file cout << (int)c; [/CODE] Or [CODE=c++] c = is.get(); // get character from file int int_c = (int)c; cout << int_c; [/CODE] ostream operator << overloaded for all primitive types. So you have to define the type …

Member Avatar for nezachem
0
197
Member Avatar for fadia
Member Avatar for seul

This is not a listbox. This is user-component which inherits from a listbox class. So you need to make your own component, based on a standard listbox. Something like listbox, which have two textboxes as a one item in it's collection.

Member Avatar for Protuberance
0
196
Member Avatar for supriya14

Make a loop for each object in the map2. Like this [code=cpp] map<string, map<string, int>>::iterator iter; for(iter = map2.begin(); iter != map2.end(); ++iter) { try { if(iter.second.size() == 0) std::cout <<"map1 doesn't exist in this record\n"; else std::cout << "map1 exists in this record. It's size is " << iter.second.size() …

Member Avatar for Protuberance
0
74
Member Avatar for CMSHelper

All depends on a programming language. If you use C++ or C# then install Visual Studio (it is desirable 2008, but 2005 also good) and SDK or lib, which you like to use. For example VS 2008 and DirectX SDK.

Member Avatar for farooqaaa
0
145
Member Avatar for pandora-333

first of all you must install DirectX SDK then I suggest you to get the book [B]Andre Lamothe - Tricks of the Windows Game Programming Gurus[/B] And if you needs examples, I have a few one.

Member Avatar for arbie
-1
129
Member Avatar for kapiljain469

The most simplifying method is a structures. Like that [code=c] struct Node { int value; //data of node Node *next; //pointer to a next node in the list }; struct List { Node *first; Node *last; }; [/code] Implementation you will type by yourself. Good luck!

Member Avatar for paradip
0
126
Member Avatar for sfuo

For first you have to create socket. After that wait for connections. When connection is incoming, accept it and get data of connection(IP, port...) from the second argument of function [B]accept[/B]. After that - type some function, which will send some test packets and awaits for the answer (some kind …

Member Avatar for lashatt2
0
132
Member Avatar for BlackPhoenix

Show your server socket code. If I'm right - you just forget to close server socket before shutting down the server. And there are some errors in your client code. You forget to close socket after getting an error [code=cpp] //create the socket client = socket(AF_INET, SOCK_STREAM, 0); //set the …

Member Avatar for lashatt2
0
2K
Member Avatar for Lukezzz
Member Avatar for lancevo3

I dont understand why you use copyList method for just copying two pointers... For copying one list to another you must copy head and tail pointers. So your copy constructror will be like this [code=cpp] template <class T> List<T>::List(const List<T>& oldList) { this->head = oldList.head; this->tail = oldList.tail; } [/code] …

Member Avatar for native
0
510
Member Avatar for twisizz

Try to link the project with /MT key, and Release mode. And don't forget to link directX libraries into project.

Member Avatar for twisizz
0
165
Member Avatar for ThomsonGB

Where is a picture? If I understand you correctly, watch this [code=cpp] this->progressBar1->Maximum = this->trackBar1->Maximum; ///-------------------------------------------------------------------------- private: System::Void trackBar1_ValueChanged(System::Object^ sender, System::EventArgs^ e) { this->progressBar1->Value = this->trackBar1->Value; } [/code]

Member Avatar for Protuberance
0
96
Member Avatar for power_computer
Member Avatar for Protuberance
0
139
Member Avatar for vanalex

You may type some lexical analyzer, which will identify a declaration part of each variable. But for construction like type casting it will not work. So, for clear solution you have to write syntax analyzer, and grammar of C.

Member Avatar for Protuberance
0
182