
Search In
If You want to get the list of all the files that are uploaded on your DropBox then use the following code :
method -(void)downloadAllData:(void (^)(NSMutableArray *, NSMutableArray *, BOOL))
block need to be called after the successful login to D
There are many options to locate the element but the easiest way to locate an element is by its id. In webpages we can easily locate the element by its id but on mobile its very tricky to locate the element by id.
I am automating an Android app usin
Hello guys
We are creating a file which have some information about file i.e create date, modify date, tags and description etc. called metadata of the file.
Now, We are extract the Imagedata using javax.imageIO package requires ImageInputSt
Linear search is simple search algorithm in which a sequential searching is done over all the items in a list. Every items are checked and if any match is found then that item is returned otherwise search will be continuued till the end of the dat
here we are converting string values to the integer without using library functions.
#include
int stringToInt(char[] );
int main(){
char str[10];
int intValue;
printf("Enter any integer as a string: ");
s
The malloc is an acronym of "memory allocation". This function allocates the requested size of bytes to a variable and return a pointer of type void.
Syntax:
p=(type cast *)malloc(size)
Here p is a pointer.
Example:
Calculate the sum to element
As a beginner in iOS apps, the main focus should be understanding the scope and limitation of phonegap compared to native platforms.
Especially for keyboard, calendar selection etc.you will not get same keyboards as we have in native apps.
Then its
Hey guys! I want to write a program that finds the sum of cubed terms. i.e. 1**3 + 2**3 + n**3
I wrote down the following code:
// n = input('Give the value of n.')
n = int (n)
s = ((n(n+1))/2)**2
print ('Sum equals =', s
#include<stdio.h>
int maxDiff(int a[], int n)
{
int maxDiff = -1; // Initialize Result
int maxRight = a[n-1]; // Initialize max element from right side
for (int i = n-2; i >= 0; i--)
{
if (a[i] > maxRight)
Simple code of php for making tree using asterisk
It is easy to make tree using php in less no. of line of code. Here are few line of code that will help you to get desired output by using for loop with three variable i,j and k or this can be explai
