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

Programming & Design - October 2007

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

I got Kubuntu on one of my computers, and I have no idea how to creat a user to log in with. It doesnt give me many options. I downloaded it from Wubi if you know what that is so that migght help. Well does anyon know or does kubuntu just stink and shouldnt be used?

2007-10-28 04:42:39 · 1 answers · asked by Chicken Salad 2

Is there an easy way to go about doing this? There are 4,500 of them....

2007-10-28 02:14:59 · 2 answers · asked by torylocker 2

with one charecter per element , find the indedx(location) of P in T??

2007-10-28 02:09:32 · 2 answers · asked by the_nature_boy 1

Hi,

How do I chek if user is logged on and if He isent send to a Login Page?

Where do I out the code?

Thank you
Reiss

2007-10-28 01:39:18 · 3 answers · asked by Anonymous

I'm attempting to write a program where part of it is to open a file, read a file, add to file, save file, etc. For each of these we need to make seperate functions. In my function for opening a file, I keep hitting a compiling wall that says my parameters are clashing with the line ifstream fin;
My problem is that I cannot for the life of me figure out how to get it to work. Here's the piece of code I have so any help would be amazing!

int openFile(ifstream &fin)
{
char filename[25];
cout << "Please input the file name.\n";
ifstream fin;
cin >> filename;
fin.open(filename);
cout << "File is loaded.\n";

return 0;
}

2007-10-28 00:49:37 · 1 answers · asked by volleyballdawl 2

For our school computing assignment, we have to create a HTML website on a charity thing (made up) and I'm making this website called StaarLite which is for seriously diseased children, and i need a slogan for it. Any suggestions please? THANKYOU! :)

2007-10-27 21:25:13 · 8 answers · asked by Anonymous

An example is Runescape. Any tips, tricks, programmings, software, etc?

2007-10-27 17:55:06 · 2 answers · asked by Anonymous

2007-10-27 17:05:21 · 1 answers · asked by Summer-off 2

this is one of my php script, i want to know how to assign two dimensional arrays in this script as it might help me to solve this small matter to you..plz...kinda need ur help ...


// Fill up array with names
$a[]="home";
$a[]="shop";
$a[]="car";
$a[]="phone";

//get the q parameter from URL
$q=$_GET["q"];
//lookup all hints from array if length of q>0
if (strlen($q) > 0)
{
$hint="";
for($i=0; $i {
if (strtolower($q)==strtolower(substr($a[$i],0,strlen($q))))
{
if ($hint=="")
{
$hint=$a[$i];
}
else
{
$hint=$hint." , ".$a[$i];
}
}
}
}

// Set output to "Search not found" if no hint were found
// or to the correct values
if ($hint == "")
{
$response="Search not found";
}
else
{
$response=$hint;
}

//output the response
echo $response;
?>

2007-10-27 16:16:17 · 1 answers · asked by lil_girl1280 1

can someone contact me and show me how they design a webpage "design" in photoshop or illustrator.

my contacts are:

aim: sarmenhb
msn: sarmenmpo@hotmail.com
yahoo: sarmenhb
email: sarmenhb@yahoo.com
ICQ: 371910409
Skype: sarmenhb

2007-10-27 14:44:32 · 4 answers · asked by sarmenhbb 1

why is it so frustrating to create a web page. what techniques do you use when making a web page in photoshop, then slicing it and using the correct html and css to make it display correctly.

is there anyone out there that would give me their screen name aim,msn, yahoo anything that can assist me in making a descent site. thanks

2007-10-27 14:30:00 · 5 answers · asked by sarmenhbb 1

I'm trying to figure out how to set the value of a command to a variable.

I want to set the value of 'date +%H' to a variable called 'hour'.

set hour = ________

do I need quotes around date +%H ?

Thanks for the help.

2007-10-27 09:32:19 · 3 answers · asked by Anonymous

I used to have a button that let me open a wizard to do that, but I lost it, and I don't know what it is called so I can't even search tech support and help for it

2007-10-27 07:29:10 · 1 answers · asked by onecowboyjake 4

Hello.

I am trying to create a form that does not have the input boxes, but instead, you can type the info on the background.

In other words, the form's white boxes are invisible so the page background is behind the text.

Please help me...it will GREATLY be appreciated...& you will get best answer....=]

2007-10-27 06:59:26 · 3 answers · asked by John D 2

The code below watermarks an image with php. To so this the header needs to be set to: header('content-type: image/png');
But after the script has done its stuff with the image i then want it to header me to another page but it cant as the header is already sent, what can i do to get around this? or is it impossible?
header('content-type: image/png');
$watermark = imagecreatefrompng('watermark.png');
$watermark_width = imagesx($watermark);
$watermark_height = imagesy($watermark);
$image = imagecreatetruecolor($watermark_width, $watermark_height);
$image = imagecreatefrompng($_GET['src']);
$size = getimagesize($_GET['src']);
$dest_x = $size[0] - $watermark_width - 2;
$dest_y = $size[1] - $watermark_height - 25;
imagecopymerge($image, $watermark, $dest_x, $dest_y, 50, 0, $watermark_width, $watermark_height, 100);
imagepng($image);
imagepng($image, 'lightwaves.png');
?>

2007-10-27 06:52:59 · 3 answers · asked by peter s 1

I am just starting to try to write HTML. What is the difference between a Header and a Title?

How is each intended to be used?

Don't be mean! :-))

2007-10-27 04:44:48 · 7 answers · asked by zen 7

For example, if you already have a layout for your page and you want to see how a different one would look, without having to go to the edit page and erase the code and paste the new code every time to see which one looks the best.

2007-10-27 04:13:26 · 2 answers · asked by Anonymous

I hate Vista! So, page numbering is now incorporated with Headers and Footers and I have no idea how to alter different page numbers without it changing the entire format.

How do you change chapters in headers without altering the entire header?

for example, Ch. 1-1 for the first chapter, and on hte second, Ch. 2 -1

2007-10-27 04:02:38 · 2 answers · asked by Kyle 4 Ty 1

2007-10-27 02:06:46 · 1 answers · asked by cagalli_08 1

I understand how to make an Action and map it to more than one component--in this case, I have it mapped to JButtons on a JToolBar and its corresponding same action to JMenuItems on a JMenu. I was wondering how I would be able to match its focus to one another.

To make clear what I mean:

Say there is a "Color" menu that you can tab to "Blue", "Red", and "Yellow", and also a "Color" toolbar that you can click on "Blue", "Red", and "Yellow". How would I use one Action for Blue that would know which I clicked on, and to set the corresponding focus on the opposite. In other words, if I click on "Blue" in the menu, the focus will stay there (with a radio button for instance). How do I make the "Blue" on the toolbar also get focus?

2007-10-26 22:34:30 · 3 answers · asked by Jean-Francois 5

Hi Guys
when i open the text file in arabic language , I coudn't read it shows like this (ÃÎÊÑ åÐÇ áÃä ÇáÏã íÓÈÈ ÙåæÑ ÈËæÑ) it's unreadable does anybody know the reason?

2007-10-26 21:35:30 · 5 answers · asked by namekmf 2

The question is self-explanatory... what font does HelioHost.org use? I am the admin, and I kind of forgot what font I used when developing the site. As you might tell, the design sucks, but I want to keep the logo, and I forgot what font I used. In the Flash file, the words are just pics.

If you don't believe I am the admin, email me at admin at heliohost dot org to confirm.

Thanks everyone!

2007-10-26 21:15:16 · 2 answers · asked by djbob 1

i have a directory that I imported to a text file by
dir/b >textfile.txt

I want to know if there is a program that will automaticllay turn each line into a link...

what I basicllay want to do is, the files are names of movies.... i want to be able to hyperlink to yahoo movie previews, or some other movie preview site, and use the text on each line as a search string for which ever site i choose....

doing this manuallay would be a huge hassle, i am tring to automate the process...

I am sure that a simple script could be made to accomplish what I am looking to do...

2007-10-26 18:39:51 · 1 answers · asked by joe r 7

I want to know what function from which header I must use to read a binary file.

I will need to know how big a file is in byte. Then I want to move N byte into a char * variable.

For example what I must do to move 5000 byte from "Data.txt" to char * DataChar ?

2007-10-26 17:39:44 · 2 answers · asked by seed of eternity 6

the file?

a. link
b. path
c. anchor
d. map

2007-10-26 17:38:50 · 2 answers · asked by Jen 4

so i have a program that reads in a file and decodes the file then spits out the message. the symbol @ followed by an int will declare what amount i need to shift the alphabet by. i have all of that working fine. my problem is if there isn't an int following the symbol, the program displays an error i made. i need it to discard the rest of the message until it reaches the # symbol. when it reaches that, it will start behaving like normal again. i would appreciate any help.

2007-10-26 10:56:52 · 2 answers · asked by nadsoil05 1

Here goes I feel stupid but how am I going to learn. I have a web site grandmas-old-country-store.com. (First of all I am so novice novice people talk about me). I was wondering where on my home page how can I change it to like a products page, contact us shipping taxes and so forth. I am trying to say I want a more professonal look to my home page you know where people can click on my products tab and it opens to the products and so forth do I do that on the footer or can I do it on my narrarotor. as you see I am a novice who can't spell lol Thanks for your help Ken.

2007-10-26 10:41:23 · 3 answers · asked by kensbins 1

If you declare a class member as "private" in C++ or Object Pascal (Delphi), derived classes can't refer to or use it. What's the point? How could the person writing the base class possibly know that no derived classes in the future will ever need to use the private members? Why does the language even allow that?

2007-10-26 09:25:03 · 2 answers · asked by rainfingers 4

i want to learn programiing which language do i start with and how do i get good tutorials and materials in learning??

2007-10-26 08:58:53 · 10 answers · asked by uthman a 1

fedest.com, questions and answers