Hello.
I am new to STL. I have written a c++ program which compiles correctly but crash when i run it. Please tell me what is wrong here. Thanks in advance.
#include <set>
#include <map>
...
Type: Posts; User: sunny_master_07
Hello.
I am new to STL. I have written a c++ program which compiles correctly but crash when i run it. Please tell me what is wrong here. Thanks in advance.
#include <set>
#include <map>
...
what is function of |= operator in C++?
like if we write a |= b;
what does |= do here?
thanks.
what is difference between char, uchar and uchar16?
Hello.
I have declared a boolean global variable within a header file.
Now, I want to change value of global variable within a function in another file such that it is globally changed.
Thanks in...
Ok....
But if i execute this program. It gives me 22 as output. Here it is possible because the value of i is changed within the expression. But in above case you are saying that it is 20 because...
Hi.
When I execute this program I get output of j as 20. Why it is not 21? Can anyone explain. Thanks.
int main(){
int i =10;
int j;
j = (i++ + i++);
printf("%d",j);
...
Hi friends.
I was reading a program ( C language) in an article.
It has defined this macro...
#define __P(proto) proto
what is significance of this macro.
check within while loop...if idnumber == q....then break out of loop.......
you should use break wihin your if block of while loop.
its 8 in both cases.......
Hi.
I have this class.
class ab{
int a;
char b;
};
Hi.
I am coding in C.
i have a global variable.
I want only one function to change its value, while all other functions could read the value in global variable, But they are not allowed to...
It worked this time....
Thanks a lot...
I didn't get the difference between LoadLibrary(path) and LoadLibraryA(path) functions.
Kindly reply.
Thanks again for your help.
Hi.
I tried it....now I am getting error....
error C2664: 'LoadLibraryW' : cannot convert parameter 1 from 'const char *' to 'LPCWSTR'
Yes..
Hi.
I searched for GetLastError() in MSDN. But could not find way to use it.
Can you tell.
Thanks
Yes...both .dll and .lib are in same directory as .exe.
Hi.
I am trying to create a .dll for a C++ project using Visual Studio 2005.
I successfully created it. Now when I am calling this .dll from another console application, I am not able to get...
I don't use any DLL. Its console project and .exe file is generated.
Hi.
I am new to visual studio 2005.
I have some libraries written in Console Project in visual studio 2005.
Now I want to use those libraries in another console project.
Can you tell,...
Hi.
I am using visual studio 2005.
I am coding in C++.
Is there any way where we can see a window pop up kind of thing, like an alert message, when any condition is met.
Thanks in advance.
Hi.
I am new to visual studio 2005.
I have created several projects.
Now if i select any file ( from various projects which i have created), then is there any way to find out which project...
thanks
Hi.
I am using Dev-CPP for first time.
I have created a normal c++ console project and written a hello world program.
Program compiles without errors.
But when i run it, a window appears...
Hi
I downloaded Dev-C++ 5.0 beta 9.2 (4.9.9.2) (9.0 MB) with Mingw/GCC 3.4.2.
I installed it. I made a normal hello world program and tried to compile and run it.
It compiled successfully...