hi all
i do not know if i am posting this to the correct forum or not.
i am trying to get information on data streaming techniques for audio / video files. can anybody knows about it ? Useful links for the same will be of great help.
thanks in advance
sanjay
hi uolj
Thanks for the reply ....In the case which you discussed, the overall time complexity of the implementation is bound to go high to the order of O(n). Although to the end user, the implementation seems like list. My point is that vector implementation as list has got no practical...
hi All
i have a basic doubt as i was reading about the STL class Vector.
There are some operations that are provided in the vector. As the vector class template provides the stack operations, list operations. There are some functions which are related to memory as in size(), capacity()...
hi all
i have a doubt about the stack unwinding mechanism that happen in exception. how does the stack unwinding happens in this case? any useful link on this topic ????
thanks in advance
sanjay
hi all
i have come across one dount while reading templates. Following is the code snippet about the query
template <typename T>
class Test {
void foo() {
cout << "test function" << endl;
}
};
// Code using class template above...
Hi all
i am going through reading pahse for C++ templates where i came across some doubts .
1] The code snippet to which i came across in the document is as follows
template <typename T>
class CTest {
public:
typedef int I...
hi all
i am getting the segmentation fault when i try to execute the code mentioned below. is there any specific in the storage of string literal that is causing this ?
char *str1;
str1=(char *) malloc (100);
str1="hello";
cout<<str1;
free(str1);
cout<<str1...
Hi all
I am trying to develop the graphics module using C# as a development tool. I am a newbie to the graphics ...The requirement is as under.
The requirment is to give the "genie effect" to the existing UI/image. The targetted OS is Windows XP professional. The problem is that i am not able...
hi
Thank all for clarifying my doubts.
cpjust, i got the answer in your question for point no 3. My question was wrong ...thanks for the help anyway ....
Sanjay
hi all
wnated add some more doubts in the last post as follows
3. while overloading the template function, the template parameters are not taken in to consideration as per my understanding. what is the reason behind this ? The difference in the template parameters represents the different...
Hi all,
Following are some doubts regarding templates
1. When i say that the template is instatiating, i need the concrete type to instantiate the template. i am not clear on this as to what types i refer to be concrete. Extending this when i have the following code
//File.h
template...
Hi all
I have a query regarding inheritance. I want to stop the inheritance chain using C++. What is the mechanism that i should use to stop the inheritance. Assuming that the class will contain the non static data members also.
Thanks in advance.
Sanjay
hi all
i was going through C++ programming language -Stroustrup. I am confused in the header files that are mentioned for C linkage and normal stdio.h files.
The documentation says the following.
//cstdio
namespace std {
void printf(const char*,...);
/*Std C...
Hi
I have one basic query regarding how the system stores the Constants.
If i have the following code
double &dr = 1 ; // error: lvalue needed
constdouble &cdr = 1 ;
As the comment suggest, the lvalue required fot the plain reference but not for the const double&. Is there any...
Hi,
I wanted to restrict the input time for the scanf(). If the user does not enter with in say 2 minutes, the scanf() call should be terminated. Is it possible to acheive ?
I am using windows flavours for testing this .... please suggest ...
Thanks
sanjay
Hi,
The compiler is C compiler as per my understanding although the file is .cpp file as you correctly pointed out. This is the code from third party i am trying to build a sll out of makefile.
please correct me if i am on wrong directions as i am new to make files and the command line options...
Hi,
I am trying create the .dll out from the .C f ile using the makefile.
I am calling JNI_CreateJavaVM() function from .C file. This function is prototyped in JNI.h. When i tried to build the dll, i got the linker error as :
Creating library edabase.lib and object edabase.exp
edabase.obj...
hi All,
I am trying to get the information about the makefile for windows. This is to optimize on the build process for my project.
Can anybody help me in knowing the command that are used by windows to compile, link, making executable, making libraries which i can use in the makefile for...
Hi All,
I have come across one term while reading a book on C++ ... "Concrete class". The meaning of the term is not clear to me. Can anyone explain as to what a concrete class is and how it is different from the normal class?
Also when should i use the concrete class while programming in C++...
Hi All,
i came across some reading about the NRV [Named Return Value] of the function while i was reading about the copy constructors.
This named return value concept is not clear and how it is linked with compiler turning on /off the optimization ?
can someone summerize about the program...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.