Search:

Type: Posts; User: stevedawg85

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,064

    whoa, something that small..... thanks so much!...

    whoa, something that small..... thanks so much! you probably saved me a couple of hours(seriously....me and this programming) from troubleshooting it, thanks so much!!!!
  2. Replies
    4
    Views
    1,064

    Ok, i did what you said but no luck. Oh, and the...

    Ok, i did what you said but no luck. Oh, and the bottom portion is something I'm supposed to have as well, so you can ignore it i guess. And you asked about ios::in, well like they say, if it aint...
  3. Replies
    4
    Views
    1,064

    File I/O merging and adding

    Ok, I already have file1.txt and file2.txt which are created by me. file3.txt will add a line inputted by the user to the end of file1.txt. file4.txt will merge file3.txt and file2.txt. I have the...
  4. here is where the function is passed to, but i'm...

    here is where the function is passed to, but i'm not sure if it is right:


    void Salesperson :: setsales (int quarternum, double amount)
    {
    // test for valid month and amount values
    double...
  5. Passing a variable in void to another void function

    Ok, so in my first void, the user inputs 4 numbers via a looping statement. In the next void statement, it is supposed to add these four numbers up and print them on screen. We are currently on...
  6. Replies
    3
    Views
    900

    excellent!!! so simple.... thnx again!!!!

    excellent!!! so simple....

    thnx again!!!!
  7. Replies
    3
    Views
    900

    What am I doing wrong?

    Well, it looks right to me... but for some reason, it is not displaying the way I want it to. Here is the part of the code I am referring to:



    fee=car ( calc);

    cout << "You were parked for...
  8. Replies
    8
    Views
    1,235

    Great!!! both methods worked thanks ev1 for your...

    Great!!! both methods worked thanks ev1 for your help.

    hopefully, time to wrap this prog up....
  9. Replies
    8
    Views
    1,235

    I did as yall said but still the same problem,...

    I did as yall said but still the same problem, the help.txt is only displayed once, but when I try one of my other options multiple times, it works. I think there is something wrong with the way I...
  10. Replies
    8
    Views
    1,235

    well, heres what i got basically: int main...

    well, heres what i got basically:



    int main () {
    string file= "help.txt";
    string line;
    ifstream help;
    ofstream PC;
    int minutes, calc;
  11. Replies
    8
    Views
    1,235

    Reading from a text file

    Ok, so I have the following code, heres the problem. The program involves if/ else if statements, and I need the program to be able to display the help.txt when the user decides to take that route. ...
  12. Replies
    12
    Views
    6,080

    THANKS SO MUCH BRO!!!!!! you dont know how much I...

    THANKS SO MUCH BRO!!!!!! you dont know how much I appreciate this. Hopefully I can figuire out the other part. THANKS AGAIN!!!!!!!
  13. Replies
    12
    Views
    6,080

    Can someone please help me. This assignment is...

    Can someone please help me. This assignment is due midnight tonight. All I'm doing is asking for help. I have tried so many things, this is like my 3rd version:



    #include <iostream>...
  14. Replies
    12
    Views
    6,080

    I tired replacing it like you said but I still...

    I tired replacing it like you said but I still cant quite figure it out. I somewhat got the program running using this bootleg version, lol:



    #include <iostream>
    #include <string>
    #include...
  15. Replies
    12
    Views
    6,080

    Yah I know, thats why I'm using the array. I...

    Yah I know, thats why I'm using the array. I also asked my prof and he gave me this little hint:


    while (!isspace(yourArrayPtr) && yourArrayPtr != '\0')
    {
    Your code
    }

    I belive this...
  16. Replies
    12
    Views
    6,080

    words: Apple, GDFF3423, T, FrAnkiE As long as...

    words:
    Apple, GDFF3423, T, FrAnkiE

    As long as the first letter is uppercase, it is a word. And how can i signify the end of a word? I have an idea to end when white space is first encounter but...
  17. Replies
    12
    Views
    6,080

    Count number of uppercase words in array

    We are going over csting, pointers, and references. When writing my programs, I usually start off really basic then work my way up to completion. So what I have here is basically the skeleton and...
  18. Replies
    2
    Views
    1,034

    Counting the # of items in an array

    I have this prog and what I need to do is have the user input their numbers and print the array, Then, for it to count the number of times the number was inputted and print a histogram of the number...
  19. Replies
    2
    Views
    1,078

    A couple of questions concerning arrays

    First of all, thanks for all those who have helped me in the past and those who are about to.

    I only have my prog written for the first part of my Q, the 2nd part, i need help setting up.
    ...
  20. How to create a multi-dimensional user array?

    I have a 3x4 array, and I need the user to input the data and fill it appropiately. I have been working on this for days and I still can't figure it out. Thought it would have been very simple to...
  21. Replies
    1
    Views
    1,299

    Storing and printing matrices

    I am trying to make a program which will ask the user to input a series of numbers, then in end, display the numbers. I am using arrays and need to save the numbers in a 3x4 matrix and then display...
  22. Replies
    6
    Views
    1,726

    I know this is an old topic, but why create a new...

    I know this is an old topic, but why create a new topic when this is exactly what I need.

    Ok, can you comment (//) on the piece of coding 7stud wrote^^. Im trying to understand this but how does...
  23. Replies
    13
    Views
    1,536

    Oh!!!! thanks so much madcow, i salute you 100 %!...

    Oh!!!! thanks so much madcow, i salute you 100 %! Glad you arent one of those people who follow the crowd who continue the hateage on me, im just a newb lookin for help :P

    thanks so much...
  24. Replies
    13
    Views
    1,536

    Can anyone out there help me?? once again,...

    Can anyone out there help me??
    once again, problem:
    when I put either F, there is a gap b/t the lines but w/ C, everything is perfect.

    Any help would be much appreciated.
  25. Replies
    13
    Views
    1,536

    Sorry for everything guys, i formatted it much...

    Sorry for everything guys, i formatted it much neater and tested it. Like I said, it'll be easier to see the problem I am getting if you copy / paste and test it out.




    #include <iostream>...
Results 1 to 25 of 36
Page 1 of 2 1 2