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

Reputation: 6226 Overlord
Group:
Alumni
Active Posts:
25,977 (9.53 per day)
Joined:
23-August 08
Profile Views:
227,528
Last Active:
User is offline Private
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Who Cares
Favorite Browser:
FireFox
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Subaru
Dream Kudos:
200
Expert In:
not much at all

Latest Visitors

Icon   JackOfAllTrades is missing compiled languages...

Posts I've Made

  1. In Topic: Word Censoring Homework, Debug Assertion Failed! error

    Posted 9 Feb 2016

    for (int i = 0; i <= MAX_LENGTH; i++)
    


    You're going past the end of the array there. You should probably only be operating on the string until you reach a null character anyway.

    while (Original[0] != 0)
    


    Probably should be checking against a null character, '\0'.
  2. In Topic: C++ exercise

    Posted 7 Feb 2016

    OK, like jimblumberg said, when will that loop ever end? That is, when does pLoop become false? Also, srand is usually only called once, at the very beginning of the program. And too many global variables.
  3. In Topic: Understanding OffSetOf()

    Posted 6 Feb 2016

    Data within structs is often padded to align on byte boundaries. Read this: https://en.wikipedia...ructure_padding
  4. In Topic: Windows service installer

    Posted 10 Jan 2016

    Quote

    a professional orgasm



    Best. Autocorrect. Ever.
  5. In Topic: Counting Words Of Length Less Than 5

    Posted 8 Jan 2016

    What jjl said. Also, another hint: what does break do?

    View Postarkoom, on 08 January 2016 - 09:04 AM, said:

    View Postndc85430, on 08 January 2016 - 03:55 PM, said:

    You also shouldn't ever be using gets() as it is unsafe and has therefore been removed from the C11 standard. See, e.g. this for info on replacements.


    'gets' is what we were shown and the teacher gets pissy if we use anything she didn't teach us directly.


    Your teacher is not qualified to teach a class in modern C.

    Quote

    Off Topic
    Am I not allowed to edit my posts?


    Read this.

My Information

Member Title:
Saucy!
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Location:
United States of Insanity
Interests:
Music, Sports, Games. The usual stuff.
Programming Languages:
C, C++, C#, PHP, Python, JavaScript, SQL, VB6, XML

Contact Information

E-mail:
Private
Website URL:
Website URL  http://