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

Reputation: 3485 Guru
Active Posts:
10,799 (13.2 per day)
05-May 12
Profile Views:
Last Active:
User is offline Today, 08:14 PM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Favorite Gaming Platform:
Your Car:
Dream Kudos:
Expert In:
C/C++, C#

Latest Visitors

Icon   Skydiver has not set their status

Posts I've Made

  1. In Topic: Secure Database System

    Posted 31 Jul 2014

    For the typical desktop, line of business, or web based application, you typically don't need indices that can compare that quickly (unless you have lots of joins on string fields). The way most applications are written nowadays, joins are done on foreign keys with those keys are often being integers. Even if the fields were GUIDs, it would still be fixed size keys. It's the extra processing time needed for variable sized keys that starts becoming expensive on the long haul.
  2. In Topic: C# method isnt working

    Posted 31 Jul 2014

    As noted above, the following code creates a new instance of a form, and does not show the form f:
            private void cmdOkay_Click(object sender, EventArgs e)
                frmCodeGenerator f = new frmCodeGenerator();

    That instance is completely independent of the instance that created an instance of your input form. So that means that calling updateString() on that hidden instance won't magically call updateString() on the visible instance.
  3. In Topic: Secure Database System

    Posted 31 Jul 2014

    If you need really super-duper fast key compares, the fixed-length non-Unicode character fields would be the correct choice. This is assuming you hit the sweet spot between space used (and consequently what needs to be read from disk), and CPU comparison speed. This is because memcmp() is faster than strcmp().
  4. In Topic: 8 queen problem with a twist

    Posted 31 Jul 2014

    Actually, you should name your parameters more descriptively. For example consider this function prototype:
    bool FindValueInArray(int value, int arr[], size_t arraySize);

    It makes it pretty obvious which parameters are which.

    (As an aside: The size_t could have just been an int for simplicity, but for correctness size_t should be use.)
  5. In Topic: 8 queen problem with a twist

    Posted 31 Jul 2014

    View PostDarraptor, on 31 July 2014 - 03:02 PM, said:

    When I use i+1 I get an error. I declared int Check_if_valid(int m,int posx,int posy,int i+1); and its saying expected ')' Even when I put paratheses around i+1 I still get the same error. Also I'm a little confused on how to walk the two diagonal lines emanating from the queen and check for queens.

    There is a difference between declaring and calling a function. Note that in my reply I said call.

    View PostSkydiver, on 31 July 2014 - 11:49 AM, said:

    He is following the convention that when you call a function that takes an array (or a set of parallel arrays), that you pass in the number of items in the array. ...

My Information

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

Contact Information



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

    tarmizi_adam2005 Icon

    08 Mar 2014 - 09:03
    Congrats on the 3k rep ! also, before your rep changes nice palindrome rep, 3003.
  2. Photo

    tarmizi_adam2005 Icon

    27 Nov 2013 - 18:56
    Just wanted to stop by and say thanks on the advices you gave in my post (read wav files C/C++) the other day.
    Thanks again Skydiver
  3. Photo

    sanwall Icon

    27 Nov 2013 - 00:54
    kindly answer my post about visual studio!
  4. Photo

    raspinudo Icon

    03 Jul 2013 - 05:51
    Nice Star Trek t.n.g. Reference
  5. Photo

    todddowers Icon

    26 Jun 2013 - 23:07
    hello i was wondering do you know anything about text based games.
  6. Photo

    CY5 Icon

    10 Jun 2013 - 07:07
    Thanks SkyDiver you're always there to help on C# forum
  7. 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..
  8. 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.
  9. Photo

    lp94 Icon

    07 Oct 2012 - 06:09
    thank you soooooo much <3
  10. 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 :)
  11. Photo

    tlhIn`toq Icon

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

    nazzie Icon

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

    vikuseth Icon

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

    MrShoes Icon

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

    BarackObama Icon

    31 Jul 2012 - 00:59
    This guy is the best! Love him
  • (2 Pages)
  • +
  • 1
  • 2