|
you deleted msg! that aginst the forum rule!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
You should look near at __DARLING_FUNCTION__ and __LOVELY_FUNCTION__ in the __BRATZ_FUNCTIONS__ group of defines.
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]
|
|
|
|
|
At last I resolved the error by replacing __FUNC__ with __PRETTY_FUNCTION__ why because __PRETTY_FUNCTION__ is not defined in VC++ 8.0.
|
|
|
|
|
I suppose you did the opposite, anyway, since you've deleted the OP, it's just a guess.
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]
|
|
|
|
|
Hello Dear Friends,
I am working on application which should play TV in a dialogbox.
For example http://www.livewtv.com/news/skynews.htm[^] contains a live TV.
I want to use some control(ActiveX) and want to assign this url to that control which should play this link.
Please correct me if I am wrong or any other alternatives or example code will be appreciated.
ritz1234
|
|
|
|
|
thats too control specfic programming.if you have to check your ActiveX control help for same.
I am afraid, very few programmer work in that area!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
There's an active-X component from ESPN, BBC
He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus
|
|
|
|
|
VuNic wrote: There's an active-X component from ESPN, BBC
is there any active-x from ten sports!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Can't you people simplify the problem?
What my idea is to use the activeX component if possible for this purpose, however I accept that I can be completely wrong.
But I also want you people to give better idea.
Cheers.
ritz1234
|
|
|
|
|
|
Purish Dwivedi wrote: how to detect installed language pack through installshield?
for what ? Langauge pack for your application or OS?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Hi All
There is any API which will give folder size like _stat function .I am try to get size without open folder.Plz help me
|
|
|
|
|
I guess no such function.
When we use file-manager to detect size of a folder, if the folder is in huge size, we can see file-manager detects size of files one by one and add them togather.
So, you may do same thing programmatically to find total size of files under the folder.
|
|
|
|
|
there is no direct api for retrieving folder size, but you can do that programmatically by using CFileFind and CFile::GetStatus
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
I want to do a topic on the management staff! Include add, delete employee, the employee by the employee by day with the number of each person, all information is entered in the file!
programming language C + + or C #? please help me! many thanks
|
|
|
|
|
hoale2008 wrote: topic on the management
you may want to pick up a book on how to manage your time reading and learning first.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
what do you need code or any software programmer that do it for you.. there are lot freelancer here who can do your work at £20/HR
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
hoale2008 wrote: I want to do a topic on the management staff
About their post-office-time relations?
He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus
|
|
|
|
|
hi !! can some one help me too Write a program like patchwork that takes two characters c and d, and a positive integer n and displays the following object made of the characters c and d over n
lines and n columns, as shown below.
(in for loop if that posible)
Sample 1:
Enter two characters and an integer: $ * 3
$*$
*$*
$*$
Sample 2:
Enter two characters and an integer: / \ 6
/\/\/\
\/\/\/
/\/\/\
\/\/\/
/\/\/\
\/\/\/
|
|
|
|
|
have you tried something!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
hi !!i have tried something like this
#include <iostream>
using namespace std;
int main() {
int n;
char c1, c2;
cout << "Enter two characters and an integer: " << flush;
cin >> c1 >> c2 >> n;
for (int i = 2; i < n; i++)
{
cout >> c1 >> c2;
}
return 0;
}
and
#include <iostream>
using namespace std;
int main() {
int n;
char c1, c2;
cout << "Enter two characters and an integer: " << flush;
cin >> c1 >> c2 >> n;
for (int i = 2; i < n; i++)
{
cout << c1 << c2 << endl;
for (int j = 2; j <= n-1 ; j++)
cout << c2 << c1 ;
cout << endl;
}
return 0;
}
but it turn ot to be different to what i want and i dont know what to do next .
modified on Wednesday, March 25, 2009 6:56 AM
|
|
|
|
|
BOOL b
A. if(!b){ ... }
B. if(b == FALSE){ ... }
There is my senior who says that B is better though said by another senior that a is better, too.
Both could not exactly explain the resion.
Also, sample by MSDN like PtInRect's, is test by if(b). And I checked the assembly of A and B, they are the same.
Which is better in your opinion, A or B?
Is it really different only in oppearance?
|
|
|
|
|
Sorry I did not read through the end of your description earlier.
The if evaluates true /false .
Case A:
bool b;
if(!b) { }
Case B:
BOOL bb;
if(FALSE == bb) { }
That's what I prefer...
Maxwell Chen
|
|
|
|
|
fitatc wrote: Which is better in your opinion, A or B?
I think it's a matter of style. I like A.
|
|
|
|
|
As Max has pointed out, when it's a true/false case, it's recommended that you use bool and not BOOL . Worse is to use a BOOL and store integer values in it. Just like the MS people do.
Also to reply your OQ,
It's not a preference, you should always use
if(cond)
{
}
Rather than
if(cond==true)
{
}
Because with the later, there are chances you end up with the legendary "=" operator. like if(cond=true).
He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus
|
|
|
|