CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: soopa1

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    506

    Re: Trouble with input file.

    I dont think that is the problem. I have 2 input files(adressbooks).One of them has info. for 4 people,the other has info. for 8. Why does it read the one that has 4 people and not the one that has...
  2. Replies
    3
    Views
    506

    Trouble with input file.

    I have been working on this on and off for weeks. For the life of me I cant get one of the input files to load. It will load input1,but not input(names of the input files). It should work if I have 4...
  3. Thread: Input Problem

    by soopa1
    Replies
    2
    Views
    588

    Re: Input Problem

    This is the whole program(attached),maybe someone can look at it and tell me whats wrong. It compiles fine,but nothing is outputted.
  4. Thread: Input Problem

    by soopa1
    Replies
    2
    Views
    588

    Input Problem

    This part of the program that I referenced in an earlier post. Iam modigying it so that it can read from an input file. Everytime I try to load it I get an error. Can someone tell me what I am doing...
  5. Replies
    4
    Views
    648

    Re: What is this?????

    Ohhhh..I see. It's actually related to a pointer. I was thinking it was a replacement or another way of writing the scope resolution. Thanks man
  6. Replies
    4
    Views
    648

    What is this?????

    I was looking at some code a guy at school was writing and he had something I never seen before. Which Is this: ( ->)

    For example:

    cPerson = addressBook->getEntry(i);

    What is that? Could...
  7. Replies
    4
    Views
    1,045

    Re: Help with Library program

    I gave it a try and i got several errors. I did not try vectors,because I havent studied those yet.
  8. Replies
    4
    Views
    1,045

    Re: Help with Library program

    D@mn!! I did'nt think it was that bad!! Thanks I'll give it a try
  9. Replies
    4
    Views
    1,045

    Help with Library program

    I'm stuck on this program right here, can someone look at my header and implementation file and tell me if I'm headed in the right direction?

    a. Design a class bookType that defines the book as...
  10. Replies
    4
    Views
    2,124

    Re: Student Grade program

    Thank, I think I figured it out.
  11. Replies
    4
    Views
    2,124

    Re: Student Grade program

    Hmmmmm..I was thinking about that,but I didn't want to use an input file.
  12. Replies
    4
    Views
    2,124

    Student Grade program

    I have a question about this program we did in at school. The way it is now, you input your name and grades.How would I write it if the names and grades were already provided?


    #include<iostream>...
  13. Replies
    11
    Views
    1,053

    Re: Input/Output problem

    Noo..in a previous program.
  14. Replies
    11
    Views
    1,053

    Re: Input/Output problem

    Thanks alot.


    Yeah,that would help,but my teacher is really funny.He wont let us use things that he hasnt taught us. We had to do an average program of like..20 students..and since he had'nt...
  15. Replies
    11
    Views
    1,053

    Re: Input/Output problem

    Before I started I asked how to go along about solving it, but I posted no code.

    Here is updated code,still doesnt work! I dont know what to do, I am at the end of my rope.


    #include<iostream>...
  16. Replies
    11
    Views
    1,053

    Re: Input/Output problem

    Gotcha! I didnt even know you could attach files. Anyways here ya go.
  17. Replies
    11
    Views
    1,053

    Re: Input/Output problem

    Do you mean the actual .txt file? If not, the file is the array with the names and numbers at the beginning of the post.



    You know,I was wondering about that. So, basically what you are saying...
  18. Replies
    11
    Views
    1,053

    Input/Output problem

    I am trying to ouput this array:

    Johnson 5000
    Miller 4000
    Duffey 6000
    Robinson 2500
    Ashtony 1800
    Adkins 3500
    Walls 5500
    Bills 2700
  19. Replies
    5
    Views
    1,415

    Re: Need a kick start

    The part with the arrays. Should I use functions? I know I dont have to,but do you think if I use them it would be less complicated?
  20. Replies
    5
    Views
    1,415

    Need a kick start

    I need some suggestions on how to tackle this. How should I start?

    read the last name of 8 candidates in local election and votes received by each candidate.Use at least 3 arrays one for the names...
  21. Replies
    8
    Views
    670

    Re: Temperature Program Revisited

    I missed that..and that was one of my major problems corrected.



    Yes i did, I got the same thing ,but when I entered my data I got:

    Highest: 77
    Average high: 50
    Lowest : 49
    Average Low: 68
  22. Replies
    8
    Views
    670

    Re: Temperature Program Revisited

    Here is the data.

    High Low
    Jan 50 27
    Feb 48 24
    Mar 55 35
    Apr 59 45
    May 61 57
    Jun 77 62
    Jul 80 65
  23. Replies
    8
    Views
    670

    Temperature Program Revisited

    The first problem I had with the output I have fixed. Everything is working, but when it outputs I keep getting numbers like -899856444 & -1.4345+e008. Any one have any ideas what I'm doing wrong? ...
  24. Replies
    8
    Views
    985

    Re: Can someone take a look at this?

    Ok..Im goning to try both when I get home later today, thnks
  25. Replies
    8
    Views
    985

    Re: Can someone take a look at this?

    #include<fstream>
    #include <iostream>


    using namespace std;

    void getData(ifstream& ,ofstream&, int temperature[2][12]);
    float avgerageHigh(int temperature[2][12]);
    float avgerageLow(int...
Results 1 to 25 of 45
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured