|
A Patch is a windows terminology. An analogy for that - Surgeons re-operating a patient on his left eye that was missed last time mistaking right as the eye of interest.
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.
|
|
|
|
|
Ahh! the old eye surgery analogy, classic.
|
|
|
|
|
|
hello all,
Can you please tell me what is wsusscan.cab,By using it what all possible things we can do.
|
|
|
|
|
See here.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Does anyone know of free source code or a free library for an open file dialog (i.e. choosing a file from the file system), based on the windows api directly (without mfc)? Thx in advance!
|
|
|
|
|
It's source is not available, but can't you just use GetOpenFileName() ?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
I wasn't aware of the api function GetOpenFileName(). Thank you!
|
|
|
|
|
Shhhhhhhhhhhh, it's a secret [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Or GetOpenFileNameEx .
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
i don't know how i would delete CString.format(_T("%f"),a) a is type double..so 5 is 5,000000...now i would like to replace("delete") all the 0s from last index of string to index different from 0. for example:
5,0000 -> 5
5,1100 -> 5,11
5,0015300->5,00153
I have function for printing..so something must be done there ...Here is also function:
<br />
void CcalcDlg::izpis(double a)<br />
{<br />
CString str;<br />
str.Format(_T("%f"),a);<br />
editbox.SetWindowText(str);<br />
};<br />
Plz help,
Thx
|
|
|
|
|
change (see [^]):
Aljaz111 wrote: str.Format(_T("%f"),a);
to
str.Format(_T("%g"),a);
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
|
Hi all,
I am able to detect all usb drives from my program but are not able to detect digital camera(with pictbridge technology) from my program..... Is there any special kind of Api used to detect these type of devices....
Thanks in advance
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
hi guyz ..
how can i can input from .dat or .txt using getline statment ?
with unlimited size of memory ?>
|
|
|
|
|
dr.nokia wrote: how can i can input from .dat or .txt using getline statment ?
What is your trouble about?
dr.nokia wrote: with unlimited size of D'Oh! memory ?>
Uh! Who gave you that?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
coz i've assignment project about morse code read input from I/O file
|
|
|
|
|
Interesting, anyway, you didn't ask neither of my questions.
Good luck with your assignment.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
i want to use with unlimited size coz i don't know how the msg big is !!
|
|
|
|
|
Obviously you haven't memory of unlimited size. If your file is reasonably small then you may allocate memory to read the whole file, otherwise you need to read the (big) file in chunks.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
dr.nokia wrote: how can i can input from .dat or .txt using getline statment ?
Something like:
ifsstream ifs;
string line;
while (getline(ifs, line))
{
...
}
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
In VC++ 6.0 MFC application
i am trying to Display date in Shot Format eg;05-10-09
but it will print 05-10-2009
Here is the code i written
SYSTEMTIME st;
GetSystemTime(&st);
CString str;
str.Format("%02d-%02d-02%d",st.wDay,st.wMonth,st.wYear);
m_date=m_date + str;
I will get output say eg: 05-10-2009, but i want in this format 05-10-09
Plz any body help me
|
|
|
|
|
|
_tcsftime()[^] or CTime::Format()[^] to format date/time in required format how we can use it i am not getting plz will give the example
|
|
|
|
|
Hello Jiya,
if you have trouble with those apis, then use COleDateTime. Check the sample code snippet for your use,
COleDateTime time = COleDateTime::GetCurrentTime();
CString str = time.Format(_T("%d-%m-%y"));
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|