Thread: Multiple classes question

  1. #16
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Yeah, you just came off like sound like you knew better. It's alright.
    It's perfectly understandable if you want to do it your way. Just don't say CornedBee didn't warn you
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  2. #17
    Algorithm engineer
    Join Date
    Jun 2006
    Posts
    286
    Quote Originally Posted by Elysia View Post
    Just don't say CornedBee didn't warn you
    No, that's for sure! Glad we're okay.
    Come on, you can do it! b( ~_')

  3. #18
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Hey, I'm fine with whatever you decide to do, and I don't have a problem with the wording of your post either. I think you're setting yourself up for failure (possibly depending on what you consider success), but that's an important part of learning, too. Time will tell.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  4. #19
    Algorithm engineer
    Join Date
    Jun 2006
    Posts
    286
    I see what you mean now with using generic programming, together with boost::variant; I have thought about and I think it sounds like a good idea. However, the purpose of the library was not to have as few types as possible, but rather as many usable types as possible, even if I would start out with only one or a few. I know there will be a lot of coding, but that’s alright; it's expected. Maybe I'm doomed to fail, but then as you say, I will at least have learned something.
    Come on, you can do it! b( ~_')

  5. #20
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    the purpose of the library was not to have as few types as possible, but rather as many usable types as possible
    I thought the purpose was to interpret user input as mathematical calculations.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  6. #21
    Algorithm engineer
    Join Date
    Jun 2006
    Posts
    286
    Well, yeah, but various kinds of mathematical expressions. It depends on how much I want to put into it. I'm not making the library because I think that it will be used, but rather because I want to see what I can get out of it. I always experiment with programming like this to see what things that are possible to create. A new idea I have however, is to simulate two-dimensional fluids using a finite element method approach rather than using particles that most applications do today. But that is a completely other story.
    Come on, you can do it! b( ~_')

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Splitting a dialog up into multiple classes
    By Just in forum Windows Programming
    Replies: 1
    Last Post: 05-29-2005, 11:11 PM
  2. #Develop Question, How do i create multiple Windows?
    By Zeusbwr in forum C# Programming
    Replies: 0
    Last Post: 04-24-2005, 11:14 AM
  3. Flowchart question: Classes
    By darnok in forum C++ Programming
    Replies: 6
    Last Post: 06-17-2004, 06:25 PM
  4. classes question
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 05-12-2003, 08:56 PM
  5. Passing classes question
    By Daggie in forum C++ Programming
    Replies: 3
    Last Post: 04-07-2003, 11:09 AM

Tags for this Thread