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

Programming & Design - March 2007

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

Write a program called emailaddress that read from the standard input, keyboard input, a users first name and last name. The program should then generate an email address based on the following scheme: take the last name and make the first letter capital letter and the rest of the last name all lower case letter. Take this new last name and appended to it the first letter of the first name in lower case letter. Finally append @hotmail.com to the end of the string. Display the newly generated email address. You can assume no blanks in the first or last name.

Sample input:
Please enter first name:
Shereef
Please enter last name
abualmaati

Sample output:
Your user name is: Abualmaatis@hotmail.com

2007-03-17 18:14:47 · 2 answers · asked by LULU 1

Write a program called URL, that reads from the standard input, keyboard input, a commercial web site URL. You should expect that the URL starts with www and ends with .com After reading the input you should out the url . excluding the www. and the .com

Sample Input
Please enter a url:
www.yahoo.com

Sample output
yahoo

2007-03-17 18:12:31 · 1 answers · asked by LULU 1

Write a program called Decrypt, that reads a sentence from the standard input, keyboard input. The sentence has been encrypted as follows: only the first five even-numbered characters should be counted. Decrypt the sentence and output the result.
Sample Input:
Pleas enter encrypted string:
Hiejlzl3ow

Sample Output:
The decrypted string is: Hello

2007-03-17 18:11:39 · 2 answers · asked by LULU 1

2007-03-17 17:52:54 · 1 answers · asked by Arjun 1

I currently have Dreamweaver and I have a trail of Macromedia Flash Pro 8, but I need something more user friendly.
There is a template that needs editing and just editing the html files don't seem to be doing the trick, even when I try
to have the main flash part bring them up when loading. Anything that is airhead proof enough for me should work well for my client when they need to maintain their site LOL.

2007-03-17 17:48:14 · 4 answers · asked by Am 4

0

The instructions for this problem are:
" Write a complete program that reads in 100 double values from standard input (keyboard) into a vector. Then output all 100 values to standard output (terminal) in the same order they were read in with one space between each value."

I do not need to worry about prompting the user with instructions.

The code I have so far is:

#include
#include

int main()
{
vector values(99);

while( int i = 0 ; i <= 99 ; i++ )
{
cin << vector[i];
}

for ( int i = 1 ; i < values.size()-1 ; i++ )
{
cout << vector[i] << " " ;
}

return 0;
}

Could someone please tell me what I am doing wrong? Thanks in advance.

2007-03-17 17:45:32 · 2 answers · asked by fortune_snookies 2

Ok... so to simplify it as much i can:

Let's say i have a movie A and a movie B. Both have 10 keyframes and appear in frame 1 in the main timeline next to each other. Now, lets say that i am seeing the content of frame 5 in movie A, and there is a button on frame 5 of movie A. I would like the button to cause movie B go to frame 10 and stop.

What action would i give that button/how would i do that?

The scenario i described is the very barebone version of what i need, so please don't tell me how to solve this problem in a different way. All i need to know is what action that button needs to cause the other movie to go to a different frame. I am working on a web site and having problem with video sounds playing from one movie clip when viewing another, and need to reset keyframes in each movie. Anyways, i was pretty sure 'tell target' would work, but it doesnt seem to...

please help! serious answers only - thanks!

2007-03-17 17:45:27 · 1 answers · asked by pb 2

I have objects that are calling pages from somewhere and I need to change the content through the Flash Object parts and not on the html pages (so it seems).

2007-03-17 17:43:34 · 2 answers · asked by Am 4

whats a website where u can create your own safe free website??

2007-03-17 17:25:54 · 3 answers · asked by thumb_almighty 2

i am using PHP on Linux redhat and Apache. Considering continuing with MySQL, or move to Oracle

2007-03-17 16:47:01 · 3 answers · asked by Saar M 1

I ran the HP System Check. It finished checking my system health and this came up...

2007-03-17 16:43:39 · 1 answers · asked by Anonymous

Like a chatting software, hacking, a network of systems.
With no membership to any site!

2007-03-17 16:42:16 · 2 answers · asked by jj_skates79 2

I already know c++ and visual basic. Do you guys think i should also study c# and vb.net? Are they in demand? Do you guys think they are useful in the future?

2007-03-17 16:39:29 · 4 answers · asked by John Bob Bryant III 2

I need to write letters. I am new at this. I will need help in spacing etc. I am a senior adult and have never taken lessons. Please help.

2007-03-17 16:31:56 · 5 answers · asked by smokymtnarms1 1

I want to be able to take pics off from a website or even design my own, however, I'm not sure what program I need to do this. I want to be able to put sparkling borders around these pics and possible combined one pic with another to form one. Something like what you would do on myspace and paste it on your profile. Is there such a program to allow me to do this?

2007-03-17 16:15:08 · 4 answers · asked by devil72_93 1

I want to create a txt on the client side (I do not want to save it on the server if this is possible), then I want to upload it to the client and from my webpage. How would I go about doing this? I only find things on how to upload to the server on the net. However, I want to upload to the client.

2007-03-17 16:09:29 · 2 answers · asked by Anonymous

http://users.belgacom.net/bn334589/majick6.swf thats the link freaky though.... every card i chose burnt!! hehe.. thank you guys 4 ur answers

2007-03-17 16:08:54 · 5 answers · asked by dennis_emotional 2

i need to change to text color of a paragraph and i dont know how... some assistance would be wonderful

2007-03-17 16:01:04 · 5 answers · asked by Anonymous

I have looked all over the place and I have not found 1 working css layout for this... I am guessing it is not possible with out tables...

I want to have a 3 column layout that in total stretches 100% of all screen resolutions.

The left and right column should be fluid.

The center column should always be 780px.

I will add different background images to the left adn right columns...

No margins or padding on the body and no margins or padding in the columns...

Anyone?

2007-03-17 15:46:53 · 4 answers · asked by Scott P 2

I did a flash menu and insert it in dreamweaver. Wen I preview in Internet explorer (IE block my menu). I have to press acept active X to allow the menu to apear in the page.
How can I eliminate this? All the user with IE will not be able to see the menu? Is there a script to avoid this? PLZ help.

2007-03-17 15:46:10 · 1 answers · asked by j 3

i downloaded a movie and it was "movie.rar" but i didint have a thing to extract it so i changed it to "movie.zip" but it says its croupt so i went to change it back to .rar but the extenction at the end of it was gone so i tryed adding it but when i opend it it said croupted "movie.zip.rar" does any one know how to chang it back to .rar?

2007-03-17 15:33:47 · 2 answers · asked by andrew c 2

I have a gif file http://i134.photobucket.com/albums/q105/sunedlyt/countdown.gif that I want to stretch to fit the background of my myspace profile, but I don't know the code to do it. Help please!!!

2007-03-17 15:18:27 · 4 answers · asked by Amber B 1

I put 1024 x 768, but the background comes out in the middle. It doesn't come out stretched.

2007-03-17 15:17:27 · 3 answers · asked by Cardiophobia <3 5

On a picture i want to roatate Letters all different ways but i cant figure out how can some one help me PLEASE.

2007-03-17 15:15:36 · 1 answers · asked by williamt 2

2007-03-17 14:55:21 · 6 answers · asked by paula57201 1

I am trying publisize my new blog and I heard of something called a blog circle but I am not quite sure what it is. My blog address is www.shiseidocity.blogspot.com

2007-03-17 14:50:23 · 1 answers · asked by Anonymous

Ok well my friend has a myspace but in the contact box there are no links, only a picture...i want to add the person but i cant manage to find the link, is there any other way to add them or something???

2007-03-17 14:44:43 · 1 answers · asked by iridezerodecks66@sbcglobal.net 1

What do u have to put into your site to prevent people from being able to copy or save my pictures off of my website

2007-03-17 14:34:25 · 2 answers · asked by Ryan D 1

fedest.com, questions and answers