Thread: Converting C to C++

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Aug 2005
    Location
    Austria
    Posts
    1,990
    This is the first errormessage that I get trying to compile your code
    Code:
    lcd.cc: In function `int main()':
    lcd.cc:13: error: overloaded function with no contextual type information
    meaning min is a template in c++.
    use a different variable name.
    Kurt

  2. #2
    Registered User cdn_bacon's Avatar
    Join Date
    Mar 2007
    Posts
    17
    Quote Originally Posted by ZuK
    This is the first errormessage that I get trying to compile your code
    Code:
    lcd.cc: In function `int main()':
    lcd.cc:13: error: overloaded function with no contextual type information
    meaning min is a template in c++.
    use a different variable name.
    Kurt

    Thanks for that tip I changed the variable name

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Converting 32 bit binary IP to decimal IP (vice-versa)
    By Mankthetank19 in forum C Programming
    Replies: 15
    Last Post: 12-28-2009, 07:17 PM
  2. Tips for converting C prog. to C++?
    By eccles in forum C++ Programming
    Replies: 7
    Last Post: 01-15-2005, 07:38 AM
  3. Converting Sign Magnitude Integer Binary Files
    By Arthur Dent in forum C Programming
    Replies: 7
    Last Post: 09-13-2004, 10:07 AM
  4. Converting from Screen to World Coordinates
    By DavidP in forum Game Programming
    Replies: 9
    Last Post: 05-11-2004, 12:51 PM
  5. converting string to float
    By twhubs in forum C Programming
    Replies: 1
    Last Post: 09-16-2001, 09:02 AM