Hi,
I am trying to read a txt file. And make a count on how many times certain string appear in the file. But i am not sure how to break the whole line of the text into each individual string to compare it. Help.
Here is what i have for now:
// reading a text file
#include <iostream.h>...
Hello,
I have trying to open a database file and read the data in the file. Currently, I can get the filename of the database file, but i knew there is a different of reading file between a database file and a text file. Any existing source code available??
Thanks for advance.
Raphael
Hi,
I am trying to convert a variable from double to long.
Anybody have any idea of how to do this without losing any of the number after the decimal point??
I have try to first convert it to a string using _fcvt(),
and then from string convert it back to long using atol().
But it doesn't...
Hi,
Just wondering, is there any existing library which allow me to delete and rename a file.
Just say I have two file "a.txt" and "b.txt" in my directory. How can I delete a.txt and rename b.txt to a.txt???
Raphael
Hello,
This may be a very silly question to some people, but I am new to visual C++ programming.
Can someone tell me how I can include the function from an old .cpp program which generated a .dll file, in my current .cpp program.
Just said there is a fuction call "Checking" in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.