KYA's Profile User Rating: *****

Reputation: 3162 Guru
Group:
Alumni
Active Posts:
19,358 (6.3 per day)
Joined:
14-September 07
Profile Views:
151,502
Last Active:
User is offline Yesterday, 09:05 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Linux
Favorite Browser:
FireFox
Favorite Processor:
AMD
Favorite Gaming Platform:
PC
Your Car:
Honda
Dream Kudos:
3300
Expert In:
C, C++, Java

Latest Visitors

Icon   KYA likes Ruby

Posts I've Made

  1. In Topic: BusinessInsider swings and misses with "must know languages"

    Posted 11 Feb 2016

    That picture in the article is especially egregious.

    Nice 45 degree angle, soft colors, contrast with the text. So hot, so programming. They earned my click.
  2. In Topic: Certificates more important than degree?

    Posted 11 Feb 2016

    There are two instances where certificates are generally viewed as a positive:

    1. In your own mind, hooray I accomplished something.
    2. On certain government contracts, they will count as a year of experience. Why? It's kind of dumb, especially if the same contract doesn't count a Master's degree as two years of experience.

    Several years ago I took the Oracle Certified Associate and Professional certs for Java as my employer paid for it. It doesn't hurt, but doesn't always help.
  3. In Topic: While loop not exiting? I'm not sure where I am going wrong.

    Posted 6 Feb 2016

    The loops functioned as intended when I ran it.

    sizeof returns the size of the object, since this is a char pointer (and not a char array!) this will either be 8 or 4. Adding 1 to it does nothing for you.

    You need to do strlen on the room name and add one to it.
  4. In Topic: While loop not exiting? I'm not sure where I am going wrong.

    Posted 6 Feb 2016

    Post the updated code.
  5. In Topic: While loop not exiting? I'm not sure where I am going wrong.

    Posted 6 Feb 2016

    Your invariants are fine.

    Your issue is that you are only allocated space equivalent to the size of a char pointer on your platform. That allocates 8 bytes on my machine. Notice that some of the data you're trying to now copy into this allocated space exceeds 8 bytes/characters. Your heap is trashed. You need to allocate the length of the string plus one for the null terminator.

My Information

Member Title:
yay verily
Age:
28 years old
Birthday:
February 8, 1988
Gender:
Location:
U.S.
Full Name:
Knowles Y. Atchison, Jr.
Years Programming:
10
Programming Languages:
C, C++, Java, Ruby

Contact Information

E-mail:
Private
Website URL:
Website URL  http://knowlesatchison.net
LinkedIn:
http://www.linkedin.com/in/knowlesatchison
Twitter:
_KYA

Comments

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

    guilpter Icon

    08 Jun 2015 - 06:54
    Hi there i read your Huffman solution, http://www.dreamincode.net/forums/blog/324/entry-3150-an-in-depth-look-at-huffman-encoding/ I wanted to ask you if you have a file compression version ?
  2. Photo

    mireille4U Icon

    30 Apr 2015 - 05:23
    Greeting from mireille i saw your profile today and i became interested in you and i will like to know more about you and if you can mail an email to my mail address ([email protected]) i will give you my picture.here is my mail address i hope we can move from here.above. Mireille
  3. Photo

    Michael26 Icon

    25 Jun 2013 - 15:43
    Reputation: 3000
    Nice round number :)
  4. Photo

    Highdrox Icon

    05 Apr 2013 - 07:37
    Hello,
    Our community Digital Dominance is preparing to launch, we do have 1 coder right now but are looking for another coder to join and help produce cheats for the MultiPlayer Game Hacking community.
    There is potential to make some good money and build a name as a coder.
    If you are interested please contact me.
    Thanks,
    [email protected]
  5. Photo

    Martyr2 Icon

    23 Sep 2012 - 14:15
    Thanks for the five year badge, much appreciated. :)
  6. Photo

    lbrownlbandit Icon

    13 Jun 2012 - 12:40
    Hi , just wondering I could borrow you black jack code http://www.dreamincode.net/forums/topic/75554-blackjack-game/
  7. Photo

    strawhat89 Icon

    12 Jun 2012 - 22:40
    I see you like witty quotes. Have you read Jim Butcher's Dresden Files? Its chock full of witty banter.
  8. Photo

    strawhat89 Icon

    12 Jun 2012 - 22:40
    I see you like witty quotes. Have you read Jim Butcher's Dresden Files? Its chock full of witty banter.
  9. Photo

    no2pencil Icon

    21 Feb 2012 - 19:29
    Ich habe eine Koch-Video!
  10. Photo

    blutrane Icon

    13 Feb 2012 - 07:52
    Wo ist der neue Koch-Video?
  11. Photo

    Guest 

    04 Sep 2011 - 07:58
    Hello, with the pudding. Pudd-pudd-pudd-pudd-pudding! Hello, with pudding. Pudding Bill Cosby. PUDDING! Bill Cosby. PUDDING! Bill Cosby. PUDDING! Bill Cosby. Pudding, pudding, pudding, pudding.
    .
    .
    .
    .
    .
    .
    .
  12. Photo

    Shahrzzad Icon

    14 Jul 2011 - 09:29
    Thank u so much for accepting my friend request.:).
    Best.
    Shahrzad.
  13. Photo

    y2161994 Icon

    13 Jul 2011 - 03:23
    Hey friend,can you tell how I can know that My tutorial is approved or not.
  14. Photo

    ishkabible Icon

    28 Jun 2011 - 17:07
    get out of my BIOS, you could corrupt the input...or worse...the output!!
  15. Photo

    no2pencil Icon

    21 Jun 2011 - 11:27
    Post another baby making/cooking video!
  • (3 Pages)
  • +
  • 1
  • 2
  • 3