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

Programming & Design - December 2007

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

i use blogger. i would like to know how to put a logo as a background of a blog. i want the logo to be in the centre of the blog.

2007-12-11 03:15:01 · 3 answers · asked by dark_childz56 1

explain each in at least 3 sentences long.

2007-12-11 01:36:55 · 3 answers · asked by Hussain786 1

I am grateful for any helpful suggestions. Thank you.

2007-12-11 00:14:52 · 4 answers · asked by sdn90036 6

(If I had a website and I was not happy with the company that hosted my site would it be hard or difficult to switch my website to a different host company?) Thank you.

2007-12-11 00:09:00 · 4 answers · asked by sdn90036 6

I have a project in visual basic about vending machine program. How can I make the label display "item purchased" when the user purchased the item and then display "thank you" after item purchased?

2007-12-11 00:08:37 · 1 answers · asked by meme 1

/*code functions in static case but got to use dynamic array*/
#include
#include
#include
void main(int argc, char *argv[])

{
FILE *fp;
int i,j=0;
float n,x1,y1,x2,y2,cross,result,area=0,p[5][5];
clrscr();
fp=fopen(argv[1],"r");
if(fp==NULL)
{
printf("Cannot open file");
exit(0);
}


while(!feof(fp)) {
/* fread(&p[j][0],sizeof(p[j][0]),1,fp); */

fscanf(fp, "%f %f", &p[j][0],&p[j][1]);
printf("%f\n,%f\n",p[j][0],p[j][1]);
j++;

}

j=j-1;
for( i = 1; i+1<=j; i++)
{
x1 = p[i][0] - p[0][0];
y1 = p[i][1] - p[0][1];
x2 = p[i+1][0] - p[0][0];
y2 = p[i+1][1] - p[0][1];
printf("x1 is %f\ny1 is %f\nx2 is %f\ny2 is %f\n",x1,y1,x2,y2);
cross = x1*y2 - x2*y1;
printf("cross is %f\n",cross);
area += cross;

}
result = fabs(area/2.0);

printf("The area is %f",result);

}

2007-12-10 23:21:53 · 4 answers · asked by Ankit 1

im using window xp prof. in my office and i cannot install some software application. i am not yet connected to our computer server so i think restriction is not an issue so i try fix it myself as i remember i modify something on mmc on stand alone snap-in under software management or group policies i think. and when i save the changes my computer dont function as normal. when i try to open any application its says the program cant continue due to some restriction in my pc. contact administrator. i can explore my computer but i cannot run any application. how can i bring my computer back to normal?
i try to run the MMC again but the same notice i received. and also i cannot open/access the system properties hardware device manager. i really need some help. how can i use the system restore if i try to run it the same notice i receive. my computer is new and my boss dont know what happen yet please help me solve it.................

2007-12-10 23:16:43 · 5 answers · asked by Anonymous

The site is for a nursery school.
I don't have too much money, but of course it wouldn't be for free.
I am open to suggestions, and will provide any images required.

2007-12-10 22:11:46 · 5 answers · asked by Anonymous

If you perform a Find operation in Access and search for the text Prentice Hall with Match Case selected, which of the following will be found?!

A. Prentice Hall
B. prentice hall
C. Both Prentice Hall and prentice hall
D. Neither Prentice Hall nor prentice hall

2007-12-10 19:38:32 · 9 answers · asked by Anonymous

0

hey ppl plz help me out on classes in c#

i have implemented a class
how do i create a instance of a class which is accessible throughout the project.
i can create a instance under the click event of a button.but then this instance is not accessible from another button.
plz teleme me how how to declare an instance of a class that i visible throught.

plz plz write an example code also plz.
thx

2007-12-10 19:27:21 · 2 answers · asked by shrinivas 1

I have a presentation and I would like to get the audince impressed with it.

2007-12-10 18:34:02 · 1 answers · asked by sam s 1

On my website, www.randominterests.com if anyone wants to see it, i want a link to point to a specific page. I want that specific page to open in an iframe of a different page. For example.

Say this link is in index.htm and it's pointing to a page called laughs.htm. I want that laughs.htm to open inside an iframe in another html page called random.htm

So random.htm has an iframe, i want laughs.htm to open in it. I can do it very easily if the link to laughs.htm is in random.htm, but i can't figure out how to do it if the link is in index.htm


help please!!!!

2007-12-10 15:55:32 · 4 answers · asked by jeff_cougsfan 2

Any ideas or code development help or something.

2007-12-10 15:34:11 · 2 answers · asked by quickanu 2

This is an error I received while working with the C compiler Miracle C

2007-12-10 15:31:45 · 3 answers · asked by David J. U 1

I have a picture I want to convert to a Bitmap image. How would I do that?

2007-12-10 15:17:59 · 12 answers · asked by Anonymous

2007-12-10 14:44:28 · 3 answers · asked by that_guy 2

strcat(temp,"AY");

return temp;
}

char * last_rule(char *str)
{
static char temp[80];
strncopy(temp,'\0',80);

strcpy(temp,++str);
temp[strlen(temp)]=*(--str);
temp[strlen(temp)+1]= '\0';
strcat(temp,"AY");
return temp;
}

2007-12-10 14:30:51 · 4 answers · asked by matt n 1

it tells me i have unresolved externals
#include
#include
#include
#include
#include

char * vowel_rule(char *);
char * two_letter(char *);
char * last_rule(char *);
void rules();

int main()
{

rules();

return(0);
}

void rules()
{
char str[80];
char english[80];
int length,a,b,i;

i=0;
a=b=0;

printf("Please enter a phrase to be translated to piglatin: ");
fgets(str,79,stdin);
length = strlen(str);

printf("\nThis is your translated sentence: ");

while(a<=length)
{
english[b]=str[a];
if(english[b]==' '||english[b]=='\0')
{
english[b]='\0';
b=0;

if(english[0]=='A'||english[0]=='E'||english[0]=='I'||english[0]=='O'||english[0]=='U'||english[0]=='a'||english[0]=='e'
||english[0]=='i'||english[0]=='o'||english[0]=='u')
{
printf(" %s",vowel_rule(english));
}

char * vowel_rule(char *str)
}
static char temp[80];
strncopy(temp,'\0',80);
strcpy(temp,str);
temp[strlen(temp)+1]= '\0';

2007-12-10 14:29:15 · 6 answers · asked by matt n 1

I have two rows of links in my navigation and I want the links in each row to be a different colour. The CSS style is only letting me have one colour for the links. Is there any way to make it so I can have different colours for different links?

2007-12-10 14:11:33 · 1 answers · asked by lucy m 2

.....in wins XP home edition

2007-12-10 11:45:21 · 2 answers · asked by muffer_3 6

i need to take screenshots for my layout myspace so i can have layouts. and making new myspaces for all them is to hard.

2007-12-10 11:42:39 · 14 answers · asked by lukebizzle69 1

^^;.
My entire website will consist as DIVS, and although I have created the DIV image, I am looking for a tutorial on how to code it.

2007-12-10 09:32:40 · 2 answers · asked by theaB. 2

When i put a text of a ratio e.g. "1/2" Excel automatically converts it into the corresponding date (e.g. 2 - Jan) although i had chosen the format to be general and not a date. When i try to make it into a general cell again, there it gives me the corresponding number but not the ratio. I know that i can keep the text form if i put something else before the ratio (e.g. " 1/2" instead of "1/2") the problem is that i need it to be without anything extra because it will be the input for another program, which requires (i think) the exact expression ( i suppose that if something like that can't be done, then might not be a problem with the program if a put "something extra" before the ratio.

2007-12-10 08:30:55 · 7 answers · asked by tzolakas 1

heres the code.help validate it.


Name (Required)


E-Mail (Required)


Phone (###-###-####) (Optional)


Street Address (Required)


City (Required)


State
(Required)

Zip-Code (Required)


Questions and Comments







2007-12-10 06:49:14 · 3 answers · asked by itsmesnitches 1

I have attached the digital camera with my customized application. I want when I take picture it will be resized automatically according my requirements and save in the folder.

2007-12-10 05:57:03 · 2 answers · asked by A1OPUS 1

I want to have a method in my controllers defined that returns the count of records in a users database. Is this the correct syntax? What am I doing wrong. I seem to get an error.

def users
@users = User.find(:all)
sql = ActiveRecord::Base.connection();
sql.execute "SET autocommit=0";
sql.begin_db_transaction
id, value =sql.execute("SELECT COUNT(*) as "Number of Users" FROM users;").fetch_row;
sql.commit_db_transaction
@count=value;
end

2007-12-10 05:41:08 · 1 answers · asked by theedge2343 2

PLEASE TELL ME , ABOUT THIS MATLAB PROGRAMMING IN DETAIL ,

THANXXXXX.........

2007-12-10 04:42:16 · 2 answers · asked by Rohit K 2

This is the link

http://www.gather.com/

I want to create the web page and have tab pages as this page have for "My Gahter", "Images" "Articles"

Should I use and then tab, how and where to define number of tab pages in a web page,pleaseeeeeee help

2007-12-10 04:15:44 · 4 answers · asked by teatimetrivia.blogspot.com 2

I am running the following piece of code to record the value of cell A1 every second, to create a list of values. I also want to chart the values in real time, ie have the chart update whilr the code is running. However while the code is running, this currently doesn't occur, and I can't even use excel at all until I break the running macro. Is it possible to have the macro "pause" to allow this?

Sub Log()
For a = 2 To 240 Step 3
For b = 1 To 1000
Cells(b, a) = Time()
Cells(b, a - 1) = Cells(1, 1)
PauseTime = 1
Start = Timer
Do While Timer < Start + PauseTime
Loop
Next b
Next a
End Sub

2007-12-10 04:07:51 · 4 answers · asked by Chin 2

Hi

Problem:
http://localhost/www.website.com/new.php?id="180"
returns error as follows:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\"180\"' at line 1


This works!:
http://localhost/www.website.com/new.php?id=180

Thing is i dont know ho to chnage my code to get rid of the double quotes!

On iis :http://localhost/www.website.com/new.php?id="180"
works fine, but on apache it doesnt!


whay is this?
What shall i do?




index.php:
print "id\">$row->title";



new.php:
include("db/db_config.php");

{
$id = $_GET["id"];
$sql = "SELECT * FROM articles WHERE id = $id";
}

// $sql = "SELECT id,datetime,title,author,body,author_box FROM t4d.articles WHERE id = $_GET["id"] LIMIT 1";
$rs = mysql_query($sql) or die(mysql_error());


Thanks in advance

Tovia Singer

2007-12-10 03:53:31 · 5 answers · asked by jam 5

fedest.com, questions and answers