subroutine

how can i write a subroutine in c++

Page 1 of 1

2 Replies - 2101 Views - Last Post: 28 March 2010 - 03:28 AM Rate Topic: -----

#1 sahararab  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 28-March 10

subroutine

Posted 28 March 2010 - 03:15 AM

Hi
how can i write a subroutine in c++
Is This A Good Question/Topic? 0
  • +

Replies To: subroutine

#2 no2pencil  Icon User is offline

  • Admiral Fancy Pants
  • member icon

Reputation: 5411
  • View blog
  • Posts: 27,423
  • Joined: 10-May 07

Re: subroutine

Posted 28 March 2010 - 03:16 AM

They are called functions. They have a defined return type, a function name, & arguments.

Research functions.
Was This Post Helpful? 0
  • +
  • -

#3 sarmanu  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 966
  • View blog
  • Posts: 2,362
  • Joined: 04-December 09

Re: subroutine

Posted 28 March 2010 - 03:28 AM

These links may be useful:
Functions I
Functions II
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1