Search:

Type: Posts; User: sunny_master_07

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    2,039

    Regarding STL

    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>
    ...
  2. Replies
    2
    Views
    1,506

    |= operator in C++

    what is function of |= operator in C++?

    like if we write a |= b;

    what does |= do here?

    thanks.
  3. difference between char, uchar and uchar16

    what is difference between char, uchar and uchar16?
  4. Replies
    1
    Views
    1,778

    Regarding global variable.

    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...
  5. Replies
    13
    Views
    2,029

    Ok.... But if i execute this program. It gives...

    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...
  6. Replies
    13
    Views
    2,029

    Output Problem

    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);
    ...
  7. what is #define __P(proto) proto in C

    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.
  8. check within while loop...if idnumber ==...

    check within while loop...if idnumber == q....then break out of loop.......
  9. you should use break wihin your if block of while...

    you should use break wihin your if block of while loop.
  10. Replies
    10
    Views
    1,611

    its 8 in both cases.......

    its 8 in both cases.......
  11. Replies
    10
    Views
    1,611

    size of a class

    Hi.

    I have this class.


    class ab{
    int a;
    char b;
    };
  12. controlling modifying global variable

    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...
  13. Replies
    14
    Views
    2,947

    It worked this time.... Thanks a lot... I...

    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.
  14. Replies
    14
    Views
    2,947

    Hi. I tried it....now I am getting error.... ...

    Hi.

    I tried it....now I am getting error....

    error C2664: 'LoadLibraryW' : cannot convert parameter 1 from 'const char *' to 'LPCWSTR'
  15. Replies
    14
    Views
    2,947

    Yes..

    Yes..
  16. Replies
    14
    Views
    2,947

    Hi. I searched for GetLastError() in MSDN. But...

    Hi.
    I searched for GetLastError() in MSDN. But could not find way to use it.
    Can you tell.
    Thanks
  17. Replies
    14
    Views
    2,947

    Yes...both .dll and .lib are in same directory as...

    Yes...both .dll and .lib are in same directory as .exe.
  18. Replies
    14
    Views
    2,947

    "DLL Failed To Load!"

    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...
  19. Replies
    5
    Views
    946

    I don't use any DLL. Its console project and .exe...

    I don't use any DLL. Its console project and .exe file is generated.
  20. Replies
    5
    Views
    946

    using visual studio.

    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,...
  21. Replies
    3
    Views
    2,529

    alert box

    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.
  22. Replies
    5
    Views
    2,002

    how to get project name.

    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...
  23. Replies
    2
    Views
    1,014

    thanks

    thanks
  24. Replies
    2
    Views
    1,014

    output window

    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...
  25. Replies
    15
    Views
    2,388

    Hi I downloaded Dev-C++ 5.0 beta 9.2 (4.9.9.2)...

    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...
Results 1 to 25 of 30
Page 1 of 2 1 2