Constructor is also a function of a class but has the same name of that class. for example if you are creating a class let us call it as Test then the constructor is a function that has same name Test(arguments) ; this constructor will be called automatically when you are creating object for this class(Test).
Constructor and Destructor are very basic in C++. so i suggest you to study C++. you may get lot of free e-book for C++ if you...
User Profile
Collapse
-
Access Boraland C++ builder dll in visual c++
Hai Friends,
Any body knows how to Access dll (Created by Boraland C++ builder 5.0) in Visual c++ 6.0.
i am Trying the following method
Dll Function :- Myfunc(int *a)
//Code
typedef void (WINAPI*cfunc)( int *a);
cfunc Myfunc;
void main() {
HINSTANCE hLib=LoadLibrar y("projdll.dll" );//DllCreateProjec t1DLLTEST
if(hLib==NULL) {
... -
Hai Mr Paul,
Thanks for your reply, i have not seen your first reply i am sorry for that.
Actually i dont know any thing about this wave file format i am new to this. in one of my application i am going implement this wave file. but in that i should be able to load one big wave file initially and then controling it at the runtime( for example if the wave file length is 60 second long i should be able to play this how...Leave a comment:
-
Hai ,
You just try this code,
#include <math.h>
#include <stdio.h>
double i[100];
int t,r;
main()
{
FILE *dat;
dat = fopen("ordered. dat","r+");
r=0;
for(r=0;r<50;r+ +)
{
fscanf(dat,"%d" ,&i[r]);
printf("%d\n",i[r]);
}
fclose(...Leave a comment:
-
Hai Melaghil,
I dont understand any thing from your code. please can you clearly explain your problem.
Cheers
K.Kiruba.Leave a comment:
-
Hai Sonic,
As per your requirement, you are just using getInput() function to get some value. you are not doing anything with parameters, so i think you can just make this function with out any parameters like void getInput( void ); i feel this may do.
cheers,
kiruba.Leave a comment:
-
Any one worked with wave files?
Hai Friends,
I just want to Implement index marking in the .wav file. can any one, tell me how to do this? or please refer any site which gives details related to this. if any one can give just sample code it will be great.
Thank you,
kiruba.k. -
wave file control at runtime
hai friends,
Any one know how to set bookmarks in a single wave file? that is i should able to control the wave file at runtime. is there any demo code for that?
thank you,
kirubanantham.
No activity results to display
Show More
Leave a comment: