Search:

Type: Posts; User: Blanket

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Thread: Mhz

    by Blanket
    Replies
    7
    Views
    1,355

    "...The 8088 processor was an 8 bit processor,...

    "...The 8088 processor was an 8 bit processor, handling data in 8 bit chunks (a single character). Its clock rate was 4.77Mhz..."

    So does this mean that a 4.77Mhz processor can only handle a...
  2. Thread: Mhz

    by Blanket
    Replies
    7
    Views
    1,355

    Mhz

    What exactly is Mhz. I mean, when you see a cpu that is .400, 2.1, 1.5 4.47, Mhz, what does that mean? I know the more Mhz the processor has the faster it is. But how?
  3. Replies
    5
    Views
    3,047

    why the - '0'; part in theNum = getch( ) - '0';...

    why the - '0'; part in
    theNum = getch( ) - '0';
    what is the - '0';
  4. Replies
    5
    Views
    3,047

    getch() / getche()

    i was using getch() funtion and storing the result in a int variable. But it didn't work properly. I did an 'add watch' on the program to see what the int varibale was.
    int num;
    num = getch();...
  5. Replies
    16
    Views
    3,128

    ohhh..tru true, i forgot about inlined...

    ohhh..tru true, i forgot about inlined functions:D thanks
  6. Replies
    16
    Views
    3,128

    Is there any advantages, or reasons in declaring...

    Is there any advantages, or reasons in declaring a function inside a class but defining it some place else in the listing. The only reason i see is defining it closer to the function call makes it...
  7. Replies
    16
    Views
    3,128

    hmmm..ok 7stud. thanks, you clarified it for me....

    hmmm..ok 7stud. thanks, you clarified it for me. yah my question was strange now that i read it again:p

    but coolio:D . thanks
  8. Replies
    16
    Views
    3,128

    so does this mean you can add your own...

    so does this mean you can add your own constructor to different data constructs, such as structures? and i don't understand why you need a constructor left blank ( cool { } ) when you declare your...
  9. Replies
    16
    Views
    3,128

    so does every data type in C++ need a constructor...

    so does every data type in C++ need a constructor to create it. for example does
    int, float, double, long, struct types, classes
    all need a constructor supplied by the comiiler atutomatically to...
  10. Replies
    16
    Views
    3,128

    ya it is, it's his second edition OOP. how'd you...

    ya it is, it's his second edition OOP. how'd you know?
    another quesiton. why does it need a constructor anyways?
  11. Replies
    16
    Views
    3,128

    Implicit Constructor

    I'm having trouble understanding these few sentances from a book that i'm reading. The sentace referers to this code:


    // englobj.cpp
    // objects using English measurements
    #include...
  12. Thread: Storage Class

    by Blanket
    Replies
    5
    Views
    1,659

    cool cool cool:D thanks for clarifying that...

    cool cool cool:D

    thanks for clarifying that DirX. glad you replied :D
  13. Thread: Storage Class

    by Blanket
    Replies
    5
    Views
    1,659

    Storage Class

    I"m confused about his program that i wrote just to see what would happen:


    #include <iostream.h>

    int count = 0;
    void func();


    void main()
  14. Thread: Cin

    by Blanket
    Replies
    6
    Views
    1,456

    So if the >> operator doesn't see whitespace as...

    So if the >> operator doesn't see whitespace as input then wouldn't it connect the 2 values

    cin >> var1 >> var2

    as one number? does it do anything when it encounters whitespace?

    also when i...
  15. Thread: Cin

    by Blanket
    Replies
    6
    Views
    1,456

    Cin

    When you cascade cin such as

    cin >> var1 >> var2;

    it can recognize the two values when the user presses enter or space...
    eg.
    Enter 2 numbers: 4 5
    or:
    Enter 2 numbers: 4
    5
  16. Replies
    5
    Views
    1,064

    hmm.. id ont' think your seeing what i'm trying...

    hmm.. id ont' think your seeing what i'm trying to say. You can't use switch sometimes because switch statements don't handle relational operators. so just pretend switch is out of the question.
    ...
  17. Replies
    5
    Views
    1,064

    if or else...if?

    Just a quick qeustion:D

    is their a prefered time to use a series of if...else statments against the use of a series of just 'if' statements?
  18. Thread: Return Values

    by Blanket
    Replies
    4
    Views
    1,223

    Return Values

    I was told that when returning a value from a function, you can only return one. So why does this code work? And can you explain what happens in the functions? thanks

    Their is a structure called...
  19. Replies
    7
    Views
    1,626

    ummm..acually i dont' have any clue. :confused: ...

    ummm..acually i dont' have any clue. :confused: Hey stoned coder. Man, it seemed like your always on. Your the first one the answer each of my question most of the time:D thanks. But, what you...
  20. Replies
    7
    Views
    1,626

    Money Conversion

    In one of the excercieses that i'm doing it wan'ts me to write a program that asks the user to input an amount in dollars (5.67) and then converts that (5.67) to the old british style system of...
  21. Replies
    2
    Views
    1,678

    So frusterated, and dont understand

    HI:D
    Ok, i understand fully structures, how they work, when to use them etc. And i understand enumerated data types. The problem is i have no clue when to use enumerated daya types. Why use a...
  22. Replies
    6
    Views
    3,927

    ok i tried doing it. Here it is. It comiles...

    ok i tried doing it. Here it is. It comiles good and runs fine, but do you think iit's what the author intended it to be?



    #include <iostream.h>

    enum employee {laborer, secretary, manager,...
  23. Replies
    6
    Views
    3,927

    Ok, thanks. But what about the last sentance. ...

    Ok, thanks. But what about the last sentance.
    you probably need two switch statements: one for input and one for output:confused:

    why would you need a switch statement for both?
  24. Replies
    6
    Views
    3,927

    Help with Excercise

    Hi:D
    I am doing a number of excercises from a book. I just finished a chapter on structures and enumerated daya types, but this one question i'm failing to understand. Here it is:

    We said...
  25. Replies
    10
    Views
    1,452

    Thanks Stoned_Coder. Man, it seems like you are...

    Thanks Stoned_Coder. Man, it seems like you are on this site always:cool:

    It all makes sense now. So how many different types of bases are there? and since you add a 0 in front of a number to...
Results 1 to 25 of 38
Page 1 of 2 1 2