char string and pointer

Selesai Dipasang Jun 9, 2003 Dibayar saat pengiriman
Selesai Dibayar saat pengiriman

Char String and Pointers 1. Determine the error in the following program: (Type it up and run it!!) #include void main() { cout << "Your name" << endl; cout << "Your Period" << endl; char message[]= {'H', 'e', 'l', 'l', 'o', '\0'}; for(int i = 0; i < 5; i++) { cout << *message << endl; message++; } // THE PROGRAM SHOULD DISPLAY EACH LETTER OF HELLO } (s.c. and code) 2. Write a C++ function that displays the day of the week corresponding to a user-entered input between 1 and 7. That is, in response to an input of 2, the program displays the name Monday. Use an array of pointers in the function. Must have error checking, for numbers between 1 and 7. (s.c. and code) 3. Create three uninitailized character strings in the main. The user will input a three-word sentence, one word for one string. Then, from the main, pass the three strings into a function that uses the concatenation function from string.h. Concatenate the second string and the third string into the first string. Make sure the first string can hold all three words and cout the first string from the function. (s.c. and code) 4. Create two uninitailized character strings in the main. The user will input ONLY two words. You will then pass them into a function that will use the comparison function from string.h. In this function, you will have a char pointer set to null. If the first word is greater than the second, set the char pointer equal to the sentence "First word is greater than the second." Vice versa for second greater than first. If the first and second words are equal, set the char pointer equal to the sentence "First word is equal to the second word." Cout the pointer after the conditions in the function. (s.c. and code)

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.

## Platform

must run using microsoft visual C++

Pemrograman C Teknik MySQL PHP Perancangan Perangkat Lunak Pengujian Perangkat Lunak

ID Proyek: #2943348

Tentang proyek

23 proposal Proyek online Aktif Jun 10, 2003

Diberikan kepada:

srinivasangara

See private message.

$5 USD dalam 14 hari
(9 Ulasan)
3.7

23 freelancer rata-rata menawar $12 untuk pekerjaan ini

slimbvw

See private message.

$17 USD dalam 14 hari
(158 Ulasan)
7.5
dragomirvw

See private message.

$4.25 USD dalam 14 hari
(149 Ulasan)
5.6
ExpertFromInd

See private message.

$12.75 USD dalam 14 hari
(48 Ulasan)
5.4
projetcoder

See private message.

$5.95 USD dalam 14 hari
(39 Ulasan)
5.0
leepwo

See private message.

$10.2 USD dalam 14 hari
(41 Ulasan)
4.7
herculesevw

See private message.

$14.45 USD dalam 14 hari
(79 Ulasan)
4.7
hivesolutionsvw

See private message.

$8.5 USD dalam 14 hari
(21 Ulasan)
4.6
vw821235vw

See private message.

$8.5 USD dalam 14 hari
(94 Ulasan)
4.3
bladvw

See private message.

$12.75 USD dalam 14 hari
(24 Ulasan)
4.6
exceptionalcoder

See private message.

$25.5 USD dalam 14 hari
(9 Ulasan)
4.1
hmichopoulos

See private message.

$12.75 USD dalam 14 hari
(27 Ulasan)
3.7
cossimin

See private message.

$12.75 USD dalam 14 hari
(18 Ulasan)
3.5
patrica

See private message.

$18.7 USD dalam 14 hari
(19 Ulasan)
3.2
vw472664vw

See private message.

$4.25 USD dalam 14 hari
(37 Ulasan)
3.0
lonapz

See private message.

$5.95 USD dalam 14 hari
(10 Ulasan)
2.8
techfoster

See private message.

$11.05 USD dalam 14 hari
(13 Ulasan)
2.4
tralph

See private message.

$17 USD dalam 14 hari
(9 Ulasan)
1.8
barabasandrei

See private message.

$8.5 USD dalam 14 hari
(1 Ulasan)
1.3
gotnone

See private message.

$8.5 USD dalam 14 hari
(1 Ulasan)
0.0
bradretzlaff

See private message.

$12.75 USD dalam 14 hari
(1 Ulasan)
0.0