Results 1 to 1 of 1
-
10-04-2009, 05:35 PM #1
- Member Since
- Oct 04, 2009
- Posts
- 1
C++ Beginner simple fstream questionHi everybody,
I'm trying to direct my fstream to the console for debugging purposes. I'm using ifstream infile("con") and ofstream outfile("con") which don't work. Can anyone help?? (Someone told me that "con" may work for PC and not for Mac)
ifstream infile("/Users/kenya/Desktop/prog3in.txt");
// ifstream infile ("con");
ofstream outfile("/Users/kenya/Desktop/prog3out.txt");
// ofstream outfile("con");
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
g++ fstream in Mac OS X 10.6
By adamyang in forum macOS - Development and DarwinReplies: 4Last Post: 05-10-2012, 05:06 PM -
Beginner question
By whatthewhat in forum Switcher HangoutReplies: 7Last Post: 12-01-2011, 04:20 PM -
Simple, Simple question (?) from a real beginner
By JamesTaylor in forum iOS and AppsReplies: 0Last Post: 05-15-2011, 08:58 AM -
Beginner C++ question
By O'Brien in forum macOS - Development and DarwinReplies: 12Last Post: 03-17-2010, 04:44 PM -
Beginner question
By saoslund in forum macOS - Operating SystemReplies: 2Last Post: 02-13-2009, 01:22 AM