I got answers for the hosters
There were two answers from two different person, one told me to add a php.ini, another just simply pointed me to the link: www.php-cli.com. Anybody once experienced this? Thank you!
User Profile
Collapse
-
how to enable PHP CLI (command line) on a hosting?
I applied for a hosting service recently. But I dont know how to enable the PHP CLI (command line) on a hosting. Is there a parameter in PHP.ini? or have alternative method to do that. Thank you! -
File transfer between two computer
Under Windows and Internet environment, what is the best way to tranfer a big file ( about 27M ) between two remote computers? Does windows have commands to support this (e.g. ftp & ftpd)?
Thank you! -
Sorry for the confusion. Actually, I want the debug to be stopped automatically where the variable IFC=5, for example. Is it possible to set a condition? This program is huge with lots functions while IFC is a global variable. :-)
Many thanksLeave a comment:
-
Visual studio debug - set a condition on a particular variable
I'm using VS 2005 under WINDOWS to debug a piece of code. Can I set a breakpoint based on a variable's value. For example, I have a variable IFC. I want to find out where IFC is set to 5.
Another question: could somebody tell me where I can find a best tutorial about how to use Visual Studio debug. -
about visual studio editing
Envirionment: Windows and Visual Studio 2003.
Sorry, I dont if this is a right question to post here. I'm using VS 'Find and Replace'. Is there any method to look for a variable name based on the Find Result 1. For example, I want to look for two seperate words in one file.
Thank you! -
a question of Installscript to call a c function
Hello guys, I couldnt find anywhere to post. I hope I didnt break the rules ( at least it's a c function :-) ), if I did, just delete this post.
I would like to know if I can call a system function "ImmInstall IME" in Installscript, and how?
OS: windows xp
Lanague: Installscript and Windows C
PS: ImmInstallIME is a function of Windows C
As I know, niss can do this like, System::Call... -
about a question of Installscript
Hello guys,
I would like to know if I can call a system function "ImmInstall IME" in Installscript, and how?
OS: windows xp
Lanague: Installscript
PS: ImmInstallIME is a function can be used by Windows C
As I know, niss can do this like, System::Call 'imm32::ImmInst allIME()' -
How to be on top of IE address list
I'm doing a word prediction softwere using C & WindowsXP. When I use IE and type an address, its address-list always covers my word-prediction window.
I created the word-prediction window with 'WS_EX_TOPMOST' parameter, and also tried 'HWND_TOP' of SetWindowPos. But it didnt work. Are there any suggestions? Thank you!
By the way, if I want to get the info of IE address list (e.g. size), how can I get it? -
about IME hotkey
Actually, I'm developing an English IME (Input Method Editor). I'm just wonderring if I can set any compound keys ( e.g. ctrl+F1) to turn on IME rather than use the default one (alt+shift, this is not very comfortable for disabled people). I add a new item in regedit (HKEY_CURRENT_U SER\Control Panel\Input Method\Hot keys), but it doesnt work. Any idea about this? Thank you!
About IME, please refer to Control Panel ->Regional and... -
It's very easy!
Use a 'while' and a char variable as transition variable. only cost O(n/2).Leave a comment:
-
-
-
1. Recommend a book,
Generic Programming and the STL - Using and Extending the C++ Standard Template Library.
You can write a Template which can deal with different types.
2. Train a feedforward neural network by using Matlab, which is a black box, you just need to pre-process and postprocess your input and output based on some data mining method, such as gaussion distribution, histgram etc.Leave a comment:
-
some questions
Recently, need these functions. I thought it's better to ask experts first before rush into programming. Thank you!
1.is there c/c++ function to calculate two word's similarity
2.given an English dictionary, is there c/c++ function to calculate its hush value.
3.given a word, is there c/c++ function to pronunce it
4.given a wrong word, is there c/c++ function can recommend a list of words. -
play a small trick to finish that,
CFile f;
{
CArchive ar(&f, CArchive::load) ;
while(ar.ReadSt ring())
{
//
}
}
f.SeekToBegin() ;
{
CArchive ar(&f, CArchive::load) ;
while(ar.ReadSt ring())
{
//
}
}
Thank you!Leave a comment:
-
But why second "while" doesnt work? see below. (It seems the pointer is still at the end of file)
CFile f;
CArchive ar(&f, CArchive::load) ;
...
while(ar.ReadSt ring(ptr))
{
//work well
}
ar.Flush();
ar.GetFile()->SeekToBegin( );
ar.Flush();
while(ar.ReadSt ring(ptr))
{
//
}...Leave a comment:
-
-
file pointer reset of CArchive
Hello, I used below MFC code to read a file, but I need do that several times, how can I move the pointer to the beginning of file once again. Thank you!
CFile f;
CArchive ar(&f, CArchive::load) ;
...
while(ar.ReadSt ring(ptr))
{
...
}
//here should reset to the beginning of file
//re-read the file again
while(ar.ReadSt ring(ptr))
{
... -
No activity results to display
Show More
Leave a comment: