by: Joe |
last post by:
Hello -
I wrote a program that uses ifstream to open an ASCII file and
getline() to read in the lines. The problem is when I try to open the
same file again later in the code. I used close()...
|
by: SB |
last post by:
Hello. I have an input file which is laid out in the following manner...
Name
Day 1
am time 1
am time 2
appointment
pm time 1
pm time 2
appointment
Day 2
|
by: Eric Boutin |
last post by:
Hi all ! I'm currently writing a function that evaluate if there is a
diffence beetween 2 streams (istringstream and ifstream).
The problem is, it doesn't work. It *always* finds a difference...
|
by: Protoman |
last post by:
My code keeps putting the input statements on the same line, instead of
letting me input them normally; here's the code:
int main()
{
cout << "Encrypt or decrypt? ";
bool select;
cin >>...
|
by: abottchow |
last post by:
Hi all,
I'm new to the group and am seeking your advice on my Linux programming
problem.
Two programs are involved. One is myProgram.cc, which reads user's
input from keyboard and prints...
|
by: allspamgoeshere3 |
last post by:
Hi!
I'm having trouble reading text lines from a file describing the levels
for a simple game I'm creating.
Inside the function that reads the content of the file there is a loop
that basically...
|
by: Jordan Tiona |
last post by:
Here is my code.
main.cpp:
#include "cddb.h"
CDData* head;
CDData* curData;
int main(){
|
by: Thomas Helmke |
last post by:
Hello NG.
I'm trying to read in a textfile. I will give you an extract of my code:
bool LogfileHandle::ReadFile( string filename )
{
std::ifstream LogFile( filename.c_str() );
if(...
|
by: Markus |
last post by:
Hi,
I want to get an integer from the user.
If the user inserts a character instead of an int the program goes
crazy. So I tried something like this:
This program works pretty well. But if...
|
by: ankit.kumar.agarwal |
last post by:
I am facing a problem with getline
I am reading a text file with a getline function the lines can have
'|' as separator.
everything works OK but in case if i have 2 delimitors in file '234||...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|