thanks a lot for your suggestion. but i want find the time exactly, so i need to find number exection cycle of the program. with this execution cycle i can find the time taken by the code. so please can you help me out in find execution cycle any code. Regards and Thanking you sham
shiva shankar
Posts
-
how to check the execution time of any program that is execute -
how to check the execution time of any program that is executehi, how to find the execution time(time taken to execute) of any program in vc++ please help me out.
-
how do i flush sound bufferhow do i flush sound buffer . i need it because while playing in between if press stop button , it is retaining contents in buffer and again if i press play button it is getting overlapped with previous content of the buffer and there is glitch (problem)while playing at the beginning. i am using "waveoutopen" function
-
How to stop, pause and set Timer while palying a Wave filei am bulding a wave Player in vc++, i am using Playsound()(mmsystem.h) function to play wave file. So can any one help me how to stop, pause and set the Timer ( to control the Slider) for Wave file while playing.
-
how to find the length or Time of the WAV file will be played using VC++I want to find the length or Time of the wav file played, please can any one help me out with the code to find the Time for which wav file will be played..
-
get the current working directoryhow to get the current working directory in MFC app Wizard (vc++), i have the code but it is working in Winconsole (vc++),but the same code is not working in MFC app Wizard, is there there any alternative code in MFC app wizard.. // #include #include #include void GetCurrentPath(char* buffer) { getcwd(buffer, _MAX_PATH); } void main() { char CurrentPath[_MAX_PATH]; GetCurrentPath(CurrentPath); printf("%s" , CurrentPath) ;//using messagebox instead of printf in mfc it is not working }
-
how to control the "SUBMIT" button when the ENTER is pressed from keyboardIn my project i am trying to take LOGIN and PASSWORD of the user,when the user enter the login and password and then press "ENTER" from the keyboard , then dialog box is getting termernated(i,e "EXIT" BUTTON),but i want to control on "SUBMIT" button when the ENTER is pressed..
-
how to enable the "ok" button after 8 second in MFC Dialog boxin my project, when the dialog box (window) is initialized( i,e Onintdialog())the "ok" button is disabled, and i want it to enable automatically after 8 seconds. plz can any one guide me to enable the button after 8 seconds...
-
error! repeatedly calling the same MFC dialog box in vc++There is no bug in program,the same program i can run it in (c language) cmd prompt.. i have check it out by creating new dialog box ("hello")having only "OK" Buttton in it. void CHelloDlg::OnOK() { // TODO: Add extra validation here CDialog::EndDialog(IDOK); CHelloDlg cmd(this); cmd.DoModal(); } after running it . keep pressing the "ok" button continously, the dialog box crashes or ends after 50 times..
-
error! repeatedly calling the same MFC dialog box in vc++i am doing project on vc++ MFC DIALOG, where in i will be repeatedly calling the same dialog box morethan 100 times, but the problem is, that the dialog box is getting crashed(terminating or ending) after some 50 times.. what can be the problem?
-
to calculate the Time of Playing an Audio fileplz can any one help me in calculating the time, that will be taken in playing the audio file using c or vc++ program.
-
how to delete files(txt) from vc++ programplz can any one help me in deleting a Text file thru c or c++ vc++ program.. ( i am using "ShellExecute(NULL, "del","c:\\res.txt",0, 0, SW_HIDE);" but this statment is not working.)
-
How to select a folder in vc++(MFC)I have a file and i want to save it in the specified by the user folder, All of this, using Visual C++(MFC dialogbox). I Know how to select a file but I don't know how to browse for a folder. If anyone can help me, please do so. Thank you.
-
how to access variable from the another dialog boxplz can any one help me how access the variable(cstring or int )which is intialized in the other class(dialog box). i am not able to do with the conventional method i,e creating a object and accessing the variable Cdialog1 same; (where "Cdialog" is class and "same" is an object) same.array1; (array1 is an varaible of object "same") the above method is not working please can any one guide me....
-
to create a browse button to display path of file using mfc dialog boxplz can any one help me in creating a dialog box with browse button to display path of the files in mfc i,e vc++
-
export & import data from vc++ or c++plz can any one help in getting a code which writes and reads data into excel sheet using c++ or vc++..
-
to execute MS Dos file inside c or c++ programplz can i get source code in c or c++ to run an batch file.
-
to execute MS Dos file inside c or c++ programIn my project i need run an executeable file inside a vc++ program. can any one please guide with some suggestion
-
accessing excel sheet thru vc++plz can any one guide me how to dump(apppend) the record(data) into excel sheet using Vc++(MFC wizard) and also to write program which controls data(i,e to delete data using a program ).
-
Playing raw audio files thru c or c++suggestion which you have given it support for only .wav file ,but i need to play .raw files at some sampling rate(Fs=8000).plz guide me.