No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I wanted to do a simple date validation to disallowed string from entering when prompt. Pls guide me. Tks. Eg, "Enter the publish date in DD/MM/YYYY : ghghjb "Sorry, pls enter in DD/MM/YYYY" "Enter the publish date in DD/MM/YYYY : [CODE] # include<iostream> # include<string> using namespace std; class date … |
|
I got a HTML file. I wish to parse the content I need to a text file. How can I make use of The unix utility application that strips the HTML markup tags from the file’s content leaving just content text? Thanks for the advise! [B][U]Partial HTML file code[/U][/B] [CODE]<thead> … |
|
How can I make use of sed (Stream Editor) to parse a html file for the required data I needed? Kindly explain to me. [url]http://www.daniweb.com/forums/post1354118.html#post1354118[/url] |
|
I am trying to create a cpp file that will enable user to download the content from a web URL & stored it to a desired html file. I am running on Linux. The program will call GNU wget CLI program to grab the content & stored it to a … |
|
I am checking on ways to update my text file existing record. For example I wanted to update the "Address" & "SSN" for Mary Rose to other information using the following code fragment. How can I make use of scanner to complete my code? Code Fragment [CODE] case 1: System.out.print("Address: … |
|
I am not sure what is wrong with my While Loop because if select ("Press 0 to edit info."), I will not get prompt for "Name" anymore. Another thing is my exception does not work. I wanted to deny user from entering alphanumeric under "Mobile". Only numeric allowed here. Pls … |
|
May I know what are bits fields & the 5 bits of hole for? [CODE] struct Record { unsigned int n1 : 3; // 3 bits, can store 0 - 7 int : 5; // 5 bits of hole unsigned int n2 : 4; // 4 bits, can store 0 … |
|
What does prev, curr & temp stand for? [CODE]struct Node; typedef Node* NodePtr; struct Node { void* data; NodePtr prev, curr; }; void bigTraversal(const NodePtr& head, const NodePtr& tail) { // need to by pass by temp NodePtr temp = head; while(temp != NULL) { temp = temp -> next; … |
|
I have problem understanding hashing using linear probing & quadratic probing. Is there any easy to understand guides? |
|
[CODE] try{int x = 0; cin>> x; if ( x > 100) throw 1; else cout<< “Good data”<< endl; } catch ([COLOR="Red"]int i[/COLOR]) { cout<< “Exception “<< i << “thrown”<< endl; }[/CODE] I need to know why the catch is int i & not int x? |
|
Re:
Hi.. I suppose to have a programe to read a data from a file and enqueu it to the Queue. The programme works like a Priority queue whether the ladies queue need to be inserted to queue first before the gentleman... But i think i need to try first how … |
|
Re:
So i suppose to do some Matrix calculator and perform some calculation by using classes. But we need to copy the square matrixes to other matrix to perform the calculation without changing the actual value. So we can use the same matrix and just changing the form to upper or … |