Unanswered Questions

7,253,590 questions with no upvoted or accepted answers
-12 votes
4 answers
327 views

else if statement is wrong how can i go to next statement in nested for loop

for(;;){ /********* infinite iteration**************/ for(k=1;k<=8;k++){ loop1: for(n=0; n<48;n++){ for(i=0; i<8; i++){ ...
veera's user avatar
  • 31
-12 votes
2 answers
890 views

Using ColorStateList in Android Java code

I have a list with items, and 2 colorliststates, one for the odds, one for the evens. basically, it ressembles this : <?xml version="1.0" encoding="utf-8"?> <selector ...
njzk2's user avatar
  • 39.4k
-13 votes
2 answers
121 views

Javascript regex expression text between """

How do I get the text between """ and """ in javascript's regex? Example: """hello world""" should give hello world """ hi """ """world""" should give [hi, world]
Andre's user avatar
  • 1,377
-13 votes
2 answers
1k views

How to get largest number in an array without using any extra variable or built in function

How to get largest number in an array without using any extra variable or built in function. Sample Input: int arr[] = {4,5,87,-9,1,0,34,5,,8}; Sample O/p: 87
Manu's user avatar
  • 89
-13 votes
3 answers
1k views

Android back button not working for multiple activities

I am new to Android. I have three activities A, B, and C. In the activity B, I have a listView with the list of items. On clicking each item, I want to show item details in the third activity. It is ...
codemaster001's user avatar
-13 votes
1 answer
212 views

PHP - Verify user token on every request

Here is a scenario: Whenever a user logs in, I send the user token along with the response and save it in localStorage. Now, I want to make another request and I also want to send the token back for ...
user6601176's user avatar
-13 votes
3 answers
4k views

there is already an object named '' in the database

This is my code: CREATE TABLE supplier -- creating table supplier ( supplierID INT NOT NULL IDENTITY, supplierName VARCHAR(30) NOT NULL, suppplierNo VARCHAR(10) NOT NULL, supplierEmail ...
Luan Lourens's user avatar
-14 votes
1 answer
167 views

generate a list of all possible combinations and randomly select a combination from the list

I found this code online on tutorials point. link https://www.tutorialspoint.com/cplusplus-program-to-generate-all-possible-combinations-out-of-a-b-c-d-e. I tried to think of how to modify it so that ...
Devian Tart's user avatar
-14 votes
2 answers
1k views

Option select in Objective-C

I need to do a option select in Objective-C similar to HTML, and I search for all Google and I don't find nothing about how I can do this. Any idea to do this?
Louis's user avatar
  • 21
-17 votes
2 answers
282 views

Get total as you type with added column (append) using jQuery

<button type="button" class="btn btn-default" id="add_supplier">Add Supplier</button> <table class="table table-bordered" id="supplier_table"> <thead> <tr id="...
Jonathan D. Esparas's user avatar

15 30 50 per page