Search:
Type: Posts; User: gaby32
Search:
Search took 0.04 seconds.
-
October 18th, 2012, 07:38 AM
All working now, code attached below:wave:
//#include <stdafx>
#include <iostream>
#include <string>
#include <iomanip> // setprecision() funcion
#include <conio.h> // _getch() function...
-
October 16th, 2012, 03:43 PM
updated code, program still does not work, i'm pulling my hair out now ahhhhh, enough for the day.
#include "stdafx.h"
#include <iostream>
#include <string>
#include <iomanip> //...
-
October 16th, 2012, 03:39 PM
Added while(choice !=5); see below
}// End of switch statement
} // End of loop
while(choice !=5);
} //End of 'display_main_menu' method
void open_account()
-
October 16th, 2012, 02:54 PM
#include <iostream>
#include <string>
#include <iomanip> // setprecision() funcion
#include <conio.h> // _getch() function
#include <ctime> // add system time and date
using namespace std;
...
-
October 16th, 2012, 02:49 PM
closing bracket for problem 2 still presets, can't see any silliy mistakes
} //End of 'display_main_menu' method
-
October 16th, 2012, 02:48 PM
ms v studio 2008 express edition
-
October 16th, 2012, 02:35 PM
thanks for that tip.
but why is #include "stdafx.h" highlighted in red?
-
October 16th, 2012, 02:13 PM
update problem 3 sorted added ; at end of getch() so it becomes getch();
-
October 16th, 2012, 02:04 PM
update problem 4 sorted, i had wrong bracket above display_main_menu();
void main()
{
display_main_menu();
}
-
October 16th, 2012, 01:35 PM
hello
Thanks i got that: balance = balance + deposit;
but I'm still having the above 4 problems in my first post
-
October 16th, 2012, 09:15 AM
// Title: Bank Account Program
// Author:
// Descripition: A bank account program that lets the user open an account by adding a
// customer name then adding a balance to the account, also lets...
-
September 21st, 2012, 03:08 PM
Problem fixed last line
void pr_string()
{
cout << "my name is " << first_name << " " << surname << name << "\n";
}
final code
-
September 21st, 2012, 02:47 PM
still can not get space in between the first and surname
// Enter first and surname and then display the full name.
#include<iostream>
#include<string>
#include<cctype>
using namespace std;...
-
September 21st, 2012, 02:26 PM
ok it works now only one wee minor problem, when you enter your first name then enter surname enter the full name is displayed, but no space in between first and surname, example johnsmith should be...
-
September 21st, 2012, 02:03 PM
Ok made some changes when i press ctrl and f5 runs program asks for my first_name then surname then i press enter system says name isfirst_namesurname
// Enter first and surname and then display...
-
September 21st, 2012, 11:56 AM
ok i understabd a little bit, if you were to right the same program, what would your code be?
-
September 21st, 2012, 11:16 AM
Hi
I'am new to C++, i done various basic programs in C++, but one program is giving me a major headache: enter first and surname and then display the full name:
code below:
// Enter first...
|
Click Here to Expand Forum to Full Width
|