English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Programming & Design - August 2007

[Selected]: All categories Computers & Internet Programming & Design

Define the term array. How are two-dimensional arrays represented in memory? Emplain how address of an element is calculated in a two dimensional array.

2007-08-10 01:34:26 · 5 answers · asked by Anonymous

Define the term array. How are two-dimensional arrays represented in memory? Emplain how address of an element is calculated in a two dimensional array.

2007-08-10 01:32:50 · 4 answers · asked by Anonymous

I am new at Java LinkedList and I was wondering if it is possible to traverse a LinkedList backwards. And if so, how?

2007-08-09 20:36:14 · 5 answers · asked by bubba1234e 2

I am using Visual Basic 6.0 and need to write the contents of ONE text box to a txt file. Every time it is clicked it should add a new line with the contents of the text box (Not write over the old one) How would I go about doing this?

2007-08-09 18:54:34 · 2 answers · asked by Paul K 1

as i know there be one primary key in one table.In any cases there be more then one primary key in one table.

2007-08-09 18:32:57 · 3 answers · asked by Anonymous

In MS Access, I want to restrict entry of text into a field. I've provided limits via a dropdown listbox I created. So I only want any one of those values as possibilities to fill that field for any new records created. The problem is that currently I can enter any text I want by simply ignoring the drop down text values I've populated in the list box. Can I lock the field so only those drop down text values I've created can be selected? If so, how please? Thank you!

2007-08-09 18:27:39 · 2 answers · asked by 27ysq 4

How can I link images. For example I want to take a certain picture and code it so that when someone clicks on it, it takes them to a certain site.

2007-08-09 18:16:19 · 3 answers · asked by NIghtShade 1

Need help understanding a part of a program which is able to find the GCD. can someone explaine the part from int gcd to before int main starts.

#include
using namespace std;

int gcd (int value1, int value2)
{ int r;
while (value2!=0)
{ r = value1% value2;
value1 = value2;
value2 = r; }
return value1; }
int main (int x, int y, int howmany)
{
cout << "\n Finding the GCD in a C++ program";
cout <<"\n Enter how many GCD computations? ";
cin >> howmany;
for (int i = 0; i < howmany; ++i)
{ cout << "\n Enter two integers: ";
cin >> x >> y; // input of teh 2 values
cout << "\n GCD ("<< x << "," << y << ")=" <
}
}

2007-08-09 15:00:16 · 3 answers · asked by Tech19 3

for example (6+9-2)*5/2, its output is 69+2-5*2/

2007-08-09 13:40:25 · 1 answers · asked by Anonymous

plz make me a program dat inputs an equation den outputs 8s postfix answer

2007-08-09 13:26:59 · 2 answers · asked by Anonymous

I need to monitor a log file for a while and was going to have inittab run tail -f logfile | grep ERROR | xargs -n1 -i mailit.sh {}

Where mailit.sh is just a 2 line program:
echo $1 > error.log
mail -s "Error occured" my@email.com < error.log

or any other suggestions for realtime monitoring of a log file.
Its VERY BUSY always getting written too.

Thanks,

2007-08-09 13:05:16 · 1 answers · asked by Bart 2

i edited some pictures on photoshop. now i wanna put them
up on my myspace [all about me sect.] i know how but the probelm is how do i get the code. usually i just upload the pictures onto photobucket. but since i edited them from photoshop it doesn't work at all. plz help

2007-08-09 12:18:20 · 1 answers · asked by &deee; 4

how do I say something along the lines of
on (release) show a text field and if the text field='password' then gotoframe abillion

2007-08-09 11:52:02 · 1 answers · asked by samuel c 2

Explain how methods with multiple parameters are declared. Describe two examples of Java-based applications that might use methods that have two or more parameters. Provide detail about where those applications would be used.

2007-08-09 11:42:01 · 3 answers · asked by kahmellion 2

I am trying to start my own website. I want to be able to change and manage all content. Any advice?

2007-08-09 11:36:06 · 10 answers · asked by MelJoJo 1

Hey Guys I am intersted in Computer Programming
I am an absolute beginner at programming.
Some ppl have advised me to start with programming langauge BASIC first.

1. Can anyone give lists books regarding PRACTICAL learning of using prgramming language BASIC for ABSOLUTE BEGINNERS???

2. And can you please give me an insight on what this laguage really is, and its uses???

Thanx

2007-08-09 11:14:02 · 5 answers · asked by Ahmed Z 1

...algorithm:



for i = 0 until a.length - 2
for j = i + 1 until a.length-1
if a[j] < a[i]
make a[i] = a[j] and make a[j] = a[i]

j = j+1

end for j

i=i+1

end for i

2007-08-09 11:00:12 · 2 answers · asked by Anonymous

My homework asks "What is the output of the following?" and i'm thinking something is horribly wrong with this code or they skipped this in class.

the only thing vaguely tickling my brain is the true/false (1 or 0) thing. but if that's so, i didn't realize you could assign 1 or 0 to integers using true / false tests.

int main()
{
int a = 3, b = -1, c = 0, i, j, k, n;
i = a || b || c;
j = a && b && c;
k = a || b && c;
n = a && !(b || c);
printf("\ni = %d, j = %d, k = $d, n = %d\n", i, j, k, n);
}

2007-08-09 09:54:25 · 5 answers · asked by Julia D 3

I need to treat objects differently based on whether or not they have a certain method. Is there a Java version of has_method? If not, is there a straightforward way of doing duck typing (a la Ruby)?

2007-08-09 09:29:44 · 2 answers · asked by Tres S 2

I'm having trouble with the equations needed. we have learned the loops so far and i think this problem wants me to use the loops, and it looks like i need if-else as well. Here is the problem.

Write a program that asks the user to supply three positive integers k, m and n, with k being greater than 1. the program should compute the sum of all the integers between m and n that are divisible by k.

I don't know how to tell C that that i only want an integer evenly divisible by another. and then, i'm not quite sure how to get the addition of those integers done.

2007-08-09 09:24:19 · 3 answers · asked by Julia D 3

To answer this question you must know what Pivot is-the stick figure animator.

On YouTube there are numerous Pivot animations with sound behind them-how is it done-if there are more than one give me them all (well, all that you can be bothered to do ;-))and I'll chose the easiest for me personally based on time, effort and programs I have.

cheers

2007-08-09 07:54:04 · 3 answers · asked by Anonymous

this is how it goes:

example()
{

short arr[20];
short I, *p;

t=arr[ I ];
p=arr + I ;

t=*p;
p=arr+I;
t=*p;

2007-08-09 07:22:14 · 4 answers · asked by Anonymous

I'm trying to use a .bat file to open an Access database that is located on a shared drive. When I use the path defined in the propertied of the database, the file is not found.

2007-08-09 06:30:57 · 3 answers · asked by sfgirl 1

All I need is the complete CSS code for when your mouse hovers over a link, it will vibrate/shake/move side to side please. That's all I need. Please help. If not than can you tell me where they can teach you or already have it. Either of those would be appreciated.

2007-08-09 05:16:37 · 4 answers · asked by best.ninja.ever 1

0

I need some help or guidance in what i should be doing i want my layout to look like this http://www.thenoodleincident.com/tutorials/box_lesson/basic4.html but when i post the code inside the CSS it does nothing (i add ) can someone please tell me where i would get information on how to fix it to work or what i need to add, thanks

2007-08-09 03:39:37 · 5 answers · asked by justinclayjr 1

Algorithm:
----------


start = 0
end = a.length -1

while start <= end

if (end-start) is multipliable by 2?
index = start + (end-start)/2
else
index = start +(end-start+1)/2


if a[index]>n
end = index-1
else if(a[index] start = indice + 1
else
return indice

end while

return -1

2007-08-09 03:12:05 · 1 answers · asked by Anonymous

Algorithm:
-------------

start <- 0
end <- a.length -1

while start <= end

if (end-start) is multipliable by 2?
index<-start + (end-start)/2
else
index <-start +(end-start+1)/2


if a[index]>n
end <-index-1
else if(a[index] start <- index + 1
else
return index

end while

return -1

2007-08-09 02:59:33 · 1 answers · asked by Anonymous

jdk1.5.0

2007-08-09 02:47:00 · 6 answers · asked by beniask 1

2007-08-09 01:22:12 · 6 answers · asked by Anonymous

2007-08-08 22:55:21 · 2 answers · asked by ronald v 1

fedest.com, questions and answers