aboutsummaryrefslogtreecommitdiff
path: root/mod_10b/source.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mod_10b/source.cpp')
-rw-r--r--mod_10b/source.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/mod_10b/source.cpp b/mod_10b/source.cpp
index 3c6b551..98a565d 100644
--- a/mod_10b/source.cpp
+++ b/mod_10b/source.cpp
@@ -3,16 +3,4 @@
*/
#include "source.h"
-vold getFullName(char& first, char& last, char& full)
-{
- cout<<"Please enter your First name: ";
- cin.getline ( first, 50 );
- cout<<"Enter your last name: ";
- cin.getline ( last, 50 );
- full[0] = '\0'; // strcat searches for '\0' to cat after
- strcat ( full, first); // Copy name into full name
- strcat ( full, " " ); // We want to separate the names by a space
- strcat ( full, last); // Copy lastname onto the end of fullname
- cout<<"Your full name is "<< full <<"\n";
- cin.get();
-}
+