Find Jobs
Hire Freelancers

C++ code

$30-250 USD

In Progress
Posted almost 7 years ago

$30-250 USD

Paid on delivery
I wish to load an array which is stored in a text file, e.g. [login to view URL] into the main program at runtime. The code for creating [login to view URL] from the table [login to view URL] has already been produced (please see attached). I would expect the code to include something similar to the following: int main() { string myArray[6][4]; string *myArray_3_2 = &myArray[3][2]; std::cout << *myArray_3_2 << "\n"; // output is ‘9’ return 0 ; } I need to be able to search a particular column in myArray for a specific value. For example: int i = 3; string *myArr_i_2 = &myArr[i][2]; std:cout << *myArr_i_2 << "\n"; //output ‘9’ I am of course open to suggestions for an alternative approach to solving the problem. Regards Richard
Project ID: 14042659

About the project

1 proposal
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
$52 USD in 3 days
5.0 (104 reviews)
5.6
5.6

About the client

Flag of UNITED KINGDOM
Basingstoke, United Kingdom
5.0
27
Payment method verified
Member since Mar 25, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.