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

Search:

Type: Posts; User: mary_um

Search: Search took 0.00 seconds.

  1. Re: Burnt out. Not sure what I'm doing wrong

    Thank you! I figured it out!


    int Counter::nCounters = 0;


    Counter::Counter(int i)
    {
    counter = i;
  2. [RESOLVED] Burnt out. Not sure what I'm doing wrong

    Counter
    {
    int counter;
    int counterID;
    int nCounters;
    Counter(int preset);
    void increment();
    void decrement();
    int getValue();
    int getCounterID();
  3. Re: Can't figure this out- desperate for help C++ Loops and data files.

    Disregard! I figured it out!!
  4. Re: Can't figure this out- desperate for help C++ Loops and data files.

    Maybe you can help me with one more thing. I have been messing with the code how a while and I did at one point get it to read the file and give me the output I needed, which is two names, from the...
  5. Re: Can't figure this out- desperate for help C++ Loops and data files.

    Thank you for the help (and posting advice). I really apprecaite it!
  6. Re: Can't figure this out- desperate for help C++ Loops and data files.

    inputFile.open(fileName);
    if (inputFile) {
    while(getline(inputFile>> name))
    cout<< name << endl;


    this is where my issue is. the text did not turn red like I intended :/
  7. Can't figure this out- desperate for help C++ Loops and data files.

    #include <iostream>
    #include <sstream>
    #include <fstream>
    #include <string>
    using namespace std;
    int main() {
    ifstream inputFile;
    string fileName, name, first, last, line;
    int...
Results 1 to 7 of 7


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)