jimblumberg's Profile User Rating: *****

Reputation: 3987 Guru
Group:
Mentors
Active Posts:
12,974 (7.77 per day)
Joined:
25-December 09
Profile Views:
65,416
Last Active:
User is online 13 minutes ago
Currently:
Viewing Forum: Site Questions & Support

Previous Fields

Country:
US
OS Preference:
Linux
Favorite Browser:
FireFox
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
50
Expert In:
C/C++

Latest Visitors

Icon   jimblumberg has not set their status

Posts I've Made

  1. In Topic: Some Database Connectivity Concepts Issue.

    Posted 18 Jul 2014

    The problem with all the undefined reference errors is that the linker can't find the function implementations. You need to add the library information to your project.

    For the first error main() should be defined to return an int, and you should return an int from this function. The second error is telling you that you need to implement that function.


    Jim
  2. In Topic: Vector out of range exception

    Posted 18 Jul 2014

    In the above snippet temp is empty. You can't access an empty vector, elements must first be added to the vector.


    Jim
  3. In Topic: Stuck on creating and using functions

    Posted 18 Jul 2014

    The tutorials should help you figure out these errors, and read the first paragraph of post #2. The problems is with the missing return types.


    Jim
  4. In Topic: Stuck on creating and using functions

    Posted 18 Jul 2014

    The first thing I notice is the use of default return types in your functions. That is not allowed in a C++ program you must explicitly state the return type for your functions. And remember the function implementation must exactly match the function declaration (prototype).

    You may want to study the function tutorials contained in my signature. And in future if your code generates warnings or errors be sure to post the messages exactly as they appear in your development environment.

    Jim
  5. In Topic: Stumped with while loop in C

    Posted 18 Jul 2014

    Don't forget you also need to somehow limit your user input to the valid choices. As it stands right now if the user enters anything the calculations are done.

    Jim

My Information

Member Title:
Age:
Age Unknown
Birthday:
December 6
Gender:

Contact Information

E-mail:
Private

Comments

Page 1 of 1
  1. Photo

    KnifeTea Icon

    11 May 2014 - 05:55
    thanks for the help Jim!
  2. Photo

    tarmizi_adam2005 Icon

    04 Dec 2013 - 07:15
    Just stopping by to say Hello Jim. I've learned quite a few things from your posts in the c/c++ forum.
Page 1 of 1