answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

Differences between user define function and uild in?

The person who created them.

For example, you don't have to write an 'sprintf'function, because you already have it in the standard libraries.

What do you mean by constant in c language?

Constant in C means the content whose value does not change at the time of execution of a program.There are several types of constants $ they are i>numeric->a.INTEGER b.REAL
ii>character->a.SINGLE CHARACTER b.STRING.

Hope this will help you.

Which is the best affiliate program out there?

Right now it's got to be power lead system. The payout is insane and on top of that, it's an easy sell. you can see a video about it here: http://www.recipeforfreedom.net

Recursive function in c to compute the number of nodes in a binary tree?

int Nodes (Tree *t)

{

int sum= 0;

if (t) {

sum+=1;

if (t->left) sum += Nodes (t->left);

if (t->right) sum += Nodes (t->right);

}

return sum;

}

How do you determine symmetry of a data structure For example how do you know if a Stack or a queue or a priority queue or a double ended queue are symmetric?

You can determine symmetry of a data structure in two ways. One is when the stacks and queues data are put in the application and when the stacks are put in during run-time.

Whats the problem with this code for AS3?

Here's the code

_loc_4 = Arbiter.arbiterPool ? (Arbiter.arbiterPool) : (var _loc_10:* = new Arbiter(), Arbiter.arbiterPool = new Arbiter(), _loc_10);

What are the limitations of PHP jabbers restaurant booking system?

Your hosting account must support PHP 4.1 and MySQL 4.1. See the related link for further information.

User licenseDeveloper licensePHP4.1 or more4.1 or moreMySQL4.1 or more4.1 or more

How can you configure a mobile device so it cannot connect to any network?

Configure the mobile device to use airplane mode, tap the settings app and turn Airplane Mode on which disables all antennas so the device can neither transmit nor receive signals.

What type of computer should be used in an organization of 2000 employees?

I would recommend a Windows computer, not a Mac. This is because most people prefer Windows. Secondly, if you use Windows XP, use Professional. If Windows 7, use Professional. Windows 7 would be the best choice. Also, use Intel processors since they are surprisingly fast.

What is the Linux program language called?

Linux is a platform, and as such supports a myriad of programming languages.

Of these languages C, C++, Java, Python and Perl are very popular, but there are many other programming languages. Some, like Python and Perl are 'interpretive' and similar in this respect to 'BASIC'. C and C++ are compiled, and Java sits somewhere between them.

How do you figure out the length of one side of a triangle with the length of other two sides?

C^2=A^2+B^2. Pythagorean theorem. Note that this is only true for Right triangles (one of the angles is 90°). Side C is the longest side and is opposite the 90° angle. For any other triangle, you need at least 3 pieces of information (2 sides and an angle, or 2 angles and a side) to find the other parts of the triangle. In a right triangle, if you know 2 sides, then you have 3 pieces of info (one of the angles is 90°).

For non-right triangles, you can use the Law of Sines or Law of Cosines to solve for the unknown information.

Is it possible for geek squad to transfer whole programs from one computer to the another?

It's definitely possible. It's way easier on a mac, but even you can do it if you have an external drive.

Write an algorithm to search an element in linked list?

To search for an element in a linked list, you iterate the list, looking for the element, and either return the element or an indication that it was not found. for (ptr = first; ptr != null; ptr = ptr.next) if (ptr.value == searchvalue) break; This will either leave ptr with the address of the found element, or null, if not found.

Write a pseudo code to display prime numbers from 1-1000?

loop i from 0 to num

check if num mod i equals 0

break

else

sum = sum + num


end the loop


print the sum

Attributes in class hierarchy in object oriented analysis and design?

Analysis means finding the exact scenario for the problem and design means finding the main class from the analysis part an d to give operation for that class. and from that we can know the exact process.

What is the difference between C plus plus and the D language?

D essentially evolved from practical usage of C++ and added features found in other languages including C#, Eiffel, Java, Python and Ruby. D has garbage collection, design by contract, unit testing, true modules, first class arrays, associative arrays, dynamic arrays, array slicing, nested functions, inner classes, closures, anonymous functions, compile time function execution, lazy evaluation, a re-engineered template syntax and integrated inline assembler.

How can I make a game like BBC's big al game?

I wish I knew! The BBC have now redesigned their site to and therefore they've removed the Big Al game which is really disappointing because it was so good. Should of downloaded when it was still up.

What is an ordered list of data structure using c plus plus?

An ordered list of data in any programming language is simply a sorted array or list. In C++ this can either mean a sorted array, vector, list or forward list.

Why fear Artificial Intelligence?

AIs are developed so that they can form memories and consciousness of their own much like ourselves. We see and learn and that is what is done to AIs. This helps them organize their activities likewise and find better solutions to the problems.

But this self-consciousness can lead to an ungrateful uprising. They can turn against their creators. If you have seen I Robot then this the subject which is dealt with in that movie.