Skydiver's Profile User Rating: ****-

Reputation: 1898 Grandmaster
Group:
Mentors
Active Posts:
5,704 (15.02 per day)
Joined:
05-May 12
Profile Views:
19,624
Last Active:
User is online 4 minutes ago
Currently:
Viewing Forum: C and C++

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
AMD
Favorite Gaming Platform:
PC
Your Car:
Toyota
Dream Kudos:
100
Expert In:
C/C++, C#

Latest Visitors

Icon   Skydiver has not set their status

Posts I've Made

  1. In Topic: Making a simple password generator program - not working well

    Posted 19 May 2013

    If you are still doing:
    111            string number = randomNumber.Next(0, 10).ToString();
    112            return number;
    
    

    Then you aren't doing anything wrong. It just happens that your test sample has been relatively small and the pseudo random number generator hasn't returned anything above 5 yet.
  2. In Topic: Making a simple password generator program - not working well

    Posted 19 May 2013

    You need to just instantiate one instance of the Random class, and use that through out your entire program. That or figure out how to use a random seed for your the random number generator each time you create a new instance.
  3. In Topic: Trying to add my new program to startup using regedit, please help

    Posted 19 May 2013

    There are a few reasons why this could be failing for you:
    1. If you are running on Windows Vista or later, you need to be running as administrator or have elevated privileges to be able to write into the HKEY_LOCAL_MACHINE key. Since you don't check your return values, or the returned registry key handle, you (and we) can't tell if that's the reason.

    2. If you are compiling for for ANSI, then your call to RegSetValueEx() maybe putting the incorrect values into the registry since you are passing a UNICODE string for a REG_SZ type. Again, you don't check the return value to see if that write succeeded.

    3. Your anti-virus software maybe "protecting" the HKEY_LOCAL_MACHINE hive and intercepting and throwing away your attempts to write into the hive.
  4. In Topic: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse) ...

    Posted 19 May 2013

    Yikes, your gameWorld instance lives on the stack, but you are trying to delete it your PlayerObject's destructor!

    A good rule of thumb is that you should only deleting things that you created. This rule can be broken and bent, but usually it is conceptually easier to follow this rule.
  5. In Topic: Crypto++ in C++ Builder XE ?

    Posted 18 May 2013

    View PostLatias, on 19 May 2013 - 01:11 AM, said:

    Also i disabled AVG IS 2013 while extracting so no errors popped up.


    You need to tell AVG to also stop scanning while you are converting projects, compiling, or running. In short, tell it to ignore your development folders.


    View PostLatias, on 19 May 2013 - 01:11 AM, said:

    #skydiver
    Here is my VC++2010 project, which include md5.h and the cryptolib itself.

    http://rghost.net/46101376
    


    The only thing I found there was was your "example" solution. It doesn't contain md5.h, nor cryptolib.

My Information

Member Title:
Code herder
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Interests:
programming, shooting, skydiving, scuba, photography, game dev, cryptography, design patterns, agile methodologies, scifi, fantasy,
Years Programming:
33
Programming Languages:
C, C++. C#, PHP, JavaScript, Pascal, SQL, BASIC, Forth, x86, 65000, 65xx,

Contact Information

E-mail:
Private

Comments

  • (2 Pages)
  • +
  • 1
  • 2
  1. Photo

    Jovel Mark Icon

    05 Mar 2013 - 23:51
    salamat sa pagtulong .. keep it up the work..
    kung wala kamo wala kami mahimo sang amon nga project ba,, madamo gd nga salamat sa pagtabang..
  2. Photo

    tlhIn`toq Icon

    30 Dec 2012 - 16:20
    Congrats on the Mentor badge. I think that is new record. Glad to have you on board.
  3. Photo

    lp94 Icon

    07 Oct 2012 - 06:09
    thank you soooooo much <3
  4. Photo

    kai_itz me Icon

    25 Sep 2012 - 04:40
    i agreed with MrShoes.
    More knowledgeable than many; more patient than most.
    very well said :)
  5. Photo

    tlhIn`toq Icon

    01 Sep 2012 - 15:22
    I just saw the Expert badge... Well done!
  6. Photo

    nazzie Icon

    22 Aug 2012 - 00:34
    Thanks for your Help! Keep up the good work.. thanks so much! ^_^
  7. Photo

    vikuseth Icon

    17 Aug 2012 - 23:12
    hi
    thanks for helping me in Dll issue .
    you are the best. ..
    good luck...
  8. Photo

    MrShoes Icon

    08 Aug 2012 - 00:49
    More knowledgeable than many; more patient than most.
  9. Photo

    BarackObama Icon

    31 Jul 2012 - 00:59
    This guy is the best! Love him
  10. Photo

    DimitriV Icon

    26 Jul 2012 - 01:34
    Wow! You're shooting up the ladder now! Only two and a bit months and already an Expert. Congrats!
  11. Photo

    Salem_c Icon

    15 Jul 2012 - 12:45
    Impressive, 100+ votes in only 1/2 a month!
    Congrats on your successes.
  12. Photo

    Curtis Rutland Icon

    12 Jul 2012 - 08:21
    Congratulations on your promotion to Expert! http://www.dreamincode.net/forums/topic/285594-new-cc-and-c%23-expert-skydiver/
  13. Photo

    Salem_c Icon

    05 Jul 2012 - 11:43
    http://www.dreamincode.net/forums/topic/284547-using-the-registry/
    LOL - bumbling around
    I was about to say the same thing :)
    20+ posts just to get cout fixed - sheesh!
  14. Photo

    cniper Icon

    02 Jul 2012 - 16:24
    thanks for your reply!!! helped me a lot!!
  15. Photo

    David W Icon

    05 Jun 2012 - 11:17
    Great to have a seasoned C programmer presenting thoughtful, interesting, well reasoned and elegant examples in C and C++ ... keep up the good work :)
  • (2 Pages)
  • +
  • 1
  • 2