|
I am currently trying to learn c++, and am looking for some help. I need to know how to search the folder that my app.exe is placed in, to find all jpg files, and store the names in an array.
Regards
Paul
|
|
|
|
|
Take a look at CFileFind, FindFile and FindNextFile in MSDN
|
|
|
|
|
pls tell me an API by which i can fetch the Hardware information persent in Device Manager.
|
|
|
|
|
|
|
|
there are number of books availble for com!
like Essential Com by Don Box!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
If you have an array and it initialized it with say 50 members.
now each time I execute the program a member of the array should be chosen randomly for further operation.....can it be possible?
please help.
|
|
|
|
|
use rand() ...
#include <stdlib.h>
#include <time.h>
srand((unsigned)time(NULL));
rand()%50;
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Hello
When trying to get file list from the directoy located on the another computer (mounted as drive I) using CFindFile I get an error for some subdirectories:
The specified server cannot perform the requested operation
(error ERROR_BAD_NET_RESP)
Can anybody help?
Oleg Chebotar
|
|
|
|
|
Hello,
I want to suggest a good code count tool for my group. What is I am expecting is that, it has the capabilities to select a whole project, custom selection of files, export count data. etc.. anybody can suggest good tool for the same?
Regards,
Sarath
Currently I am working as software engineer at Network System Technologies Pvt. Ltd (NeST). Most of my project are in C++. Most interesting are in GUI programming.
|
|
|
|
|
|
Hello everybody,
Anybody can suggest good tool for code counting?
Regards,
Sarath
Currently I am working as software engineer at Network System Technologies Pvt. Ltd (NeST). Most of my project are in C++. Most interesting are is GUI programming.
|
|
|
|
|
|
We need something independant which can be used with visual C++ 6.
Currently I am working as software engineer at Network System Technologies Pvt. Ltd (NeST). Most of my project are in C++. Most interesting are is GUI programming.
|
|
|
|
|
|
P-Rex wrote:
Try this
Project Line Count
I also use the project line counter from wndtabs.com[^], it works well and the outputted xml file is easy to work with.
-------------------------------
Programming is 40% Art, 40% Technical knowledge and 20% Voodoo Magic.
|
|
|
|
|
I created a MDI project. I want that the child frame always full fill the client of the mainframe.
I used the style WS_MAXIMIZE in childframe's precreatewindow method.But I found that although the child frame maximized,but there was a sizing. It seemed that the child frame first showed in normal size and then changed into fullsize. Not nice.
How can I show the child frame maximized at the first time?
Thank you all.
|
|
|
|
|
I have solved the problem.
void CChildFrame::ActivateFrame(int nCmdShow)
{
// TODO: Add your specialized code here and/or call the base class
nCmdShow = SW_SHOWMAXIMIZED;
CMDIChildWnd::ActivateFrame(nCmdShow);
}
that's ok.
|
|
|
|
|
Hi...everyboby.
The time before, I posted a message about where webpages have theory about DSP (Digital Signal processing). However, I haven't known any webpages having these theory.
I spend much time searching on the internet, but I haven't had a exact result.
I wish that someone would tell me where I could receive the infomation about DSP in detail.Thank you so much....vtalau
|
|
|
|
|
There are only a few webpages about DSP, so I'm asking you what kind of DSP you want to learn?
Fourier analysis? Filters?
Don't try it, just do it!
|
|
|
|
|
I want to learn about the DSP which is used to control the frequency of the sound when playing a .wav file or .mp3 file...
|
|
|
|
|
I have this class
class A (definition)
{
...
private:
TCHAR _sWord[16];
public:
void Word( TCHAR word[16] );
TCHAR* Word( void );
}
class A (implementation)
{
void CWordData::Word( TCHAR word[16] )
{
this->_sWord = word;
}
TCHAR* CWordData::Word( void )
{
return _sWord;
}
}
The problem I want _sWord defined to [16]. But I cant figure out how ref it inside the methods.
Please help me with this ignorant ?
Nick
I'm not an expert yet, but I play one at work. Yeah and here too.
|
|
|
|
|
Instead of this
Ista wrote:
void CWordData::Word( TCHAR word[16] )
{
this->_sWord = word;
}
use this
_tcscpy(this->_sWord , word);
you cannot copy two string using = operator.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
I knew it was ignorant.
thanks.
I'm not an expert yet, but I play one at work. Yeah and here too.
|
|
|
|