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);
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...
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)...
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' +...