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

Search:

Type: Posts; User: gwiz01

Search: Search took 0.03 seconds.

  1. Replies
    20
    Views
    13,361

    Re: basics uses of vectors for an A/R basic program

    OK, I went back to the drawing board with this and I made a lot of changes. I was able to get it to run, well kind of. I'm having issues with my logic. I know it's probably something simple but I'm...
  2. Replies
    20
    Views
    13,361

    Re: basics uses of vectors for an A/R basic program

    Yes , this is actually for a class assignment, the problem for me that I work during the day and I take classes at night, i work long hours so my time is very limited, my school offerd tutoring but...
  3. Replies
    20
    Views
    13,361

    Re: basics uses of vectors for an A/R basic program

    Hi, I'm back lol... I've made some corrections that have been given, but of course I'm still having issues

    I'm getting an error message and I'm not sure how to fix it


    ...
  4. Replies
    20
    Views
    13,361

    Re: basics uses of vectors for an A/R basic program

    Sorry I wasn't able to respond earlier, and I am grateful for all the help you guys are giving me. I've made most of the changes that you suggested but as you probably guessed I'm still having issues...
  5. Replies
    20
    Views
    13,361

    Re: basics uses of vectors for an A/R basic program

    This is what I have so far, I know I still have so much to learn.
    #include <fstream>
    #include <iostream>
    #include <string>
    #include <vector>
    using namespace std;

    const char TORD = 'O';...
  6. Replies
    20
    Views
    13,361

    Re: basics uses of vectors for an A/R basic program

    I've updated code::blocks in order to work with C++11, everything seems to work fine, the problem is the output reads back what's in the master file only..

    The output should look something like...
  7. Replies
    20
    Views
    13,361

    Re: basics uses of vectors for an A/R basic program

    I figured out how to add c++11 to codeblocks.. I will run it later this afternoon.. thank you as always for your help
  8. Replies
    20
    Views
    13,361

    Re: basics uses of vectors for an A/R basic program

    code::blocks uses GNU GCC Compiler
  9. Replies
    20
    Views
    13,361

    Re: basics uses of vectors for an A/R basic program

    I'm using Code::Blocks. I know that it's C++ , but I'm not sure if it's C++11.. can you recommend a good compiler that's c++ 11 ?
  10. Replies
    20
    Views
    13,361

    Re: basics uses of vectors for an A/R basic program

    Thank you guys so much for taking time to post this, when trying to run this program I'm getting an error

    for
    ifstream mfs(mfn). what does that mean and how can I fix it?
  11. Replies
    20
    Views
    13,361

    basics uses of vectors for an A/R basic program

    I need help in writing a program using vectors, I haven't wrote any programs in over a yrs and even then I was struggling.

    I need the program to read from two files

    file (1) is a master file...
  12. Replies
    6
    Views
    4,841

    Re: toupper - tolower

    Sorry I took so long to get back, I was able to figure it out after taking your advise and doing a little research..




    #include <iostream>
    #include <string>
    #include <cctype>
    #include...
  13. Replies
    6
    Views
    4,841

    Re: toupper - tolower

    ok thanks I think I have a better understanding on how to do it. I will work on it this weekend thank
  14. Replies
    6
    Views
    4,841

    toupper - tolower

    Hi,

    I need assistance in writing a simple program. It's a simple program really. It reads the contents from one file and change all the letters to lowercase except the first letter in each...
  15. Replies
    6
    Views
    9,047

    Re: reading from a txt file that's a record

    Thank you so much for your help. With a few minor edits I was able to get the program to run how I wanted and with a cleaner version.

    much obliged..
  16. Replies
    6
    Views
    9,047

    Re: reading from a txt file that's a record

    I have now created a second txt file called users and I need help in writing the code so that the program will search for the users name and after they found the users name, there information will...
  17. Replies
    6
    Views
    9,047

    Re: reading from a txt file that's a record

    Thank you so much this is exactly what I wanted to do, thank for taking time in explaining what I was doing wrong and putting me on the right track. I still have much more programming to do with this...
  18. Replies
    6
    Views
    9,047

    reading from a txt file that's a record

    Hello codeguru,

    I'm working on a program using class booktype... to hold information about various books that I have saved on a txt file. Each object of the class book type holds the author,...
  19. Replies
    16
    Views
    22,041

    Re: Sorting parallel arrays in C++

    Yes!!!! yes yes... ok I got it. whew...:cry::thumb:

    I think I going to name my first child "2kaud".. wifey will just have to understand :D
    all I have to do is a little formatting but here's the...
  20. Replies
    16
    Views
    22,041

    Re: Sorting parallel arrays in C++

    Ok guys, I made more changes with the advice given which is very much appreciated..
    now, when I compile and run for finding the lowest in borough I'm getting weird symbols like hearts and signs.
    ...
  21. Replies
    16
    Views
    22,041

    Re: Sorting parallel arrays in C++

    Ok almost there.. I'm still having the same sorting problems... the program compiles and runs fine except when its sorts. I do get the lowest number but I'm not getting the borough that correspond to...
  22. Replies
    16
    Views
    22,041

    Re: Sorting parallel arrays in C++

    Ok... I made changes to the code but now when I compile it, the borough array won't increment to the next value. so when it print to screen it says

    "Enter number of accidents for New York...
  23. Replies
    16
    Views
    22,041

    Re: Sorting parallel arrays in C++

    Thank you all for your advise. Let me work on it and make the recommended changes. If I have further issues I will let you know

    Thanks
  24. Replies
    16
    Views
    22,041

    Re: Sorting parallel arrays in C++

    I actually posted the wrong code... this one works........ sorry about that......

    #include<iostream>
    #include<iomanip>
    #include<string>
    #include<cstring>
    using namespace std;

    class...
  25. Replies
    16
    Views
    22,041

    Sorting parallel arrays in C++

    Hello codeguru family,

    I am a student and my professor gave our a class a programming project where we declare two arrays, a sting array containing the names of the boroughs and an int array which...
Results 1 to 25 of 25





Click Here to Expand Forum to Full Width

Featured