Thread: Too Few Arguments

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    82

    Too Few Arguments

    Code:
    #include <iostream>
    #include <stdio.h>
    
    using namespace std;
    
    
    char GetUserInput(void)
    
    {
    char Input;
    
    
    
        cout << "Input Residue Sequence: "<< endl;
        cin >> Input;
        return Input; //Returns a copy of Input
    }    
    
    char GetInputChange(char theInput)
    
    {
     cout << "WOOORK"<< endl;
     cout << theInput << endl;
     cin.get();
     
     return (theInput);
              
    }    
    
    int main (int argc, char* argv[]) 
    
    {
        
        GetUserInput ();
        
        GetInputChange();
     
    cin.get(); 
    }
    Need some help, i don't know what results in getting the error, "To few Arguments for Function Char GetInputChange"

    Just don't quite understand what the damn thing wants

    Edit for mistake thnks
    Last edited by Cdrwolfe; 06-29-2006 at 04:53 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Beginner Needs help in Dev-C++
    By Korrupt Lawz in forum C++ Programming
    Replies: 20
    Last Post: 09-28-2010, 01:17 AM
  2. GradeInfo
    By kirksson in forum C Programming
    Replies: 23
    Last Post: 07-16-2008, 03:27 PM
  3. command line arguments
    By vurentjie in forum C Programming
    Replies: 3
    Last Post: 06-22-2008, 06:46 AM
  4. NULL arguments in a shell program
    By gregulator in forum C Programming
    Replies: 4
    Last Post: 04-15-2004, 10:48 AM
  5. registry, services & command line arguments.. ?
    By BrianK in forum Windows Programming
    Replies: 3
    Last Post: 03-04-2003, 02:11 PM