R
Richard Cavell
#include <string>
using std::string;
#include <stdio.h>
#include <stdlib.h>
#include <gmp.h>
void My Function(string ParameterOne, string ParameterTwo)
{
int i, j;
string MyString = "hello";
}
This chokes on the last line and says "error: 'string' undeclared (first
use in this function). What am I doing wrong?
using std::string;
#include <stdio.h>
#include <stdlib.h>
#include <gmp.h>
void My Function(string ParameterOne, string ParameterTwo)
{
int i, j;
string MyString = "hello";
}
This chokes on the last line and says "error: 'string' undeclared (first
use in this function). What am I doing wrong?