Search:

Type: Posts; User: Clayg

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    940

    interacting with time.h

    I just finished my final. The hardest part was making an alarm clock. The best I could do was a count down using wait(i). i being the total of seconds from the hours, minutes, and seconds entered...
  2. Replies
    14
    Views
    2,092

    Nooooooooooooooo.... I don't get the *this yet. I...

    Nooooooooooooooo.... I don't get the *this yet. I will be asking about *this at another time and thread.
    I made them non-members and it works great with a tweak here and there. Thanks again!
  3. Replies
    14
    Views
    2,092

    I love you Laserlight the C++ Witch. and I Like...

    I love you Laserlight the C++ Witch.
    and I Like you dudes!!! :)
    wow, it worked that's pretty cool. It was such a simple thing I coudn't get me brain into it...
    Thank you to all of you.
  4. Replies
    14
    Views
    2,092

    Any one mind reviewing my attempt to overload...

    Any one mind reviewing my attempt to overload operator+? Thank you in advance.
    Alright, here is my attempt at the operator overload of + and -. So far I have only called the + in main and have...
  5. Replies
    14
    Views
    2,092

    so based on the examples DRK gave the int main ...

    so based on the examples DRK gave the int main call of the overloaded operator would be, if usinf 3 in the passed argiment:
    3 + ;
    and, depending on example, the out come would be (if example...
  6. Replies
    14
    Views
    2,092

    okay, so you have made it public then showed the...

    okay, so you have made it public then showed the definition which to me resembles a function, yes? so when plugged into main what is it going to look like for either of the two defs you provided?...
  7. Replies
    14
    Views
    2,092

    operator overloading

    Okay. Operator overloading is now further mind F*&^^%^& me. I am now trying to fit it into the scheme of things. I know that yo declare it kind of like : object operator + (then another object...
  8. Replies
    5
    Views
    963

    donyavhat, I am sure I miss spelled that. Thank...

    donyavhat, I am sure I miss spelled that. Thank you. I feel a bit clearer on the subject.
  9. Replies
    5
    Views
    963

    ...*sigh*,What is the dif between a default...

    ...*sigh*,What is the dif between a default contsructor and a constructor with parameters? They are both setting the rule of initialization of the new objects variables, right? So why would I...
  10. Replies
    5
    Views
    963

    I have been reading the cplusplus for the last...

    I have been reading the cplusplus for the last few hours, I will read through the c++ faq next. Thanks I realy appreciate it.

    I wonder how many years I will wander the streets of code until I...
  11. Replies
    5
    Views
    963

    .....Class building

    I am begining to understand the general idea of building and using a class. I have two diffferent begining c++ books that have enough information in them to make me realize I don't know enough. I...
  12. Replies
    4
    Views
    2,021

    I tried to set it up with the user entering a day...

    I tried to set it up with the user entering a day of the week, but I couldn't get a %s to beaccepted, only %d. So are enumerations only for the programer to remember what the ints are related too?
  13. Replies
    4
    Views
    2,021

    variable of type enum to be entered by user

    This is an assignment for an online course:

    "Create a set/list of enumerated constants called week that contain the days of the week. Have a variable named today of type week.Assign a value to...
  14. Replies
    11
    Views
    26,497

    It worked great. Now that I created the list I...

    It worked great. Now that I created the list I am going to try to delete from the list and modify existing elements in the list.
  15. Replies
    11
    Views
    26,497

    So for dynamic MSTUD should be a variable. Just...

    So for dynamic MSTUD should be a variable. Just declare it as 'int MSTUD' and do not initialize it. I will give this a whirl. This is begining to get confusing and very exciting. Thank you...
  16. Replies
    11
    Views
    26,497

    Ok, I am trying to print the list now and can't...

    Ok, I am trying to print the list now and can't figure out malloc. I believe I need to use malloc for Student however Student is not a ptr. This is what I have so far:



    #include <string.h>...
  17. Replies
    11
    Views
    26,497

    Ok, I am trying to print the list now and can't...

    Ok, I am trying to print the list now and can't figure out malloc. I believe I need to use malloc for Student however Student is not a ptr. This is what I have so far:



    #include <string.h>...
  18. Replies
    11
    Views
    26,497

    Never mind... I moved the printf and scanf for...

    Never mind... I moved the printf and scanf for cont after the i++ and it works great. Thank you VERY much once again.
  19. Replies
    11
    Views
    26,497

    Wow, huge difference. Thank you DRK. I did the...

    Wow, huge difference. Thank you DRK. I did the changes and its working, except when it is supposed to scanf for cont, it jumps to enter name followed by grade. If I enter n for grade it exits...
  20. Replies
    11
    Views
    26,497

    assigning value to a char array in a structure

    Hello, I am a first year student. I use gcc/netbeans to work with c. I have made a global structure then am trying to create another of that type that is an array.
    i am trying to fill the...
Results 1 to 20 of 20