Answers for "char** in c example"

3

uialertcontroller example objective c

UIAlertController* alert = [UIAlertController alertControllerWithTitle:@"My Alert"
	message:@"This is an alert."
	preferredStyle:UIAlertControllerStyleAlert];

UIAlertAction* defaultAction = [UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault
	handler:^(UIAlertAction * action) {}];

[alert addAction:defaultAction];
[self presentViewController:alert animated:YES completion:nil];
Posted by: Guest on May-27-2020
2

system.in example in java

package com.mkyong.io;

import java.util.Scanner;

public class JavaScanner {

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);

        String input = "";
        while (!"q".equalsIgnoreCase(input)) {

            System.out.print("Enter something (q to quite): ");

            input = scanner.nextLine();
            System.out.println("input : " + input);
        }

        System.out.println("bye bye!");
    }

}
Posted by: Guest on April-25-2020

Code answers related to "Objective-C"

Browse Popular Code Answers by Language