Questions tagged [letters]

251 questions
0
votes
1 answer

Generating characters randomly with proper frequencies

I'm making a game where characters randomly appear on the screen, and the user needs to make words using those characters. Currently, I have a string array with A,E,I,O,U each being there 3 times; and all the remaining letters in the alphabet once…
0
votes
3 answers

Combining two strings into one string which eliminates the same letters in C

Hello i'm so new in the programming and want to learn some from you :) I'm doing a program in .c and i am stucked in a part. I want to get 3 or more inputs max size of 5 characters. (For example: HELLO, HI, GOOD, BYE) And i want to stack them in a…
Gorki
  • 13
  • 3
0
votes
1 answer

Calculating the letter frequency, also involving double letters

I have an assignment where I have to find the letter frequency in a given text from user with GUI in Java. The problem is that I am Albanian and our alphabet has 36 letters: a,b,c...etc but also 'dh' 'll' 'nj' 'th' 'xh' 'zh' 'ë' 'Ç'.. should I use…
Angie
  • 21
  • 6
0
votes
1 answer

DOMPDF does not support Cyrillic characters. Easy fix?

I want to use russian letters in my html pages which i later convert into a PDF using DOMPDF. all of the russian letters are shown as question marks. What is the easiest fix for this? i've seen something called mbstring module. I think this will not…
Boriss
  • 486
  • 1
  • 6
  • 21
0
votes
2 answers

Letters stored as integers

#include #include using namespace std; int main() { cout << "Please enter an integer between 1 and 5" << endl; int x; //Selection of menu prompt cin >> x; …
0
votes
2 answers

Missing letters in @font-face font on Firefox

I have very strange problem about @font-face font Proxima Nova Bold (Polish letters) which I bought in shop. I tested it on different browsers and systems and my two friends which has got Firefox and Windows 7 has got missing letters. I found…
Mossar
  • 425
  • 1
  • 5
  • 14
0
votes
1 answer

Neo4J search word not knowing what is the size of the letters

how to search node without knowing what size are letters small or big match (w:item) WHERE w.value='Book' return w;
Sławomir Kudła
  • 243
  • 2
  • 4
  • 14
0
votes
1 answer

Maximum amount of characters

can anybody help me with this given assignment? "Write a function that takes as input the message (a string) and checks…
Yega
  • 3
  • 1
0
votes
1 answer

Validating User Input for Letters

I've recently been trying to validate a user input so that only letters from the alphabet are accepted, how would I do this? I know how to validate user input for most things, but this one line of code for letters is really troubling me.
0
votes
4 answers

How do you get x amounts of y in one string and put it in another string in python?

If the string is "43 Lobsters and 3 Crabs" I want to get only the s's from this string. There are three s's so in my new string I must have just "sss".
Eric
  • 5
  • 3
0
votes
2 answers

how to use eof for count letters of a string (ansi c)

I'm new in programming and now I'm trying to learn how to use EOF. I want to insert a string from keyboard and count the letters. For example Give string: abcd I have 1a , 1b , 1c ,1d. My code so far is while(scanf("%s",s)!=EOF){ …
cmd
  • 1
0
votes
2 answers

How to count how many different vowels are in one word from text file in C?

I am confused about counting how many differents vowels are in one word? This is were i got so far... I am saving word by word in the variable word[] and then check char by char whether is vowel or not... but i don't know how to count how many…
0
votes
2 answers

letters or numbers only in a password with jquery

I found this code for alphanumeric check ("Letters, numbers, spaces or underscores") but I want to change so I will be able to write only letters or numbers. Can anyone tell me how to change this code: function(value, element) { return…
Greg
  • 3
  • 3
0
votes
1 answer

function for removing the letters in Excel

i have got an Excel sheet with over than 8000 row and 15 columns i want a function to remove all the letters and special characters from a cell and only leave the numbers DFM-TEL-CIS-1025 --> 1025 DFM-VTM-1299 --> 1299 TEL-CIV-DWG-DRX-1021 --> 3021
0
votes
1 answer

PHP imagettftext: bounding boxes of letters superimpose above each other

I'm writing text-images on the fly with PHPs imagettftext, which works fine so far, but I have a very strange problem. We are using a very italicized font and apparently the bounding boxes of later letters are sometimes superimposing their…
Sorcy
  • 2,587
  • 5
  • 26
  • 34