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

Reputation: 1395 Grandmaster
Active Posts:
3,885 (1.83 per day)
04-June 09
Profile Views:
Last Active:
User is offline Apr 28 2013 04:53 PM

Previous Fields

Who Cares
OS Preference:
Who Cares
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
Expert In:
C/C++, Software Development

Latest Visitors

Icon   Oler1s has not set their status

Posts I've Made

  1. In Topic: How to read document(lines of text) and categorize them differently?

    Posted 21 Apr 2013

    > It doesn't matter how you put those yes and Nos. You could decide to label them differently.

    It does matter how you categorize. Maybe I'm misunderstanding. When you say the program should determine the category, what do you mean:

    1. The program presents each document to you, and asks you, a human being, to decide from a set of categories.
    2. The program inspects each document, and based on some rules, automatically decides by itself the correct category.

    In the first case, you simply need to present the information to the program user and request the user to pick a category (using a menu system, enter a category name, etc.)

    In the second case, well, it depends on those rules for categorization.
  2. In Topic: How to read document(lines of text) and categorize them differently?

    Posted 20 Apr 2013

    So what exactly is your question? If you're asking about categorization, I would think the first step is for you to determine what the criteria is.
  3. In Topic: StdAfx.h doesn't exist?

    Posted 20 Apr 2013

    > user_input = 'o'

    Here, = does not mean comparison. It means assignment. So you've assigned 'o' to the variable user_input.

    The == operator is used for comparison.
  4. In Topic: what is the point of namespaces when theres header files?

    Posted 30 Mar 2013

    Let's say you want to sort a vector of integers. You decide to write a function to sort integers, and being a good programmer, you give your function the name "sort". There's just one problem. The C++ language's standard library also has a function called sort. Uh oh. What do you do now?

    In languages without namespaces, the solution is to prefix. You want to ensure your function names absolutely do not clash with any other functions that could be made available, either through the language, or a third party library. So you start giving your functions names like "EvanClark_Sort" and so on.

    What you really want is a notion of namespaces. You want your sort function, but you want to classify it under a namespace of your choice. So you if you create a namespace called "EvanClark", you can place your function under that namespace, ensuring that your function, called sort, does not clash with another sort function, because that function will be in a different namespace.

    Once you introduce a formal namespace mechanism, you can introduce other associated feature to help with namespaces. In a particular scope, you may only intend to use the std library sort function. So within a particular function, you may state "using std::sort;" . Then, rather than repeatedly typing std::sort, you can just type sort.

    That's why namespaces exist.

My Information

Member Title:
D.I.C Lover
Age Unknown
Birthday Unknown

Contact Information



Page 1 of 1
  1. Photo

    alias120 Icon

    16 Aug 2011 - 20:00
    I just wanted to thank you for sharing "A Mathematician's Lament", I enjoyed it very much.
  2. Photo

    Aphex19 Icon

    17 Dec 2010 - 16:10
    Thanks Older1s for contributing your knowledge and guidence to this community.
  3. Photo

    no2pencil Icon

    24 May 2010 - 20:44
    Hey Oler1s, congratulations on the promotion, looking good in purple :)
  4. Photo

    skyhawk133 Icon

    24 May 2010 - 09:53
    Congrats on the promotion to Expert.
  5. Photo

    nikc121 Icon

    23 Apr 2010 - 11:16
    Just read your last post. Look I am a retired police officer and mother of 3. I have never even used a computer other than shopping. So for me to come up with any code is good. I AM trying my best. Maybe you could try positive help instead of negative. Im trying something new and its very difficult to understand unlike you who seem to be a computer wizard.
  6. Photo

    willist Icon

    19 Apr 2010 - 18:51
    Thank you very much for your guidance and your patience. You didn't just throw the answers out but taught me the concepts behind the problems. I really appreciate it.
  7. Photo

    diego_pmc Icon

    18 Apr 2010 - 13:33
    I see you don't yet have any comments on your user page, so let this be the first one. :)
    I wanted to thank you for the all help you gave me a while back with that text based game.
Page 1 of 1