Hi, I am a student doing C++ for the first time.
What does these mean:
1. char buffer[40],
2. map[1]=2; map[2]=5;
3. offset=ftrwdth+2
Thanks in advance...
Printable View
Hi, I am a student doing C++ for the first time.
What does these mean:
1. char buffer[40],
2. map[1]=2; map[2]=5;
3. offset=ftrwdth+2
Thanks in advance...
why don't you start by telling us what you think it means so that we can correct you based on what you already know instead of assuming you know nothing?
I'm sure your textbook will provide insight.
Jeff
1. char buffer[40]
char -min range 0 to 255 or -127 to 127 data type use to declare variables
buffer- special loation in main memory, a fixed no. or characters
in length, that can temporarily hold data being transferred from the main memory to secondary storage or vice versa
Thus, does that mean the programm can only store 40 data ponts. If yes, if i more data points, i use a biggger no.?
2. Wats map and ftr? I cant find these definations in the text i have on hand. Perhaps you can recommend ne some text.
Im learning on my own fro a school project. Thanks in advance.