Writing the file by C++ programming by learnandgrow

View this thread on steempeak.com
· @learnandgrow ·
$181.96
Writing the file by C++ programming
# PROGRAM BODY
#include iostream
#include string
#include fstream
//I can't put the horizontal v shaped signs those are called as HTML components here so sorry
using namespace std;

int main (){
ofstream file ("sabi11.txt");
if(!file.is_open()){
cout<<"an error occured"<<endl;

}else {
    cout<<"Successfully opened the file"<<endl;
    file <<"I am the emperor sabi so don't bow down lols"<<endl;
    file <<"dears its a new program a second of series so lets do it shall we?!"<<endl;
    file.close();
}
return 0;
}
# Working of program
![Capture.JPG](https://res.cloudinary.com/hpiynhbhq/image/upload/v1516034303/kygcckq3mxcrmtmbhsxr.jpg)
The file sabi11 is created by the program itself and the instructions are written on the file. 
![Capture1.JPG](https://res.cloudinary.com/hpiynhbhq/image/upload/v1516034448/k9y88goq5b5pngyron8h.jpg)

**I hope you guys enjoyed it stay tuned**
👍  , , , , , , , , , , , ,
properties (23)
post_id25,863,721
authorlearnandgrow
permlinkwriting-the-file-by-c-programming
categoryprogramming
json_metadata"{"tags": ["programming", "busy", "cpp", "codeblocks"], "format": "markdown", "image": ["https://res.cloudinary.com/hpiynhbhq/image/upload/v1516034303/kygcckq3mxcrmtmbhsxr.jpg"], "community": "busy", "app": "busy/2.2.0"}"
created2018-01-15 16:41:48
last_update2018-01-15 16:41:48
depth0
children7
net_rshares19,325,092,739,293
last_payout2018-01-22 16:41:48
cashout_time1969-12-31 23:59:59
total_payout_value138.012 SBD
curator_payout_value43.949 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length887
author_reputation14,528,548,322,874
root_title"Writing the file by C++ programming"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (13)
@hanitasteemer ·
$0.14
igotknowledge
👍  
properties (23)
post_id25,863,969
authorhanitasteemer
permlinkre-learnandgrow-writing-the-file-by-c-programming-20180115t164305509z
categoryprogramming
json_metadata"{"app": "steemit/0.1", "tags": ["programming"]}"
created2018-01-15 16:43:03
last_update2018-01-15 16:43:03
depth1
children1
net_rshares14,935,052,375
last_payout2018-01-22 16:43:03
cashout_time1969-12-31 23:59:59
total_payout_value0.101 SBD
curator_payout_value0.034 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length13
author_reputation8,107,536,058,544
root_title"Writing the file by C++ programming"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@learnandgrow ·
thank you I am coming to you too!
properties (22)
post_id25,864,211
authorlearnandgrow
permlinkre-hanitasteemer-re-learnandgrow-writing-the-file-by-c-programming-20180115t164427549z
categoryprogramming
json_metadata"{"app": "steemit/0.1", "tags": ["programming"]}"
created2018-01-15 16:44:30
last_update2018-01-15 16:44:30
depth2
children0
net_rshares0
last_payout2018-01-22 16:44:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length33
author_reputation14,528,548,322,874
root_title"Writing the file by C++ programming"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@missrdx ·
Nic
properties (22)
post_id25,866,917
authormissrdx
permlinkre-learnandgrow-writing-the-file-by-c-programming-20180115t165944680z
categoryprogramming
json_metadata"{"app": "steemit/0.1", "tags": ["programming"]}"
created2018-01-15 16:59:54
last_update2018-01-15 16:59:54
depth1
children0
net_rshares0
last_payout2018-01-22 16:59:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length3
author_reputation78,222,795,638
root_title"Writing the file by C++ programming"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@michaelizer ·
Hope one day to master this language
properties (22)
post_id26,049,537
authormichaelizer
permlinkre-learnandgrow-writing-the-file-by-c-programming-20180116t145720881z
categoryprogramming
json_metadata"{"app": "steemit/0.1", "tags": ["programming"]}"
created2018-01-16 14:59:30
last_update2018-01-16 14:59:30
depth1
children1
net_rshares0
last_payout2018-01-23 14:59:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length36
author_reputation15,058,363,542,798
root_title"Writing the file by C++ programming"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@learnandgrow ·
good luck
properties (22)
post_id26,158,098
authorlearnandgrow
permlinkre-michaelizer-re-learnandgrow-writing-the-file-by-c-programming-20180117t035842604z
categoryprogramming
json_metadata"{"app": "steemit/0.1", "tags": ["programming"]}"
created2018-01-17 03:59:00
last_update2018-01-17 03:59:00
depth2
children0
net_rshares0
last_payout2018-01-24 03:59:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length9
author_reputation14,528,548,322,874
root_title"Writing the file by C++ programming"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@kdee916 ·
i never really learned c++. :3 my friends only said it was more lenient than java. but looking at your code, I guess it's a bit similar to php?
properties (22)
post_id26,077,243
authorkdee916
permlinkre-learnandgrow-writing-the-file-by-c-programming-20180116t173835742z
categoryprogramming
json_metadata"{"app": "steemit/0.1", "tags": ["programming"]}"
created2018-01-16 17:38:36
last_update2018-01-16 17:38:36
depth1
children1
net_rshares0
last_payout2018-01-23 17:38:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length143
author_reputation5,594,712,548,702
root_title"Writing the file by C++ programming"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@learnandgrow ·
I did't learn php ...haha but C++ is great and easy langauge!
properties (22)
post_id26,157,842
authorlearnandgrow
permlinkre-kdee916-re-learnandgrow-writing-the-file-by-c-programming-20180117t035655985z
categoryprogramming
json_metadata"{"app": "steemit/0.1", "tags": ["programming"]}"
created2018-01-17 03:57:00
last_update2018-01-17 03:57:00
depth2
children0
net_rshares0
last_payout2018-01-24 03:57:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length61
author_reputation14,528,548,322,874
root_title"Writing the file by C++ programming"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000