c ++赋值 [英] c++ assignment

查看:62
本文介绍了c ++赋值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想请求一些帮助,因为我不知道如何启动它。


它是一个银行交易文件。每个单独的交易都存储在文件名it.txt

个别交易必须包括

1.timestamp,包括年,月,日,小时(24),分钟和秒。

2.customer'的名字。

3.客户账号

4.账户类型:

-checking account

-savings account

-creditcard account

5.transaction type

-deposit

-提款

6.trasaction金额(美元)


整个计划必须:

-display并从控制台中的文件中读取交易详细信息

-able添加新交易并存储在文件中


任何人都可以帮助我! !

我正在使用visual c ++ 6.0

感谢那些帮助我并有耐心阅读的人。


来自:andrew安德森

解决方案

到目前为止,您为代码编写了什么?你有基本代码吗?任何系统流程图?或者你是否要求有人为你编写程序?


嗨安德鲁。

你从文件开始新建

选择Win32控制台应用程序

为项目命名并为其选择一个文件夹

单击确定并选择Hello World应用程序


你现在准备开始编码了


sry家伙我想你错了我的意思。


i知道如何打开一个控制台,但我只能想到使用wat代码做的事情!


我启动wif菜单还是切换案例或文件?


我是一名初学者,但我只是不明白这个想法!


可以任何帮助我为我编写程序,但只是告诉我从wat代码开始?


我真的迷失了这个编程!!


i would like to ask for some help with this assignment as i don''t know how to start it.

its a banking transaction file. each individual transaction is stored in the file name it.txt
the individual transaction must include
1.timestamp which includes year,month,day,hours(24),minutes and seconds.
2.customer''s name.
3.customer account number
4.account type:
-checking account
-savings account
-creditcard account
5.transaction type
-deposit
-withdrawal
6.trasaction amount(dollars)

the whole program must:
-display and read the transaction detail from the file in the console
-able to add new transaction and store in the file

can anyone pls help me!!
im using visual c++ 6.0
thanks to those who help me and have the patience to read.

from:andrew anderson

解决方案

What have you written for code so far? Do you have any base code? Any system flowcharts? Or are you asking for someone to write the program for you?


Hi Andrew.
You start with file | new
Select Win32 Console Application
Give the project a name and select a folder for it
Click OK and select Hello World application

You are now ready to start coding


sry guys i think u''ve mistaken my meaning.

i know how to open a console but i just can get the idea of using wat code to do!

do i start wif menu or switch case or file?

im a beginner student in programming but i just can''t get the idea to start this!!

can any1 help me dun write the program for me but just tell me start with wat code?

im really lost with this programming!!


这篇关于c ++赋值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆