"...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...
Type: Posts; User: Blanket
"...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...
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?
why the - '0'; part in
theNum = getch( ) - '0';
what is the - '0';
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();...
ohhh..tru true, i forgot about inlined functions:D thanks
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...
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
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...
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...
ya it is, it's his second edition OOP. how'd you know?
another quesiton. why does it need a constructor anyways?
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...
cool cool cool:D
thanks for clarifying that DirX. glad you replied :D
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()
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...
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
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.
...
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?
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...
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...
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...
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...
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,...
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?
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...
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...