User Profile

Collapse

Profile Sidebar

Collapse
dumparun
dumparun
Last Activity: Oct 14 '08, 01:23 AM
Joined: Feb 5 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dumparun
    replied to c++ text book
    in C
    the more you read, the more you learn.

    start with any of the books the members mentioned here.. dont stick to one and consider it as a bible. follow forums, blogs and articles...
    Also read different books for better understanding.. .
    rest, you will be able to figure out.

    thanks
    See more | Go to post

    Leave a comment:


  • dumparun
    replied to How To Learn C And C++ Code Easily
    in C
    i dont want to hijack this thread as his question is on how to learn c and C++ easily.

    I dont want to argue with the above two posters at all, since i feel both are correct in one way or the other.
    Since i dont know any back ground about you, whether you have any programming knowledge or not, its difficult to suggest something.

    My earlier suggestion was based on my assumption that you will be having some basic...
    See more | Go to post

    Leave a comment:


  • dumparun
    replied to how to create header files in c/c++
    in C
    thats interesting to know..
    thanks ...
    See more | Go to post

    Leave a comment:


  • dumparun
    replied to How To Learn C And C++ Code Easily
    in C
    Start reading books.. there are no easy ways as such...

    Start reading this book.
    Bjarne Stroustrup - The C++ Programming Language, 3rd Edition (Addison Wesley)

    As and when you proceed, keep writing small programs
    See more | Go to post

    Leave a comment:


  • dumparun
    replied to difference between these TWO Declerations
    in C
    Register is only a request to the compiler....
    adding register keyword doesnt guarantee, that the variable goes into the register.

    Basically used in embedded programing for faster access of the variables...
    See more | Go to post

    Leave a comment:


  • dumparun
    replied to Eclipse
    in C
    There is CDT Plugin available for C++/C Developement for eclipse.
    You may search for the same...

    install the plugin, do a bit of configuration, you are done...

    Now, please dont expect that you will get full feldged support like in Java.. no refractoring etc available..
    the CDT development is evolving and hence its a bit buggy....
    See more | Go to post

    Leave a comment:


  • dumparun
    replied to volatile short
    in C
    Another reason i think is to avoid the intelligent compilers from skipping the dead code.
    a scenario where a variable is declared and not explicitly used, will be removed by the compiler. But when "volatile" keyword is used its not the case...
    See more | Go to post

    Leave a comment:


  • dumparun
    replied to Class inheritance design.
    in C
    you can have a singleton class for the write access one.
    so that there is only a single instance of the same.

    Now comes read access, which you can have many.
    i dont know why you are having inheritance, since there is nothing which you are going to share. you can have a composition if intended....
    templating is also not necessary.

    another method is to use a factory method and see control the instantiation...
    See more | Go to post

    Leave a comment:


  • dumparun
    replied to Memory Problem in Called function
    in C
    Paste your original code for a correct answer.

    you may pass the address while calling the function.
    the function call will look like
    f1(&value1, &value2);...
    See more | Go to post

    Leave a comment:


  • dumparun
    replied to deallocating char** (double pointer) properly.
    in C
    this is how you allocate memory
    [code=c] variable = new char*[X];

    for( i = 0; i < X + 1; ++i)
    variable[i] = new char[Y];[/code]...
    See more | Go to post

    Leave a comment:


  • No, its not possible.....
    Even if you try, then a temporary object is actually created and initialized and then discarded.

    you can achieve the same effect by clubbing 1 or 2 constructors into a single constructor by giving default parameters....
    See more | Go to post

    Leave a comment:


  • static member data has a global scope and will reside through out the entire life of the program.
    There is only one copy and will be initialized only once.
    A constructor is called everytime the class is instantiated, and the reason !!!!!...
    See more | Go to post

    Leave a comment:


  • dumparun
    replied to rename a registry key
    in C
    http://www.developer.c om/net/cplus/article.php/3449721

    SetRegistryKey is an API used in Vc++ i suppose...
    See more | Go to post

    Leave a comment:


  • dumparun
    replied to WIndows and linux password
    in C
    haaa...
    finally some body told that irrespective of my user name


    well i was thinking about reading the hash from file like /etc/shadowpassword or something of that kind if you have access. has not done much research


    there wont be any way to read the password legally, other than hacking it.
    Else it wont solve the purpose of having the password.




    Now you...
    See more | Go to post

    Leave a comment:


  • dumparun
    replied to WIndows and linux password
    in C
    i think what he wants to do is to use a symmetric algorithm like AES or DES for encryption/decryption
    now what he wants is the Password which he could convert to a 16 byte key, using his own algorithm.
    I think you might have thought about some way to create a 16 byte key from the password.

    but now the problem is that you need the password from OS, which i am not sure you will be able to get.
    write a test application...
    See more | Go to post

    Leave a comment:


  • dumparun
    replied to comparing floating point numbers
    in C
    Ok... Got it right :)...
    See more | Go to post

    Leave a comment:


  • Little OffTopic, but just for the sake of Information

    HOW to Prevent Reverse Engineering (mainly for Java programs)

    Code Obfuscation. This is done mainly through variable renaming

    Suppression of End Of Line Characters. This makes the code difficult to parse.

    Use of anonymous classes for handling events. This seems not to be handled by many Decompiler

    Class file encryption....
    See more | Go to post

    Leave a comment:


  • dumparun
    replied to comparing floating point numbers
    in C
    Off topic though, could you please explain this...
    See more | Go to post

    Leave a comment:


  • dumparun
    replied to 2D array init with memset
    in C
    why is VECTOR_LENGTH 255 .....
    15 * 15 = 225
    you know the reason for your error, right.......
    See more | Go to post

    Leave a comment:


  • dumparun
    replied to memory leak with localtime()?
    in C
    i dont know the API,
    but my guess...
    there are API's which allocates the memory and return back a populated structure with the size.
    its the duty of the user to deallocate the memory.
    please check your API doc....
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...