C++ Programming

Adjudicado Publicado Sep 2, 2013 Pagado a la entrega
Adjudicado Pagado a la entrega

Q1: I want the program to read 100 files and not one at a time by concatenating

IloEnv env;

try {

const char* filename = "C:/Users/Ebo/Desktop/Knapsackexample/[url removed, login to view]"; //Ment_1, Ment_2, ..., Ment_100

if (argc >= 2) filename = argv[1];

ifstream file(filename);

if ( !file ) {

cerr > value >> maxweight;

Q2: I want the program to read 100 files and not one at a time by concatenating

ifstream my_Set;

[url removed, login to view]("[url removed, login to view]"); //Ment_1, ..., Ment_100

if(!my_Set.is_open())

{

cout

Programación en C++

Nº del proyecto: #4887303

Sobre el proyecto

Proyecto remoto Activo Sep 2, 2013