Recent content by jimmy007

  1. J

    Comp Sci Solving C++ Errors and Calculating Point Distances

    should the other array be type of points or int
  2. J

    Comp Sci Solving C++ Errors and Calculating Point Distances

    yea then i should have different array right? so any suggestions.
  3. J

    Comp Sci Solving C++ Errors and Calculating Point Distances

    this is actually a lab that i have to do. Like the Blue Book question from the last test: Read a user chosen file of points (use the struct definition below for this) and store them in an array. Keep prompting the user until the file can be opened. Assume the file contains two ints per line...
  4. J

    Comp Sci Solving C++ Errors and Calculating Point Distances

    so how do i fix it. should i use static_cast<>
  5. J

    Comp Sci Solving C++ Errors and Calculating Point Distances

    what i am asking is that i cannot figure out what i did wrong. this is not actually a homework. please tell me what did i do wrong. the errors i get are c:\Documents and Settings\narinderpal singh\My Documents\Visual Studio Projects\rec13exam\rec13exam.cpp(96): error C2677: binary '+=' : no...
  6. J

    Comp Sci Solving C++ Errors and Calculating Point Distances

    please help me solving errors in this problem . #include <iostream> #include <string> #include <fstream> #include <cmath> #include <cstdlib> using namespace std; const size_t CAPACITY(8); // struct needed for this program. struct Points { double x, y; }; // function prototype...
Back
Top