CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: BleaS

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    21
    Views
    6,037

    Re: Theory Question: Global Variables

    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...
  2. Replies
    21
    Views
    6,037

    Re: Theory Question: Global Variables

    Forbidden is a weighty word. They are allowed syntastically at least.
  3. Replies
    21
    Views
    6,037

    Re: Theory Question: Global Variables

    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.
  4. Replies
    21
    Views
    6,037

    Re: Theory Question: Global Variables

    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...
  5. Replies
    21
    Views
    6,037

    Re: Theory Question: Global Variables

    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...
  6. Replies
    21
    Views
    6,037

    Re: Theory Question: Global Variables

    I can.



    Character.h

    #ifndef GUARD_Character_h
    #define GUARD_Character_h

    extern struct Character {
  7. Replies
    21
    Views
    6,037

    Re: Theory Question: Global Variables

    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...
  8. Replies
    21
    Views
    6,037

    Re: Theory Question: Global Variables

    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...
  9. Replies
    4
    Views
    1,022

    Re: Issue with tolower.

    Well, I look like an idiot. Thanks for pointing it out though.
  10. Replies
    4
    Views
    1,022

    Re: Issue with tolower.

    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.
    ...
  11. Replies
    4
    Views
    1,022

    Issue with tolower.

    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...
  12. Replies
    21
    Views
    6,037

    Theory Question: Global Variables

    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....
  13. Replies
    6
    Views
    1,125

    Re: Doubling a vector?

    Sorry, that's what I meant, of sorts. Thank you for the responses, I think I have a clearer understanding of them now.
  14. Replies
    6
    Views
    1,125

    Re: Doubling a vector?

    I would access elements via

    doubled_vector[x][y].built_in_vector_function() ?
  15. Replies
    6
    Views
    1,125

    Doubling a vector?

    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...
  16. Thread: Some Funky Math

    by BleaS
    Replies
    5
    Views
    981

    Re: Some Funky Math

    Because I was wrong.
  17. Thread: Some Funky Math

    by BleaS
    Replies
    5
    Views
    981

    Re: Some Funky Math

    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...
  18. Thread: Some Funky Math

    by BleaS
    Replies
    5
    Views
    981

    Some Funky Math

    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...
  19. Thread: NULL Values

    by BleaS
    Replies
    13
    Views
    1,365

    Re: NULL Values

    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.
  20. Thread: NULL Values

    by BleaS
    Replies
    13
    Views
    1,365

    Re: NULL Values

    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...
  21. Thread: NULL Values

    by BleaS
    Replies
    13
    Views
    1,365

    Re: NULL Values

    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.
  22. Thread: NULL Values

    by BleaS
    Replies
    13
    Views
    1,365

    NULL Values

    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...
  23. Replies
    19
    Views
    2,271

    Re: Stand-Alone .exe files?

    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.
  24. Replies
    19
    Views
    2,271

    Re: Stand-Alone .exe files?

    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...
  25. Replies
    21
    Views
    1,260

    Re: MSVC "Release" build

    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...
Results 1 to 25 of 135
Page 1 of 6 1 2 3 4





Click Here to Expand Forum to Full Width

Featured