Форум » C/C++ для начинающих (C/C++ for beginners) » How to get external .. » Ответить

How to get external ..

ramees: How to get external data in to c++ Example I have a code that run monts find its simple strings outputs i have a lot's of output in a Notpad like this 12536.45.y7.8u.98 35673.56.gh6.50.67 97249.45.5.67.78 Now i read in using ifstream is there any fast way to use this kind Of big data in c++ I read about sql database is this suitable ?

Ответов - 3

Сыроежка: If you read data sequentially then I doubt that SQL will help you very much. Try to write and read data in the binary mode.

ramees: You mean a .bin file In this case one problem is i have a 1 billion line data . my for loop will take bit time to find a targeting line to solve this if i divide .bin file into small .bin How can i open particular .bin file that targeting line in

Сыроежка: If you indeed need direct access to records by some key then it is better to use a DBMS,




полная версия страницы