CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: help pls..

  1. #1
    Join Date
    May 2002
    Posts
    4

    help pls..

    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...

  2. #2
    Join Date
    May 2002
    Location
    Quebec City, Canada
    Posts
    374
    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?
    Martin Breton
    3D vision software developer and system integrator.

  3. #3
    Join Date
    Mar 2002
    Location
    California
    Posts
    1,582
    I'm sure your textbook will provide insight.

    Jeff

  4. #4
    Join Date
    May 2002
    Posts
    4
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured