thanks it works. but i had to declare address as Char not string. so how can i get the size or length of the Char. is like (string.size or string.length). advise me please.
regard's
User Profile
Collapse
-
How to read string with space (help please)
hi
i have the following code :
string addrress;
cin >> address;
cout << address;
if I enter any string with space in between , it will save the first word only.
e.g. if i enter "this is a test"
address = this
how can I make address to have the rest of the string too. please help -
Draw a Line in JBuilder 5 (help)
hi
I need to konw how to write a command to draw lines in JBuilder 5. please help
regards -
thank u for help. I am trying to use Scanner class but I can't find it. I am using JBuilder 5.
please help...Leave a comment:
-
How to read from keyboard
Hi all
1) I need to have the statement that read a user input then store it in a variable. the input could be string or number. please help.
2) if i have a number like 34.4444444 how to make the printout to be like 34.4 only. what is the command to format any number.
Please Help. regards -
stop command (I need help)
Hi every body
I am new in the forum and in JAVA language. I have a program in Java and I need to add a statement that stop runing the program without exiting the form or the window. please help me.
regards
No activity results to display
Show More
Leave a comment: