I have installed visual c++ 2008 few days ago.
I want to create a file open it, display contents, modify them and search them but i dont know specific codes.
I have used turbo c++ earlier.
Please specify the codes if possible. Thanx............;)
13L4D3
0
Newbie Poster
Recommended Answers
Jump to PostYou could probably use something like this read and create a file.
ofstream used for creating and write to file.
ifstream used for reading from file.#include <iostream> #include <fstream> ofstream File1; File1.open("C:\\Createdfile.txt"); File1 << "This is written to File1";
Read a file:
ifstream …
Jump to PostGo back to the Microsoft site where you got that compiler and it will have link(s) to tutorial(s) about how to use the IDE. It takes a little practice, but you should bet the basics right away. Just remember, VC++ 2008 Express is NOT Turbo C++, so don't expect to …
Jump to PostI really doesn't argree with you using the standard libs .
When just starting to learn the c++ language always always use standard c++ set of STL and other header files/streams. They are portable to any modern c++ compiler on any operating system, and there are hundreds of books that …
All 12 Replies
Jennifer84
0
Posting Pro
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
sanzilla
-9
Unverified User
Ancient Dragon
commented:
Looks like you need to educate yourself.
-6
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
13L4D3
0
Newbie Poster
sanzilla
-9
Unverified User
13L4D3
0
Newbie Poster
sanzilla
-9
Unverified User
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
13L4D3
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
13L4D3
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.