Fucntions (Inisualizing)

This is a discussion on Fucntions (Inisualizing) within the C++ Programming forums, part of the General Programming Boards category; ok here is the question: Write a function that will insualize a double data array element to 0.0 ?...

  1. #1
    Registered User
    Join Date
    Apr 2013
    Posts
    2

    Fucntions (Inisualizing)

    ok here is the question: Write a function that will insualize a double data array element to 0.0 ?
    Last edited by Jamie2013; 04-25-2013 at 10:44 PM. Reason: Question not correctly posted

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,281
    How would you initialise the array without writing a function?
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Apr 2013
    Posts
    2
    Read the question again.

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,281
    Looks essentially the same to me after your edit, so my question to you still applies.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    Registered User
    Join Date
    Jun 2005
    Posts
    6,646
    Read laserlight's question again. If you can answer hers, you will have the answer to your own.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Sunshine, and read this, this, and this before posting again.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Loop and Fucntions
    By ankiit in forum C Programming
    Replies: 4
    Last Post: 01-26-2012, 11:11 PM
  2. strings and fucntions
    By solankill in forum C++ Programming
    Replies: 14
    Last Post: 12-09-2011, 06:10 PM
  3. Simple question on creating fucntions
    By live4soccer7 in forum C Programming
    Replies: 22
    Last Post: 02-08-2009, 07:55 PM
  4. declair fucntions before main()?
    By Munkey01 in forum C++ Programming
    Replies: 22
    Last Post: 01-04-2003, 03:38 PM

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