Recent content by jck_ccc
-
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);- jck_ccc
- Post #8
- Forum: Engineering and Comp Sci Homework Help
-
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 :)- jck_ccc
- Post #4
- Forum: Engineering and Comp Sci Homework Help
-
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...- jck_ccc
- Thread
- Beginner C++
- Replies: 7
- Forum: Engineering and Comp Sci Homework Help
-
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)...- jck_ccc
- Post #3
- Forum: Engineering and Comp Sci Homework Help
-
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' +...- jck_ccc
- Post #5
- Forum: Engineering and Comp Sci Homework Help