Wednesday, July 27, 2011

Bharat Ratna......India's Highest Civilian Award... Politics or Awareness...

Bharat Ratna...... The Republic of India's Highest Civilian Award, awarded for the highest degrees of National Service.
Service includes  Literary, Artistic, Economics and Scientific Achievements.

Strong education system of India, always mentioned (in curriculum text books)  the dignity of this award. Every citizen and student aware of  what this award means.
It's always been a most important General Knowledge question in all level of educational and competitive examinations.

I remember, we used to mug about it with very high respect as a part of our General Knowledge (GK) high school curriculum . The things to remember about, the Recipient Name, Year and the Field to achieve this award.
Time Changes, Things changes,  Generation Changes and within all these natural process of change, India as a Nation changed as well.
Just crossing the puberty age India as a nation gradually kept it's feet in prime age. Yes, India enters into its youth. Every thing drastically changed. India become much more glamorized, wealthier, globalized, going to be mighty global economy.
Among all these add on drastic changing process. It's not important how much Indian foreign policy\politics changed or India's global politics changed but the inter-national politics definitely not changed, little bit.

Political leaders still follow the same old conventional and orthodox way of  politics. Yes, in a name of change in politics we can see some new and highly educated young blood entered. But , that too not by choice but that is just by chance or their luck or their legacy.

Anyways, we're here to discuss the BHARAT RATNA.

The award was established by the first President of India, Dr. Rajendra Prasad, on 2 January 1954.
Till date,  41 awards has been awarded. Out of 41 awards, one is awarded to a naturalised Indian citizen, Mother Teresa (1980), and two Non-Indians, Khan Abdul Ghaffar Khan (1987) and Nelson Mandela (1990).

Here's the list of Bharat Ratna Recipients (in reverse chronical order).

41. Pandit Bhimsen Joshi (2008)
40. Kumari Lata Dinanath Mangeshkar (2001)
39. Ustad Bismillah Khan (2001)
38. Prof. Amartya Sen (1999)
37. Lokpriya Gopinath Bordoloi (1999)
36. Loknayak Jayprakash Narayan (1999)
35. Pandit Ravi Shankar (1999)
34. Shri Chidambaram Subramaniam (1998)
33. Smt. Madurai Shanmukhavadivu Subbulakshmi (1998)
32. Shri (Dr.) Avul Pakir Jainulabdeen Abdul Kalam (1997)
31. Smt. Aruna Asaf Ali (1997)
30. Shri Gulzari Lal Nanda (1997)
29. Shri Jehangir Ratanji Dadabhai Tata (1992)
28. Shri Maulana Abul Kalam Azad (1992)
27. Shri Satyajit Ray (1992)
26. Shri Morarji Ranchhodji Desai (1991)
25. Shri Rajiv Gandhi (1991)
24. Sardar Vallabhbhai Patel (1991)
23. Dr. Bhimrao Ramji Ambedakr (1990)
22. Dr. Nelson Rolihlahla Mandela (1990)
21. Shri Marudur Gopalan Ramachandran (1988)
20. Khan Abdul Ghaffar Khan (1987)
19. Shri Acharya Vinoba Bhave (1983)
18. Mother Teresa (Agnes Gonxha Bojaxhiu) (1980)
17. Shri Kumaraswamy Kamraj (1976)
16. Shri Varahagiri Venkata Giri (1975)
15. Smt. Indira Gandhi (1971)
14. Shri Lal Bahadur Shastri (1966)
13. Dr. Pandurang Vaman Kane (1963)
12. Dr. Zakir Hussain (1963)
11. Dr. Rajendra Prasad (1962)
10. Dr. Bidhan Chandra Roy (1961)
09. Shri Purushottam Das Tandon (1961)
08. Dr. Dhonde Keshav Karve (1958)
07. Pt. Govind Ballabh Pant (1957)
06. Dr. Bhagwan Das (1955)
05. Shri Jawaharlal Nehru (1955)
04. Dr. Mokshagundam Vivesvaraya (1955)
03. Shri Chakravarti Rajagopalachari (1954)
02. Dr. Chandrasekhara Venkata Raman (1954)
01. Dr. Sarvapalli Radhakrishnan (1954)

 The award was briefly suspended from 13 July 1977 to 26 January 1980.
 
So wondering, why did I briefly discuss about politics in between . This highly dignitary award has off and on being political object and being discussed as controversial way.  Like, every highly respected awards (eg, Nobel Prize) , BHARAT RATNA too have some protocols. The Bharat Ratna too is having some guidelines and qualifications.
 
(Apologies,  if any one have the objection)  Most interesting thing about this great award is, some times it discussed and molded as a political object.
 
One of the incident , it was when it's declared for Subhash Chandra Bose in 1992, which was later withdrawn due to a some reasons.  ( read in wiki)
 
Now,  the fun started in April 2011. Occasion was India won the Cricket world Cup.

(I too am,  a great fan of cricket. When one talk about mordern cricket , one cannot disintegrate Sachin Tendulkar from the game. Any person who love the game cricket can't ignore Sachin, the legend. _
 
(The below paragraph is quite hypothetical guys.. just imagining ...) As we know fans are always crazy , some how someone might made some remark about Legendary Sachin that SACHIN is a BHARAT RATNA.....
.......Fine........... Well......Agreed....
Sachin is Bharat Ratna. Not only the whole India but the whole world Love him.
 
 
But indeed,  did anyone try to understand the fact that how intricate would it be to declare Sachin, the  Bharat Ratna?.
Does anyone,  evaluate the technical limitations to declare the award to him.?
I guess, no.. nobody.

The prime technical difficulty is the award is only given in the field of services  Literary, Artistic and Scientific Achievements.
 
Now the politics and poor politicians came into picture, talks started about to amend the guidelines and qualifications of the award.
Can easily  comprehend, Sachin is a big name and utmost popular among nation, entire nation love him. Seeking his popularity and Just to please cricket lovers, Sachin lovers and take the credit that we change and include the sports in the service list of the award, government started the thread.
No political party opposes as after all they need votes, from public.

Astonishingly, they approch towards to change the guidelines and qualification of the Highest Civilian Award.
 
Grow up Govenment....
The True Heros like Sachin does not require any honor like this. Hero like him lives in the heart of billions.

Continuing with the sad political story, Now this hurdle is also seems to be in resolving stage and most of  the political leaders, agreed to include sport on the list. Atleast government proposed BHARAT RATNA for Sachin.

(Reason is obvious, noone want to hurt the emotions of others, some of us realise but hestiate to speak against .)
 
HOLD ON, What's going on ...
Is it fun ... Is politics a power game ....
Can you answer these questions of normal intellectual and educated person of the Nation.

Did you guys change the guidelines when the award  declared to Mr. Bose was withdrawn ?
Is any global Highest Civilian Award included sports?
 
Being commercially successful in any field does make you eligible to deserve the Highest Civilian Award?
What ever rules, guidelines or prototypes had been made for any foundations (either award like this or our constitution) in past, has it's meaning and vision.
It's not like during the initial proposal or establishment of the award, the sport was not there as a part of  society.
Hockey was the most popular sport of that era.

Now some people (hockey lovers) realize, that government already reached  too far to manipulate the service list of BHARAT RATNA. So, they proposed DyanChand, as a sound contester to get BHARAT RATNA. And they are true,  in actual.

No doubt, Sachin is legend of modern cricket , no reasons why shouldn't we praise him with high dignity.
No doubt, he had attended,  all possible heights of success and records. His commitment to nation is superb and appreciable . He has been serving the nation for last 2 decades. His achivements are remarkable and unachieveable. He set up untouchable landmark in the game of cricket.He is most successful persona in all format of game.  He can be addressed as God of cricket, in every way of cricket.
 
Still, I do have couple of questions in my mind.
1. Isn't Sachin too young, to get the honor known as BHARAT RATNA.
2. After so many achivements, does he still comparable with the personalities listed in list of 41 noble personalities, who got the honor.
3. His commitment and dedication is always unquestioned. Can he be rated above Dhyan Chand (hockey player)?
4. If we want to consider Sachin. Can't we put PT Usha and Vishwanathan Anand in the same list?
5. Dont we already have separate award format for sports?

Dont make mockery of the things ...

.Time to think now....
Think before you act ....

Without being political and emotional over the matter, I propose one solution isn't it possible to introduce another award stating equivalent to BHARAT RATNA, in the field of commerical activities (including sports and entertainment industry( or any commerical activities)).
Without touching the existing format of great BHARAT RATNA.

 
 Any suggestions appreciated..............

Date::  11/12/2011.
I wrote this article on July 27 2011. Today I came to know Justice Katju share the same views as I was\am.

http://timesofindia.indiatimes.com/india/Bharat-Ratna-to-cricketers-filmstars-a-mockery-of-award-Justice-Katju/articleshow/11182465.cms

Justice is quite correct , courageous and sane person. May be , thousands of us might be thinking like him or me . But not able to express the views in public.
As Justice is,  in good position to put his thoughts across media so he can express it in public.
Kudos for you Justice Katju.
I'm no-body so I'm writing my views as very common man. I'm sure not body is even going to read it. (:(( ).

Back to topic.  Sure,  mastering in game or cinema is a commitment,  dedication and hardwork . But it;s a God gift too. And surely we should not forget in return of hardwork and dedication, players and movie stars earning a lot of money and their earnings are coming very little or nothing back to society.

Please dont play with the criteria of this highest honaray award; it's very special;  it was especially and intentionally formatted & decidated to highly intellectual individuals. Not like any body.

No offend to anyone. It's just my thoughts which now Justice Katju approved.

 
 
 



Thursday, July 21, 2011

Is Big Players in web sites (like yahoo, TOI, ICICI Bank) thinks Internet Audience, Fool?

Decade 2000-2010 brought new catalyst in the internet websites, thousands of new website being lauched every day throughout the world.
The numbers are multiplying like anything on hourly basis. But , no second thoughts, to the saying "brand is brand". Avid and regular internet users, like me still like to follow the standards and go the regular branded websites.
Each and every website is having it's own regular stream of visitors\users. In technical terms, techies say it users traffic. Every website is having it's own kind of visitor\customer. 

Just think of this way, starting my day in morning,  I visit some regular websites likes gmail, yahoo mail. If I feel like to know, the happening around the world I prefer to visit websites like guardian.co.uk, nytimes. com, timesofindia.com, cnn.com. Since, I visit these websites number of times a day. So,  I provide the regular traffic to these websites.

Similarly, daily I do trading by visiting some trading website. Visit couple of  banking website to check my bank account, for shopping, I visit amazon. Travelling websites, some deals website, some technical websites like MSDN and others and some times google anything random.

So taking me as an example, alone myself providing traffic to hundreds of websites per day and providing thousands of click per hour. For some brands(say 25-30 website) of website I'm regular visitor and for some I'm random visitor.

So here I'm talking about the responsibility of the web site provider to take ownership and take care to it's regular visitors.But unfortunately, some provider completely fail in doing so and I found them completely irresposible in that terms.

I have had a very unpleasant, irritating user experience from the leading website providers. The providers by now become a brand in internet business.

Citing an example of today morning (July 21 2011), going though the yahoo news . One news line-heading, caught my attention and I want to click it, <> it took me to some other international news.

Trying to do:



Result provided by YAHOO



Wondering, taking the responsiblilities, do these companies really test the applications before feeding to customers or for saving the cost they treat customer as their testers.
From last four months yahoo website was crashing when ever you want to go to the photos page in http://www.yahoo/omg/photos
or videos never come up when where you visit the video page.

Yahoo is in the losses, is this the reason to cater this frustrating web pages to visitors OR Yahoo is in losses due to this regular practice. Only YAHOO management knows all about this.

Another example of the most famous website from India news Time Of India. Poor TOI, I do have impression that  they do not have any international standards level  news drafting editorial team for website news. Still I believe and agree it's one of the most popular web news paper.

The problem of these guys is most congested internet advertisement and irregular, periodic advt. popup and sometimes the load music as soon as pop-up windows comes out.
Do TOI guys really have sense for user convenience, is it a fun or what?  Do they take the news editing seriouly in web too. As they (were) serious in print media some decades back.

These web news papers editorial board need to understand the power of web news too. In case of TOI, I simply do not get the need of unusual adversiting. More over,  they are trying to do it when their newz contains are not to the up-international standards. These irritating advt. only putting more bitter topping over the bitter catered cake (of newz contents).

Another example of the website like ICICI bank. ICICI bank suppose to be latest bank in India. I'm not aware about it popularity, globally. Quite slow website, you'll find the website down, sporadically. Do you expect a second largest bank website could be too slow to log-in and can get down anytime. Anytime you might be in-need to use it urgently. ( though, now I heard they are working over it. )

In the case of ICICI's money2India website, One of the most tragic activity they did. In process to renovate the website they remove (rarely used) or less used account and the customer who were not so frequent. I donot know how valid is it?
Can any large bank afford to have the irregular website, moreover when you have paralysed customer service.

Surprising, astonishing but true. No doubt,  the above cited are big companies and having lot of customers around. Is it because they are old companies, they are getting advantage of  population (in India). I rate them irresposible, do you? I think these companies have yet to understand the power and potential of web based internet platform.
Some one responsible from these companies management has to answer it ? They should learn the visitor experience . They should understand this new era of customers.

Any comment appreciated.......






Tuesday, July 19, 2011

_mbsspnp, _strspnp, _wcsspnp, _tcsspnp

unsigned char *_mbsspnp( const unsigned char *string1,   const unsigned char *string2 );

Routine Required Header Compatibility
_mbsspnp Win 95, Win NT
_strspnp Win 95, Win NT
_wcsspnp Win 95, Win NT

Libraries
LIBC.LIB Single thread static library, retail version
LIBCMT.LIB Multithread static library, retail version
MSVCRT.LIB Import library for MSVCRT.DLL, retail version

Return Value:
_strspnp, _wcsspnp, and _mbsspnp return a pointer to the first character in string1 that does not belong to the set of characters in string2. Each of these functions returns NULL if string1 consists entirely of characters from string2. For each of these routines, no return value is reserved to indicate an error.

Parameters
string1 : Null-terminated string to search
string2 :   Null-terminated character set

Remarks:
The _mbsspnp function returns a pointer to the multibyte character that is the first character in string1 that does not belong to the set of characters in string2. _mbsspnp recognizes multibyte-character sequences according to the multibyte code page currently in use. The search does not include terminating null characters.

The generic-text function _tcsspnp, defined in TCHAR.H, maps to _mbsspnp if _MBCS has been defined, or to _wcsspnp if _UNICODE has been defined. Otherwise _tcsspnp maps to _strspnp. _strspnp and _wcsspnp are single-byte character and wide-character versions of _mbsspnp. _strspnp and _wcsspnp behave identically to _mbsspnp otherwise; they are provided only for this mapping and should not be used for any other reason. For more information, see Using Generic-Text Mappings and Appendix B, Generic-Text Mappings.

MSDN Example:
/* STRSPN.C: This program uses strspn to determine  the length of the segment in the string "cabbage"
* consisting of a's, b's, and c's. In other words,  it finds the first non-abc letter.*/

#include
#include
void main( void )
{
   char string[] = "cabbage";
   int result;
   result = strspn( string, "abc" );
   printf( "The portion of '%s' containing only a, b, or c "  "is %d bytes long\n", string, result );
}

OutputThe portion of 'cabbage' containing only a, b, or c is 5 bytes long

See my Example , that will give you clear picture and understanding:
Sample code from my project:
void CUnicodeCharDlg::OnBnClickedButton2()

{
   CString csData;
   m_edit2.GetWindowText(csData);
   UpdateData(TRUE);
   static TCHAR * lpszValidChars = _T("ABCDEFGHIJKLMNOPQRSTUVWXYZ");

    // szText is the string you wanna check for invalid chracters
    if     (_tcsspnp(csData, lpszValidChars) != 0)
         {   MessageBox("Invalid Input Characters!", "Error", 0); }

         else {  MessageBox("Thats Correct Input!", "Great", 0); }
}

Exploring CEdit VC++\MFC

CEdit Class

Provides the functionality of a Windows edit control.

class CEdit : public CWnd


Details:
An edit control is a rectangular child window in which the user can enter text.

You can create an edit control either from a dialog template or directly in your code. In both cases, first call the constructor CEdit to construct the CEdit object, then call the Create member function to create the Windows edit control and attach it to the CEdit object.

Construction can be a one-step process in a class derived from CEdit. Write a constructor for the derived class and call Create from within the constructor.

CEdit inherits significant functionality from CWnd. To set and retrieve text from a CEdit object, use the CWnd member functions SetWindowText and GetWindowText, which set or get the entire contents of an edit control, even if it is a multiline control. Text lines in a multiline control are separated by '\r\n' character sequences. Also, if an edit control is multiline, get and set part of the control's text by calling the CEdit member functions GetLine, SetSel, GetSel, and ReplaceSel.

If you want to handle Windows notification messages sent by an edit control to its parent (usually a class derived from CDialog), add a message-map entry and message-handler member function to the parent class for each message.

Each message-map entry takes the following form:
ON_Notification( id, memberFxn )
where id specifies the child window ID of the edit control sending the notification, and memberFxn is the name of the parent member function you have written to handle the notification.

The parent's function prototype is as follows:
afx_msg void memberFxn( );

Following is a list of potential message-map entries and a description of the cases in which they would be sent to the parent:

ON_EN_CHANGE The user has taken an action that may have altered text in an edit control. Unlike the EN_UPDATE notification message, this notification message is sent after Windows updates the display.
ON_EN_ERRSPACE The edit control cannot allocate enough memory to meet a specific request.
ON_EN_HSCROLL The user clicks an edit control's horizontal scroll bar. The parent window is notified before the screen is updated.
ON_EN_KILLFOCUS The edit control loses the input focus.
ON_EN_MAXTEXT The current insertion has exceeded the specified number of characters for the edit control and has been truncated. Also sent when an edit control does not have the ES_AUTOHSCROLL style and the number of characters to be inserted would exceed the width of the edit control. Also sent when an edit control does not have the ES_AUTOVSCROLL style and the total number of lines resulting from a text insertion would exceed the height of the edit control.

ON_EN_SETFOCUS Sent when an edit control receives the input focus.
ON_EN_UPDATE The edit control is about to display altered text. Sent after the control has formatted the text but before it screens the text so that the window size can be altered, if necessary.

ON_EN_VSCROLL The user clicks an edit control's vertical scroll bar. The parent window is notified before the screen is updated.
If you create a CEdit object within a dialog box, the CEdit object is automatically destroyed when the user closes the dialog box.

If you create a CEdit object from a dialog resource using the dialog editor, the CEdit object is automatically destroyed when the user closes the dialog box.

If you create a CEdit object within a window, you may also need to destroy it. If you create the CEdit object on the stack, it is destroyed automatically. If you create the CEdit object on the heap by using the new function, you must call delete on the object to destroy it when the user terminates the Windows edit control. If you allocate any memory in the CEdit object, override the CEdit destructor to dispose of the allocations.

CEdit::GetSel 
Call this function to get the starting and ending character positions of the current selection (if any) in an edit control, using either the return value or the parameters.

DWORD GetSel( ) const;

void GetSel(  int& nStartChar,  int& nEndChar ) const;

Parameters:
nStartChar :  Reference to an integer that will receive the position of the first character in the current selection.

nEndChar : Reference to an integer that will receive the position of the first nonselected character past the end of the current selection.

Return Value
The version that returns a DWORD returns a value that contains the starting position in the low-order word and the position of the first nonselected character after the end of the selection in the high-order word.

// The pointer to edit box.

CEdit* pEdit;
// Set the selection to be all characters after the current selection.
DWORD dwSel = pmyEdit->GetSel();
pmyEdit->SetSel(HIWORD(dwSel), -1);

CEdit::SetSel
Call this function to select a range of characters in an edit control.
In two Different ways:

i)   void SetSel( DWORD dwSelection, BOOL bNoScroll = FALSE );
ii)  void SetSel( int nStartChar,  int nEndChar,  BOOL bNoScroll = FALSE );

Parameters: dwSelection
Specifies the starting position in the low-order word and the ending position in the high-order word. If the low-order word is 0 and the high-order word is –1, all the text in the edit control is selected. If the low-order word is –1, any current selection is removed.

bNoScroll
Indicates whether the caret should be scrolled into view. If FALSE, the caret is scrolled into view. If TRUE, the caret is not scrolled into view.

nStartChar
Specifies the starting position. If nStartChar is 0 and nEndChar is –1, all the text in the edit control is selected. If nStartChar is –1, any current selection is removed.

nEndChar
Specifies the ending position.

Example: Ref. above.


Problems and Solutions in CEdit class
Problem 1: I'm tring to set the focus to an edit box with GetDlgItem(IDC_FIRSTNAME)->SetFocus();

then i tried to to select its content with SetSel().  but somehow it does not work.

I Tried this way:
(IDC_EDIT)->SetSel();
IDC_EDIT.SetSel();
m_Edit.SetSel();

Getting compiler Error saying:   "the left part of .SetSel has to be a class/struct/union."  or   "SetSel is no element of CWnd"
how is it correct?

Solution:
You are trying to implement it in a wrong way.
Try to understand here :
GetDlgItem  returns the Adress of your dialog item, but here the dataType is CWnd*


CWnd - is a parent class of all controls - doesn't have a method "SetSel()". This method is declared and defined in the class CEdit, which of course is a child class of CWnd.


Making a call  CWnd* (as you get it from GetDlgItem()) with the "->" operator, the pointer is dereferenced as CWnd.

So all you have to do is to cast the pointer to CEdit*, to to this change your line of code to

CEdit *pYourEdit = (CEdit*) GetDlgItem(IDC_FIRSTNAME);
pYourEdit ->SetSel(0, -1);

Or  use,      ( (CEdit*) GetDlgItem(IDC_FIRSTNAME) )->SetSel(0, -1);

Another way of calling the functions, You can also use , the functions this way.
m_CtlEdit.SetFocus()
m_CtlEdit.SetSel(5,7)


Here is an another sample code:

void CYourDlg::OnButton()
{
   UpdateData(TRUE);
   GetDlgItem(IDC_FIRSTNAME)->SetFocus();
   GetDlgItem(IDC_FIRSTNAME)->SetSel(0, -1);
   UpdateData(FALSE);

}

Monday, July 18, 2011

Detemine if a string contains characters beside english(for example chinese, japanese etc...)

Use the Unicode of a char to determine the Unicode Code Chart. you can find more information about the valid code charts here: http://www.unicode.org/charts/

I found a great piece of code to check if the given string contains chinese characters .

private bool  IsLetterChinese(string strText)
{
     int start = Convert.ToInt32("4E00",16);
     int end = Convert.ToInt32("9FBF",16);

     for(int i=0;i
     if ((Char.ConvertToUtf32(text, i) >= start) && (Char.ConvertToUtf32(text, i) <= end))

    return true;
    return false;
}

Thanks Marc,  for providing this awesome piece of code.

Monday, July 11, 2011

Customer Care - Bank of America

24-hour Automated Support


Report Lost/Stolen Credit Card    All States    1.800.732.9194  7 days a week
Report Lost/Stolen Check Card    International Collect           1.800.848.6090   1.315.724.4022 7 days a week


Report Lost/Stolen Checkbook    California

All Other States

1.800.622.8731

1.800.432.1000

7 days a week







Confirm Balance/Recent Activity,

Transfer Funds

California

All Other States



1.800.622.8731

1.800.432.1000

7 days a week



Checking, Savings & CDs



California

En español 1.800.622.8731

1.800.622.8731 opt. 9 Monday - Friday*

7 a.m. - 10 p.m.

Saturday - Sunday*

8 a.m. - 5 p.m.







All Other States

En español 1.800.432.1000

1.800.688.6086 Monday - Friday*

7 a.m. - 10 p.m.

Saturday - Sunday*

8 a.m. - 5 p.m.







TTY 1.800.288.4408 Monday - Friday*

7 a.m. - 10 p.m.

Saturday - Sunday*

8 a.m. - 5 p.m.







For Business Account Holders

1.888.Business

(1.888.287.4637) Monday - Friday

7 a.m. - 7 p.m. ET

Saturday

7 a.m. - 4 p.m. ET



Online Banking Sign-in Issues and Technical/Software Support



California 1.800.792.0808 Monday - Friday*

7 a.m. - 10 p.m.

Saturday - Sunday*

8 a.m. - 5 p.m.







All Other States 1.800.933.6262 Monday - Friday*

7 a.m. - 10 p.m.

Saturday - Sunday*

8 a.m. - 5 p.m.







For Business Account Holders 1.866.758.5972 Monday - Friday*

7 a.m. - 7 p.m.

Saturday*

7 a.m. - 4 p.m.



Bank of America Credit Card



All States 1.800.732.9194 24 hours a day

7 days a week







Collect 1.757.677.4701 24 hours a day

7 days a week







TTY 1.800.222.7365 24 hours a day

7 days a week



Investments



Self-Directed Investing

All States 1.800.926.1111 Monday - Friday

8 a.m. - 12 a.m. ET

Saturday

8 a.m. - 9 p.m. ET







Full-Service Investing

All States

1.800.822.2222 Monday - Friday

8 a.m. - 12 a.m. ET

Saturday

8 a.m. - 9 p.m. ET



Mortgages, Loans and Lines of Credit



Existing Mortgages

All States

1.800.669.6607 Monday - Friday

8 a.m. - 9 p.m. ET







Existing Home Equity Lines of

Credit & Loans

California

All Other States



1.800.621.1044

1.800.934.5626 Monday - Friday

8 a.m. - 9 p.m. PT

Monday - Friday

8 a.m. - 9 p.m. PT







New Mortgage Applications

All States

1.888.293.0264 Monday - Friday

8 a.m. - 11 p.m. ET

Saturday

9 a.m. - 5 p.m. ET







New Home Equity Lines

of Credit & Loans

All States



1.888.293.0264 Monday - Friday

8 a.m. - 11 p.m. ET

Saturday

9 a.m. - 5 p.m. ET







Auto, RV, Boat, Motorcycle or

Aircraft Loans

All States



1.800.215.6195 Monday - Friday

9 a.m. - 8 p.m. ET

Saturday

9:30 a.m. - 6 p.m. ET



New Accounts



All States 1.800.900.9000 24 hours a day





*Hours reflect local time, unless otherwise noted as a specific time zone.

how to see the decimal precision in Edit Control MFC

Display Decimal Precision with Editbox




--------------------------------------------------------------------------------



I have 20 Variables defined as a float in my MFC which get displayed in an edit box .



My problem is when I initialize them I want them to be displayed with two zeros after the integer for ex 42.00 what it does is 42



I know other way is to define them as CString and do it but then the problem is making sure that the user enters is a legal float value and not garbage, which I think will be too much to do for 20 variables.



Is there a better way I can display the float value without using CString

m_b_value = 1.0f;




but the edit display is 1



How can I make it display 1.0?

http://www.codeguru.com/forum/showthread.php?t=351445


Amazon Customer Care Phone number

Amazon Customer Care Phone number
800‑201‑7575.


Health Benefits of Cashews

  Benefits of Cashews. Healthy food is an integral part of healthy body. Regular exercises such as Yoga and healthy diet is important to...