Thread: Arrays in-depth

  1. #1
    Registered Loser nickodonnell's Avatar
    Join Date
    Sep 2005
    United States

    Arrays in-depth

    Are there any amazing array tutorials that cover them in depth?


    Anyone know an easier way, other than copying and pasting and declaring a hundred variables, to code that? Arrays, maybe? Suggestions are appreciated.

  2. #2
    VA National Guard The Brain's Avatar
    Join Date
    May 2004
    Manassas, VA USA
    one thing i noticed.. at the end of each case.. you ask the user if the would like to do more math.. instead of repeating this block of code for each case.. you should probably make a function call to perhaps something like user_prompt_again( ); for example.
    • "Problem Solving C++, The Object of Programming" -Walter Savitch
    • "Data Structures and Other Objects using C++" -Walter Savitch
    • "Assembly Language for Intel-Based Computers" -Kip Irvine
    • "Programming Windows, 5th edition" -Charles Petzold
    • "Visual C++ MFC Programming by Example" -John E. Swanke
    • "Network Programming Windows" -Jones/Ohlund
    • "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
    • "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel

  3. #3
    Registered Loser nickodonnell's Avatar
    Join Date
    Sep 2005
    United States

    Thumbs up Arrays In-Depth/Simiplified Code

    Thank you, I'll give it a try.

    Edit: I changed the 'More Math' thing to a function. is the new thing. Any more suggestions wouuld be fine.

    Also, how could I make it where they could type the ammount of numbers they want to use in their problem?

    And still, any help with the in-depth array tutorial?
    Last edited by nickodonnell; 09-25-2005 at 05:53 AM. Reason: Change in URL

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need some help...
    By darkconvoy in forum C Programming
    Replies: 11
    Last Post: 05-09-2009, 02:34 AM
  2. pointers & arrays and realloc!
    By zesty in forum C Programming
    Replies: 14
    Last Post: 01-19-2008, 04:24 PM
  3. Replies: 16
    Last Post: 01-01-2008, 04:07 PM
  4. Need Help With 3 Parallel Arrays Selction Sort
    By slickwilly440 in forum C++ Programming
    Replies: 4
    Last Post: 11-19-2005, 10:47 PM
  5. Crazy memory problem with arrays
    By fusikon in forum C++ Programming
    Replies: 9
    Last Post: 01-15-2003, 09:24 PM