Search results for query: *

  • Users: Pavle
  • Order by date
  1. P

    CountDown Numbers game evaluate method is too slow

    When solution is like this 5 + 6 == 6 + 5 only one should be listed
  2. P

    CountDown Numbers game evaluate method is too slow

    ...case '-': stack.Push(stack.Pop() - top); break; case '*': stack.Push(stack.Pop() * top); break; case '/': if (top == 0)...
  3. P

    CountDown Numbers game evaluate method is too slow

    ...} else { if (!combination.Contains("+") && !combination.Contains("-") && !combination.Contains("*") && !combination.Contains("/")) { if (!input.Contains("2")) { if...
  4. P

    CountDown Numbers game evaluate method is too slow

    ...} else { if (!combination.Contains("+") && !combination.Contains("-") && !combination.Contains("*") && !combination.Contains("/")) { if (!input.Contains("2")) { if...
  5. P

    Database Question and Answers Connect

    Here is table with all columns: Here is table with all columns: http://imageshack.com/a/img923/6084/XNsNPv.png I created one table like this: CREATE TABLE Pitanja ( ID int NOT NULL IDENTITY (1,1) PRIMARY KEY, Pitanje nvarchar(1000) NOT NULL, Odgovor int NOT NULL, OpcijaA nvarchar(1000) NOT NULL...
  6. P

    make expression from numbers

    ...break; case 3: // Multiplication newValue = curValue * value; opSign = '*'; break; case 4: // Division - current divided...
  7. P

    make expression from numbers

    ...number to be found is 435 and numbers available to found that number are: 6, 9, 3, 8, 15, 100 Computer should find it like this: 435 = (9 + (3 * (100 + (6 * (15 - 8))))) and show that steps in textbox Or for example random number to be found is 945 and numbers available to found that...
  8. P

    make expression from numbers

    How to make that computer makes expression from given random numbers to calculate given three-digit number ,if he can't get that number he should calculate closest to him? In first three labels is random generated three-digit number,in second four labels are random generated numbers can be from...
  9. P

    textbox,user cannot enter letter

    I don't know how to do that?
  10. P

    textbox,user cannot enter letter

    How to also make that user cannot enter same letter several times,for example if there is one 'A' in the word he can only type it once,if there is three 'A' he can only type it three times and how to allow to use backspace?
  11. P

    textbox,user cannot enter letter

    How to make that when user enter word using given random letters from 12 labels in textbox,user cannot enter letter that does not exist in given letters!!!
  12. P

    same name for all labels?

    I have fixed problem.How to make that when user enter word using given random letters from labels in textbox,user cannot enter letter that does not exist in given letters!!!
  13. P

    same name for all labels?

    I made every time I click button to show word letter on each label.But this only works with word that has lenght 12,for words that have lenght 10 and 11 program crashes.What should I do? If word lenght is 10 it should generate 2 random letters and place it somewhere in word,if word lenght is 11...
  14. P

    same name for all labels?

    I shuffled word like this: string shuffled_word = new string(word.OrderBy(r => random.Next()).ToArray()); But I don't know how to every time I click button show letter of word on other label?
  15. P

    same name for all labels?

    ...Studio 2015\Projects\Test slagalica\Test slagalica\Slagalica-DB.mdf;Integrated Security=True"; string queryString = "SELECT * FROM table1 WHERE LEN(Reci) >=10 AND LEN(Reci) <=12 ORDER BY NEWID()"; using (SqlConnection connection = new SqlConnection(cs)) {...
  16. P

    same name for all labels?

    I want to select random word from SQL server database with lenght between 10 and 12,and if random selected word has lenght less than 12 add letters until lenght become 12,shuffle that word and show on this labels: imagizer.imageshack.us/a/img923/6763/8pY8JB.png
  17. P

    same name for all labels?

    How to make this in C# with SQL Server: Call rs.Open("SELECT DISTINCT Reci FROM " & CStr(duzina), Conn, adOpenKeyset) rs.Move getRandom(0, rs.RecordCount - 1) rec = rs.Fields(0).Value Set rs = Conn.Execute("SELECT DISTINCT Reci FROM " & CStr(Len(r)))
  18. P

    same name for all labels?

    How to pick random word from database and shuffle it???
  19. P

    same name for all labels?

    I want both!!!How to make that???
  20. P

    same name for all labels?

    I have fixed all problems. Whether it can be made to computer take a word from database shuffle it and every time button is clicked it show letters on each textbox separatly???
Back
Top Bottom