No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
If I have a file(.txt) that i read in that contains the following : [ICODE] * [111]IPOD FOR SALE 01 Jan 2012 in [1]Mobile by [325]se Submit | $300.00 [102]iphone 11 Jan 2012 in [1]Mobile by [22]aa Submit | $600.00 * [/ICODE] how do i extract the relevant data using … |
|
For example, I have 2 classes A[x,y,z] and B[a,b] and one vector for each class. I want to read a text file containing data with my two classes For example the text file may contain: A [1,2,3] B [1,2] A [4,5,6] How do i read in this file such that … |
|
I just started learning C++ let's say i have 2 classes classes A and B Class A = a1(a,b) I want an instance of class B attributes to be like this where a1 is an instance of class A: Class B = b1(x,y,a1,z) how do i go about doing this? … |