Subroutines

This is a discussion on Subroutines within the C++ Programming forums, part of the General Programming Boards category; I'm sorry about my last post, it was indirect. My current question is... HOW DO YOU MAKE SUBROUTINES IN C++, ...

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    20

    Question Subroutines

    I'm sorry about my last post, it was indirect. My current question is... HOW DO YOU MAKE SUBROUTINES IN C++, BORLAND?

  2. #2
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    It's all functions in C++, there's no subroutines. You want a function that returns void -

    void sub()
    {
    //do stuff
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Does C Support Subroutines
    By AQWst in forum C Programming
    Replies: 7
    Last Post: 12-10-2004, 11:13 PM
  2. LAPACK linking...
    By ashesh in forum Tech Board
    Replies: 2
    Last Post: 08-18-2003, 04:42 AM
  3. calling subroutines to populate array??help
    By gravitybass in forum C Programming
    Replies: 1
    Last Post: 04-07-2003, 01:23 AM
  4. Using functions (subroutines)
    By DoItAllMom115 in forum C++ Programming
    Replies: 11
    Last Post: 03-16-2003, 04:48 PM
  5. Subroutines
    By drdroid33 in forum C++ Programming
    Replies: 3
    Last Post: 02-02-2002, 07:48 PM

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