Thread: Too few arguments error. Calling a function from within a function?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Oct 2012
    Posts
    158

    Too few arguments error. Calling a function from within a function?

    Code:
          
    double calc_baking_time(char bread_type, char loaf, char manual);
    int main()
     {
    }
     void instructions_white_single_manual()
      {
              printf("Primary kneading: 15 mins\n");
     
              printf("Primary rising: 60 mins\n");
     
              printf("Secondary kneading: 18 mins\n");
     
              printf("Secondary rising: 20 mins\n");
     
              printf("Loaf shaping: 2 seconds\n");
     
              printf("You should remove the dough for manual baking.\n");
     
              calc_baking_time(char bread_type, char loaf, char manual);
    Basically im trying to call another function from within my instructions_white_single_bake, but i keep getting "expected expression before char" error
    Last edited by tmac619619; 10-23-2012 at 02:32 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. error too few arguments to function: 'generateQuestions'
    By sunandstars in forum C Programming
    Replies: 9
    Last Post: 02-19-2011, 03:09 PM
  2. Replies: 9
    Last Post: 01-02-2007, 04:22 PM
  3. function calling within another function error
    By bazzano in forum C Programming
    Replies: 2
    Last Post: 03-11-2006, 01:40 AM
  4. error in calling a function
    By arian in forum C++ Programming
    Replies: 3
    Last Post: 12-24-2003, 02:42 AM
  5. error calling function
    By simhap in forum C++ Programming
    Replies: 3
    Last Post: 11-29-2001, 07:58 PM