like this?
doskey_vector.at(j) = doskey_vector.push_back(x);
I want to store the current value of variable x, to the vector. So every time the user types a command, the command will be...
Type: Posts; User: panagiotis13
like this?
doskey_vector.at(j) = doskey_vector.push_back(x);
I want to store the current value of variable x, to the vector. So every time the user types a command, the command will be...
Ok vector it is! so i try this:
#include <iostream>
#include <stdlib.h>
#include <fstream>
#include <string>
#include <windows.h>
#include <dir.h>
#include <vector>
Can you explain me this a little more please? I really need some help!
Thank you
ok done something... check out my code:
#include <iostream>
#include <stdlib.h>
#include <fstream>
#include <string>
using namespace std;
QUESTION:
create one program for each commad? let's say, CD.EXE, DOSKEY.EXE etc?
or create a single program, that reads the input from the user and calls the right fuction for each command,...
i really don know how to start...
any tips??
I have a uni project and i need some help!
i have to develop an MS-DOS command prompt emulations, that has the following dos commands:
CLS
VER
DIR
CD
DOSKEY
HELP