Search:
Type: Posts; User: BleaS
Search:
Search took 0.02 seconds.
-
August 10th, 2009, 03:19 PM
Ah. Well, I think that would make a bit more sense on a team. Where the reading suggests that global variables increase program complexity, adding more people to the project compounds that, no? Would...
-
August 9th, 2009, 08:41 PM
Forbidden is a weighty word. They are allowed syntastically at least.
-
August 9th, 2009, 07:22 PM
I thank everyone for their input, and Paul, I do get it, which is why I'm motivated to follow the progression of learning that's been set out until I do classes. Until then I'll have to make do.
-
August 9th, 2009, 12:54 PM
Arrays seem a bit less complicated than learning classes. It doesn't seem to be reasonable to skip the learning progression to learn classes when they're much more to deal with and complicated than...
-
August 9th, 2009, 11:32 AM
The major issue for me is that I find myself passing certain variables through EVERY function, even if the nature of the function doesn't seem to involve them. Just because it needs to go to another...
-
August 9th, 2009, 11:01 AM
I can.
Character.h
#ifndef GUARD_Character_h
#define GUARD_Character_h
extern struct Character {
-
August 9th, 2009, 09:19 AM
Update: I'm getting all sorts of errors when trying to turn the variable global. It's frustrating enough to make me want to stop since I know people are going to be hesitant to help me get them...
-
August 6th, 2009, 09:37 PM
I guess I'll learn from my mistakes and try it out. I do think in this instance it will work. But I think I'm of some of the same mind in why they are bad, though I haven't run into many issues yet...
-
August 6th, 2009, 09:34 PM
Well, I look like an idiot. Thanks for pointing it out though.
-
August 6th, 2009, 08:25 PM
Forgot to post, I'm using:
Microsoft Visual Studio 2008 (Express Edition)
Version 9.0.30729
Also, two things. I noticed that I had the names inconsistent, fixed that. Issue still happens.
...
-
August 6th, 2009, 07:27 PM
Yes, another question. I apologize deeply, but it's part of the reason the forums are here, right? I've been trying to research a lot of these issues before posting. For the global variables I found...
-
August 6th, 2009, 06:54 PM
From what I've come to understand, we don't often use global variables because we want to preserve the name in case we wish to use it for a different, but similar purpose later on in the program....
-
August 6th, 2009, 03:48 PM
Sorry, that's what I meant, of sorts. Thank you for the responses, I think I have a clearer understanding of them now.
-
August 6th, 2009, 03:35 PM
I would access elements via
doubled_vector[x][y].built_in_vector_function() ?
-
August 6th, 2009, 03:25 PM
Is it possible to declare a vector that is double, sort of like a double array?
int somearray[20][20]
I'm making a program right now of my own design before I launch into Chapter 6 of...
-
-
It's impossible for a negative number to be entered into the value due to some other checks in the program, thus it's a bit easier since we don't have to check for negative numbers. Download the...
-
Grader v. 1.01b.exe
Grader v. 1.01 BETA Source.zip
So, I have an odd dilemma that I'm not entirely certain I can pin point through debugging. To me, it seems more like an issue of not...
-
I thank everyone for their responses and will begin to work on shaping my program to reflect that. Though I think I'll be trying to continue on in my learning since I feel ready to do so.
-
It certainly looks like a class would be useful, but I'm not on that in my learning yet and so I suppose I will have to refer to other methods.
I had considered using -1, but that requires signed...
-
The problem with 0 in this program is that 0 can be an actual value. It's a grading program, and if I make 0 a NULL value, then it will be impossible to give a student a grade of 0.
-
I was wondering if there was any good reading regarding using null values in C++. Currently, in the program I'm working on for learning C++, when someone adds a person to edit values on, I have all...
-
April 23rd, 2009, 09:54 PM
This was an old thread that I revived and no one said anything before. If you'd like to move it, by all means, otherwise your comments are quite unneeded.
-
April 23rd, 2009, 03:54 PM
Still can't find anything that says static. If someone can tell me what to look for along the tree, I can probably get it. The tree is very organized so it can't be difficult to explain.
Set Build...
-
April 20th, 2009, 08:22 PM
Thank you, after all of this I finally got the one thing I was seeking. I wasn't seeking argument or anything, if a mod wants to put this in the Visual C++ forums for others to find, that's fine. All...
|
Click Here to Expand Forum to Full Width
|