CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: PiyuNewe

Page 1 of 5 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    4
    Views
    1,443

    Re: Database - from scratch?

    Hye,

    To develope a good (as you said : I just need to make something robust and hopefully quick but that will also allow a fair degree of adaptability. ) Database Engine only arrays and LL is not...
  2. Replies
    6
    Views
    987

    Re: int *&

    Okey Thats true. Thanks for your comments.

    But i am curious about the usages of this kind of programming. If you have any idea please post it.

    Thanks,
    -Piyush
  3. Replies
    6
    Views
    987

    int *&

    #include <iostream>
    using namespace std;

    int*& ret(int *x)
    {
    int *&ptr = x; cout<<"x : "<<x<<endl;
    return ptr;
    }
    int main()
    {
  4. Replies
    2
    Views
    3,034

    Re: [C++] Concordance Program

    Hi,

    1. Count the words,
    2. Allocate the String Array
    3. Copy the string to each array element while parsing it.

    -PiyuNewe
  5. Re: How to free up the memory automatically, when it reaches physical limit?

    Hi,

    When you are allocating memory and if it is going beyond the limit, it gets write to one file (it is called paging). Mostly this file will be at c:\\pagefile.sys. I have seen this scenario on...
  6. Thread: Help!

    by PiyuNewe
    Replies
    3
    Views
    747

    Re: Help!

    Here are tips for your "Reverse" function...

    1. Allocate a one temporary buffer and size is "Lenth of input string".
    2. Write a loop from Length of Input string to 0.
    3. Read Input String...
  7. Replies
    4
    Views
    1,443

    Re: Database - from scratch?

    I have experience to develope a db engine (as you mentioned like Oracle or MySQL).
    What help you need? Why you want to write the next Oracle ?

    -Piyush
  8. Replies
    13
    Views
    2,746

    Re: how to pause c++ program?

    Using getch() is right option. Check following code segment.

    func()
    {
    ...
    ...
    printf( "Press enter to continue" );

    do
    {
  9. Replies
    13
    Views
    2,746

    Re: how to pause c++ program?

    I believe you can use getch() in C++ also.

    -PiyuNewe
  10. Re: What does it mean that a sorting algorithm is stable?

    Thanks Luchin_plusplus and Wildfrog.

    -PiyuNewe
  11. Replies
    3
    Views
    818

    Re: C++ Binary (EXE) File Size

    Hi,

    Is there any article on this? Any link related to this is appriciated.

    Thanks,
    -PiyuNewe
  12. Replies
    13
    Views
    18,307

    Re: Export/Import: C++ class

    Yes you are correct. After putting the __declspec(dllexport) in the class's full declaration all the symbols are got exported.

    I had kept the Class declaration file common between my Library and...
  13. Replies
    4
    Views
    1,029

    Re: Relax function and updating things

    You might have stared up in any of the language. If so kindly post the code for others reference.

    -PiyuNewe
  14. Thread: Call Stack

    by PiyuNewe
    Replies
    2
    Views
    802

    Re: Call Stack

    This is one kind of Logging and need to change in all the functions. I am finding out the API (library function) because I don't want to change in any of the function/program and then re-compile it. ...
  15. Replies
    13
    Views
    18,307

    Re: Export/Import: C++ class

    I have exported class called "MyData".

    class __declspec (dllexport) MyData;

    This code change does not create a .LIB file and nothing is exported from my .DLL. (I have confirmed this using...
  16. Thread: Call Stack

    by PiyuNewe
    Replies
    2
    Views
    802

    Call Stack

    It is just for my curiosity, can we print a call stack for any application?

    I know we can do it by putting logging statements in each function. But any library function present to print the call...
  17. Replies
    13
    Views
    18,307

    Re: Export/Import: C++ class

    Thanks for your suggestion. I did my implementation in the same way.

    -PiyuNewe
  18. Replies
    13
    Views
    18,307

    Re: Export/Import: C++ class

    It is working !!!
    If i made the change in Library; everytime i need to copy the library to the location.

    -PiyuNewe
  19. Re: What does it mean that a sorting algorithm is stable?

    WildFrog,

    As per your statement "This result is 'stable' because the two '2' are in the same order as they were before sorted (the red one before the green one)."

    How we are sure that it was...
  20. Replies
    12
    Views
    1,763

    Re: De-bugging....?

    You are welcome !

    -PiyuNewe
  21. Replies
    13
    Views
    18,307

    Re: Export/Import: C++ class

    HI,

    I have exported one function and one variable from dll as below.


    #ifdef _EXPORTING
    #define DIRECTION __declspec (dllexport)
    #else
    #define DIRECTION __declspec (dllimport)
    #endif
  22. Replies
    12
    Views
    1,763

    Re: De-bugging....?

    I belive there is a long way to know this debug information.

    BTW, this is the link to understand what is RUN-TIME errors http://www.webopedia.com/TERM/R/runtime_error.html.

    To findout these...
  23. Replies
    12
    Views
    1,763

    Re: De-bugging....?

    One more thing !!!

    Using my above post you can understand the difference between the Compiler and Debugger. The code segment was too small (it is like nothing). In this code you can easily...
  24. Replies
    12
    Views
    1,763

    Re: De-bugging....?

    Your compiler can't point out "Exception Violation" kind of errors. In my earlier answer Error is not the compiler time "error", but it is run time error.

    As you mentioned that, compiler...
  25. Replies
    13
    Views
    18,307

    Re: Export/Import: C++ class

    Yep I am using Visual Studio.

    I have already exported a class using dllexport. But i am not able to Import it in my other Application.

    I used dllimport there but i believe syntax is not...
Results 1 to 25 of 118
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured