write tag

5 questions


1 answers
74 views
0

1 answers
70 views
0
There was a problem while studying the c language file call function

int main(void){ FILE * src=fopen(src.bin,rb); FILE * des=fopen(des.bin,wb); char buf[20]; int readcnt;if(src==NULL || des==NULL){ puts (File Open Failed!); return -1;}while(1){ readcnt=fread((void*)bu...

2 years ago

1 answers
108 views
0
Apache Web Server mod_rewrite file path restriction question

Ubuntu 16.04 LTS, Apache2 is in use as virtualBox.I changed the file from Server Domain/File Path to Server Domain/rewrite Rule using the rewrite module. The problem is that I want to access the file ...


1 answers
116 views
0
I'm Python New B. How do I write str type in a file?

apples = 'Hello World!'text_file = open(Output.txt, w)text_file.write(message :, mystr)text_file.close()In the print function, print(message:, mystr) was separated by commas, but it didn't work in wri...


1 answers
73 views
0
To read a python csv file, take user input, and increase and store the corresponding count for input

I got the name of the restaurant The Ranking.csv file exists and the entered restaurant name is in the Ranking.csv fileI don't know how to write to csv by adding count +1 to the existing restaurant na...

2 years ago

© 2024 OneMinuteCode. All rights reserved.