Recent content by jck_ccc

  1. J

    Comp Sci Beginner C++ - identifier not found

    I never thought about the std sort. Either way, you have really helped me. I learned so much :) Thank you1 (I used this fix) //sorting.h #pragma once #include <string> #include <vector> using namespace std; vector<string> sortString(vector<string>); bool compString(string, string);
  2. J

    Comp Sci Beginner C++ - identifier not found

    EDIT: oohhh! That makes sense. I didn't know of such rules. Thank you so much for the help :)
  3. J

    Comp Sci Beginner C++ - identifier not found

    Any help is greatly appreciated Homework Statement I am trying to sort a string of vectors in the proper order. My problem does not involve theory, it involves syntax errors. Moving from Java to C++ is sure a pain.. I have 2 c++ files, sorting.h and sorting.cpp I keep getting this error...
  4. J

    Program to convert text to morse code

    So far all I've found int morseletter = morsetext2.indexOf(counter); -indexOf takes in a string type. -counter, as far as I know, is int type. -you put in int type where a string belongs. -(btw indexOf gives the index in which counter first shows up in morsetext2 given proper conversions)...
  5. J

    4 Variable K-Maps (reading and writing)

    Yes, minterms are 1 and maxterms are 0. As far as I'm concerned, the K-map is mainly used to find the sum of minterms. Just looking at the 1's in the chart, you can see that the original equation looked something like this: f(x) = a'b'c'd' + a'bc'd' + ab'c'd' + ab'cd + abcd' + ab'cd' +...
Back
Top