first code

This is a discussion on first code within the C++ Programming forums, part of the General Programming Boards category; ok im jsut learning to code and ive gotten up to pointers(those annoying pointers) what programs should i try to ...

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    2

    Smile first code

    ok im jsut learning to code and ive gotten up to pointers(those annoying pointers) what programs should i try to make with suich minimal skils...to perfect what i have learned so far...

  2. #2
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    University of Waterloo
    Posts
    1,903
    make a menu system that will display a menu and then you select which item you want to do. Then when you select the item, it will run a specific set of code for the particular item you choose.

    Also make each option be its own function that you call when you've found which choice the user chose.

    Then if you haven't already worked with it already, work on learning some basic file IO stuff, that's a fundamental thing that every programmer should know

    -good luck and welcome to the boards!-

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    I suggest:

    If you've had structs already, hand roll your own list with insertion to left and right/deletion/etc.

    Read Prelude's description of the difference between pointers and arrays.

    Reread the section on your book describing teh difference between pointers and references.

    Any project that uses multiple functions passing information back and forth. Try passing information by value and by reference (using pointers or references) to see what happens first hand.

  4. #4
    Registered User
    Join Date
    May 2004
    Posts
    2
    well if i knew what yall meant i would...ima try though
    *prays*

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Extended ASCII Characters in an RTF Control
    By JustMax in forum C Programming
    Replies: 18
    Last Post: 04-03-2009, 08:20 PM
  2. Enforcing Machine Code Restrictions?
    By SMurf in forum Tech Board
    Replies: 21
    Last Post: 03-30-2009, 07:34 AM
  3. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 03:17 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM
  5. Replies: 0
    Last Post: 02-21-2002, 05:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21