Search:

Type: Posts; User: Sway

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    11,117

    empty character constant error

    Can someone tell me what this error means and how can I fix it. I know it has to be something simple that I am overlooking. I have included the part of my program that contains the error:



    ...
  2. Replies
    4
    Views
    1,585

    Thanks Prelude for your help!

    Thanks Prelude for your help!
  3. Replies
    4
    Views
    1,585

    Yes it is a homework assignment. One that I have...

    Yes it is a homework assignment. One that I have spent many hours on trying to figure out. I have gotten this far and was just asking for some direction from those of you that are more advanced...
  4. Replies
    4
    Views
    1,585

    help with array & function program

    I am trying to write a program that reads in a list of employee ids, corresponding phone numbers and last names.

    read in a list of employee id numbers, corresponding phone numbers, and last...
  5. Replies
    2
    Views
    770

    func definition error

    Can someone point out my error in the following function definition:




    float Test2 (int i,
    float x)

    {
    i=i+7;
  6. Replies
    1
    Views
    786

    error in function definition

    Can someone tell me what is wrong with this C++ function definition please?




    void Test1 ( int m,
    int n)

    {
    return 3*m+n;
  7. Replies
    2
    Views
    1,584

    unexpected end of file error?

    Can someone tell me why I am getting an unexpected end of file error?

    [code]

    //This program collects 5 exam score for individual class members and averages the score.
    //The program throws out...
  8. Replies
    3
    Views
    1,757

    Okay, I reread my instructions and finally...

    Okay, I reread my instructions and finally figured this program out. I had to make several changes, well actually rewrite the entire thing. I was way off base!
  9. Replies
    3
    Views
    1,757

    Okay I put in the strings and tried to declare a...

    Okay I put in the strings and tried to declare a struct, but I am getting two errors. I have added comments in the program.




    #include <iostream>
    #include <iomanip>

    using namespace std;
  10. Replies
    3
    Views
    1,757

    sentinel terminated loop/avg calculation

    I am working on this program and I need to add two things to it, first I need the program to accept many students names and scores (not just one) and add a sentinel terminated loop which the loop...
  11. Thread: contents of array

    by Sway
    Replies
    2
    Views
    1,229

    Thanks for your help Hammer. Actually I did...

    Thanks for your help Hammer.

    Actually I did try and run it through my compiler. Sorry about the tags, I read the instructions, but forgot to add them.

    Thanks again!
  12. Thread: contents of array

    by Sway
    Replies
    2
    Views
    1,229

    contents of array

    Hello all, I am a struggling C++ student and I am stuck trying to figure out the contents of the array "sample" after the following code is executed:

    give declarations:

    int sample[8];
    int i;...
Results 1 to 12 of 12