1st Q; be nice. Dont know topic for sure

I have been studying c++ for a long while
I understand many of the concepts. My biggest problem is more seeing the wasted time in advance of my programing based on better codes i have experienced. So i need to ask vague questions to shape my understanding.

I'm not great at math, but i understand it beyond my actual school education level if it has been shown in words rather than alphanumeric characters. When i see code i can only sometimes figure it out (despite usually having a large understanding of the basic programing concepts behind it) What i need is someone who can answer specific (or general questions) in a yes/ no manner.

I'm sorry about any bad questions but they are meant to help me learn. Please help me if you can; with the least disrespect! I want to learn; I just need to! For 2 years i have thus far dealt with monstrous condescension instead of answers. Please don't tell me anything whatsoever of your opinion. Help me by example alone; not self preaching. Most programmers i know don't want to help anyone they just want undue credit for code they were taught how to replicate. Get over yourself and realize how bad you are. I don't respect demands EVER so be friendly or don't bother helping (don't waste forum space). As MOD(erator) as my witness; please delete useless bullshit! (in every thread) ((including any of mine))

1st q: (I have seen mugen make use of simple text files to allow users to edit data rapidly without basic programming skills.

This seems awesome to me; but has this idea be translated into some array/table format? (like a simple table you can fill in excel style but have the germane data referenced by the program itself so that numerical values inside said table remain user based while compiler friendly, modifiable ,and super rapidly editable)

*** this is a question mostly about existing code. (Is there a way to skip writing each locational data value of an array inside C++?) When i use mugen i see how simple things can be (basic text entry)

EXAMPLE QUESTION:

Lets say i want to describe an ice cube, and want ice to be a subset of the class sprite with attributes: cold, slippery, translucent, hard, blue, and silent.

am i supposed to define all subsets and apply them to the sprite class or just define sprite and include subsets. (which is better long term practical for fastest loading)

CAN YOU GIVE A ULTRA BRIEF 2 VARIABLE EXAMPLE?

thanks a lot.

(again i get both ideas, but not what is data best) please help me

-Jonathan



1. You mean like a spreadsheet instead of an INI or some other kind of configuration file? That sounds like a really bad idea.

About the array question. Could you elaborate?
Topic archived. No new replies allowed.