Search:

Type: Posts; User: gbman88

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    11,040

    Just made me look like a fool. Thanks. Now time...

    Just made me look like a fool. Thanks. Now time to debug. Thanks for the helpful advice everyone. If you dont mind me asking , is there a good debugger for windows. Currently I have to use putty...
  2. Replies
    13
    Views
    11,040

    The infile object is reading in an integer from...

    The infile object is reading in an integer from the specified file and storing it in the integer named numRows. I looked at the c++ api (not sure what to call in c++) and the method .get() said it...
  3. Replies
    13
    Views
    11,040

    Wow you guys are catching my typos left and...

    Wow you guys are catching my typos left and right. I have spent too many hours straight on this project! I have one last questions and I will leave you all alone if you have the patience. I have...
  4. Replies
    13
    Views
    11,040

    It was intended to dereference the value held in...

    It was intended to dereference the value held in that position of the array but I did not realize the formatting I had put it in already does that. The concept of pointers and a double array is...
  5. Replies
    13
    Views
    11,040

    Ok so template functions must be declared and...

    Ok so template functions must be declared and implemented in the same file. The other error message still persists however regarding primary expression before a ] token. In addition it is saying...
  6. Replies
    13
    Views
    11,040

    I have a header file so that should not cause the...

    I have a header file so that should not cause the problem. I just did not put the code here

    here it is:



    #ifndef HW1_H
    #define HW1_H
    #include <vector>
  7. Replies
    13
    Views
    11,040

    Not declared in this scope Error, Templates

    Hey again! I am getting an error with which I am unfamiliar with. It says


    hw1prob1.cpp: In function âint main()â:
    hw1prob1.cpp:20: error: expected primary-expression before â]â token...
  8. Replies
    8
    Views
    3,234

    Thank my for the advice about including ...

    Thank my for the advice about including <vector> in the header class regarding the method signature. I changed that one simple line and the program compiled perfectly and executed flawlessly. C++...
  9. Replies
    8
    Views
    3,234

    hw1.h:8: error: variable or field...

    hw1.h:8: error: variable or field âaddEven2OddLinesâ declared void
    hw1.h:8: error: âvectorâ was not declared in this scope
    hw1.h:8: error: expected primary-expression before âintâ
    hw1.h:8: error:...
  10. Replies
    8
    Views
    3,234

    Passing Vector as a Reference

    I am having a problem passing a vector as a reference parameter and can not figure out why the program is not compiling or working. It is meant to read in text from a file, manipulate the vector...
  11. Thread: New to C++

    by gbman88
    Replies
    8
    Views
    1,093

    Wow thanks all! Its been a long day and I seemed...

    Wow thanks all! Its been a long day and I seemed to have forgotten I was dealing with a list and not a vector. Thanks for pointing out the obvious mistake.
  12. Thread: New to C++

    by gbman88
    Replies
    8
    Views
    1,093

    New to C++

    Hi all I am having some problems with compiling my c++ code. I have had lots of experience in Java but c++ is new.

    I am trying to read in a file that contains words, sort them, then print them...
Results 1 to 12 of 12