Function to Check if String is a Pangram in C++ Programming Software Development by iCode@Night … create a function to check if a string is a pangram or not. I think I have good start on it… string from the old string that would make it a pangram. Here is my code so far. Any pointers would be… Path trou the matrix Programming Software Development by duskoKoscica … fox jumps over lazy dog” is the famous one. The pangram has all letters of a particular alphabet. Yes, there are…“. THE PROBLEM In the matrix we have placed our perfect pangram each letter is surrounded with the next one. By surrounded… so on till we find all letters from the perfect pangram. When I say surrounding, I mean that if the current… Re: Python Logical "OR": Programming Software Development by Madhu_6 …(small_case) if n in [small_case, camel_case, space]: result = 'pangram' else: result = 'not pangram' for char in s: check(char) print (result) First… Re: Function to Check if String is a Pangram in C++ Programming Software Development by kelechi96 You could have 26 integers variables each assigned to a letter or a boolean array, whenever you parse one of the letters you change the appropriate integer to 1 and have a checking function to make sure that if any of the integers is above 1 you reject it and if your looping switch them all to 0 at the end. Re: Function to Check if String is a Pangram in C++ Programming Software Development by iCode@Night I cannot use any global or static variables and it has to be done recursively. Re: Path trou the matrix Programming Software Development by Banfa The way you have written Functions.h is more than something I don't like. The moment you start creating projects with more than 1 cpp file this approach will cause you errors because you will have multiple definitions of all the functions you have put into your header. Headers should only contain declarations it should not contain definitions. A… Re: Path trou the matrix Programming Software Development by duskoKoscica Thanks for beeng interested. And this is my respond to your coments> 1. This is just console app, I use that thing for OOP solutions like H.cpp + H.h files for class and its implementation. So, in this case I have just put it like that. But this is good question as well. I have not had intention to offend, anoy or what so ever, there is like … Re: Path trou the matrix Programming Software Development by Banfa I am not offended, it is just that putting functions into a header is such an `attrociously bad idea` that you should avoid doing it in even the smallest project. Either put them in another cpp file if you intend to reuse them in another program or put them in your main.cpp. Re: Path trou the matrix Programming Software Development by Schol-R-LEA **duskoKoscica:** I think you will find [this post](http://forums.devshed.com/showthread.php?p=2001351#post2001351) helpful in clarifying why you should avoid having function implementations in header files. Re: Path trou the matrix Programming Software Development by duskoKoscica I did not say that I don't know how to use that thing, but the best part of Banfa post is the forth objection, it is how to create well this is the thing> double Add( double a, double b) / return a + b; / and double Substract( double a, double b) / return a-b; As we could observe the difference is name of funciton and +/-. It would be nice… Re: Path trou the matrix Programming Software Development by Banfa At anytime you think (while programming C++ (or C)) what would work here would be convert all my data to a string so I can interpret it you have made a design error. The computer handles binary data far better than string data the last thing you want to do is hold your data in strings if you can avoid it. For the example you give with 2 small … Re: Path trou the matrix Programming Software Development by duskoKoscica Nice, I was thinking about it earller, but I wanna take the string function from imput like f(x) + g(x), and then just count the value of the x without analayzing the iput functins and... And the thing I wish to do could be usefull about manny things. And when you develop not so big app like photoshop or something less than that I would like to …