Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Email Validation in iOS

While creating any Login or Registration UI in iOS we ask user to enter their email id. To avoid wrong data entry we can validate entered data by using a simple validation method. Below method will return you a BOOL value. Here it is:- -(BOOL)valid

help with minimax tic tac toe ai

hello i am creating a minimax tic-tac-toe ai. i finished my program but it doesn't work it keeps choosing the next available spot this is my got repo https://github.com/adam-kabbara/tic-tac-toe-ai   example of choosing next avai

Automation Project

The history of artificial intelligence (AI) began in antiquity, with myths, stories, and rumors of artificial beings endowed with intelligence or consciousness by master craftsmen. The study of logic and formal reasoning from antiquity

JavaScript Assignment Operators

JavaScript Assignment Operators The Assignment Operator is used to assign the value of the right operand to the left operand. The key rule for this operator is that it always assign value from right to left. The Assignment operator (=) works as (x=

What went wrong in my simple code?

# A very simple python program to compare two numbers using functions  from sys import exit def main(): check() compare(x, y) def check(): # prompt user for two numbers x = input("x: ") y = input("y: ") # apply sanit

Block variable in objective C

Block access the data in normal way as the other normal function do. Block can access any class variable or function variable out side it but cannot modified it. int x= 111; void (^printXAndY)(int) = ^(int y) { printf("%d %d\n", x, y); }; print

sort() & rsort() function in PHP

Sort() function is used to sort array in ascending order. Example: <?php $numbers = array(9, 6, 3, 22, 12); sort($numbers); $length = count($numbers); for($x = 0; $x < $length; $x++) { echo $numbers[$x]; ech

Bhanu Morampudi_BinMovement

.Net Apis for support to android device

How to delete characters which can not be printable

Hello Reader's if your page is generating some non readable characters that are not able to print then by using PHP you can remove them as follows:- Many of the other answers here do not take into account unicode characters (e.g. öäüßйȝîûηыეமிᚉ⠛ ).

How to check whether a number is in range[low,high] using one comparison?

#include <iostream> using namespace std; // Returns true if x is in range [low..high], else false bool inRange(int low, int high, int x) { return ((x-high)*(x-low) <= 0); } int main() { inRange(10, 100, 25)? cout << "Yes\n":

prev 1 3 217
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: