Search:

Type: Posts; User: hubris

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    2,405

    Have to get used to using c strings for an...

    Have to get used to using c strings for an upcoming class (string not allowed). As for the basic "oops, I didn't see that" stuff, thanks. For the memory allocation...thank you.

    as for my...
  2. Replies
    5
    Views
    2,405

    Now whats wrong with this thing...

    Have this working a little better but, as before, I don't understand why it freezes after the first function call...Help, Please.


    //Class definition for personType
    #ifndef PERSON_TYPE_H...
  3. Replies
    4
    Views
    1,212

    Thank you, 777.

    Thank you, 777.
  4. Replies
    4
    Views
    1,212

    okay I'll look at the two string functions but I...

    okay I'll look at the two string functions but I have to use C-strings for the upcoming class I'm taking. lost all my class code c++ basic and advanced in one big drive scrub.
  5. Replies
    4
    Views
    1,212

    got this running but...

    I just created this class and I've got it running in main however it never escapes the first function call. help.


    //Class definition for personType
    #ifndef PERSON_TYPE_H
    #define PERSON_TYPE_H...
  6. Replies
    4
    Views
    903

    (facepalm) got it...simple typo ...Thank you 777.

    (facepalm) got it...simple typo
    ...Thank you 777.
  7. Replies
    4
    Views
    903

    unresolved external

    Simple enough. Been doing exercises for days to brush up for next term and this one (selectionSort func followed by sequentialSearch) keeps giving me error:
    Unresolved External...???


    #include...
  8. Replies
    12
    Views
    1,822

    I may be missing something completely (always a...

    I may be missing something completely (always a disclaimer) but what happened to cin.clear, cin.ignore(100, '\n')? But...like I said. I could be missing something.
  9. Thread: struct init

    by hubris
    Replies
    13
    Views
    5,181

    JK...sorry...grouchy... okay...probably a...

    JK...sorry...grouchy...
    okay...probably a compiler issue. What are you using?
  10. Thread: struct init

    by hubris
    Replies
    13
    Views
    5,181

    :) thank you.

    :) thank you.
  11. Thread: struct init

    by hubris
    Replies
    13
    Views
    5,181

    How about I wrap the whole project in ten or...

    How about I wrap the whole project in ten or twenty extra brackets instead?
  12. Thread: struct init

    by hubris
    Replies
    13
    Views
    5,181

    struct Thing { char name[13]; int num;...

    struct Thing {
    char name[13];
    int num;
    char dots[10];
    int fav;
    };
  13. Thread: struct init

    by hubris
    Replies
    13
    Views
    5,181

    struct init

    Getting error "expected expression before '=' token" for multiple lines similar to this...
    help?


    struct Thing Subthing[3] =
    {
    "thisOne", 1, "*", FALSE,
    "thisTwo", 1, "*", FALSE,...
  14. Doh! strlen NOT sizeof... got it...There is no...

    Doh! strlen NOT sizeof... got it...There is no exit condition for my gratitude. Works great now...
  15. Why child process will not read argv[2] past five characters?

    Assignment almost finished aside from this little issue. Using poll because for some reason cygwin freezes without it. Parent process copies command line arguments to string and then sends it a...
  16. Replies
    4
    Views
    52,276

    Hmmm. I guess it also depends on the project. If...

    Hmmm. I guess it also depends on the project. If my program has some initial cin/cout conversation I do main. If it's just to process a file or calculate complex math without any cin I start with...
  17. Replies
    4
    Views
    52,276

    compiling main first...

    I tend to compile my main first before I've ever even defined any functions so I've always got a page to return to if I get lost. Anyone else do that? Or do some start laying out function...
  18. Replies
    45
    Views
    207,273

    BTW, I agree with the "doing homework" thing. On...

    BTW, I agree with the "doing homework" thing. On the blender boards I always point guys to a tutorial when they ask for a .blend file (premade template) cause that's just plain lazy. So, I stand a...
  19. Replies
    45
    Views
    207,273

    trend, not generalization...

    Actually matsp, you've given me some decent advice, so (at least for me) you don't qualify. I have a thick skin. I just worry about the guys/girls who don't, and might decide to abandon the field...
  20. Replies
    45
    Views
    207,273

    Programmers new "elitist snobs"

    I have had a majority of polite, helpful and constructive responses to my questions and a few pompous rants, as well. I'm a beginner so they say the "eye rolling" responses to beginner questions is...
  21. Replies
    4
    Views
    2,123

    thank you

    will apply changes. However, I'm still confused if a decimal/fraction is divided by one it is still the decimal, thus producing a remainder. This doesn't apply for %? Please clarify. I apreciate...
  22. Replies
    4
    Views
    2,123

    code to test odd/even

    This should be real easy but I'm not getting it.
    User is prompted for an integer. I test the integer for being equal to zero or int % 1 !=0. Below I test against mod 2 for even/odd.

    First it...
  23. Replies
    2
    Views
    2,090

    thank you

    I did say it was rough.

    Thank you for your help. When exploring any new discipline of thought, the first step is knowing its rules. thats why I'm here.
  24. Replies
    1
    Views
    1,333

    Blender Newbie...

    This is just for future reference, but I just started using blender and I've got the python all working right with it but I have no intention of learning python while I'm still taking c++ (that's a...
  25. Replies
    2
    Views
    2,090

    Assignment to decrypt a text.

    I'm approaching you guys for help because I really want to get this assignment right.

    First: My main looks like this:


    #include <iostream>
    #include <string>
    #include <cstring>

    using...
Results 1 to 25 of 34
Page 1 of 2 1 2