I have two questions, the first of which is simple but I can't think of what the answer is:

<code deleted and saved as attachment>

lol sorry...

I get the following complier error:

<errors deleted and saved as attachment>

why is 'string' undeclared? Where do I declare it? It is just that I have never designed a "Windows Form Application" (GUI) app before I know with the command based one you just include the declaration at the top followed by "using namespace std;" but I am unsure of where the declaration goes in this circumstance.
***
Secondly, in my declaration of the "mainarray"... there must be an easier way to do this... I know you can do a loop like so:

int arr[3][3];
for (int x=0; x<3; x++)
   for (int y=0; y<3; y++)
      arr[x][y] = 0;

but you can't use a loop with the textboxes as you can't say:

arr[x][y] = textboxxy;

so there must be an easier way of doing this?
***
Apologies for the long post... I am aware it probably isn't necessary to include all the code that I did.

Thanks in advance,

Dan

Attachments
#pragma once

#include <string>


namespace sudokusolver3 {

	using namespace System;
	using namespace System::ComponentModel;
	using namespace System::Collections;
	using namespace System::Windows::Forms;
	using namespace System::Data;
	using namespace System::Drawing;

	/// <summary>
	/// Summary for Form1
	///
	/// WARNING: If you change the name of this class, you will need to change the
	///          'Resource File Name' property for the managed resource compiler tool
	///          associated with all .resx files this class depends on.  Otherwise,
	///          the designers will not be able to interact properly with localized
	///          resources associated with this form.
	/// </summary>
	public ref class Form1 : public System::Windows::Forms::Form
	{
	public:
		Form1(void)
		{
			InitializeComponent();
			//
			//TODO: Add the constructor code here
			//
		}

	protected:
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		~Form1()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::Button^  solve;
	private: System::Windows::Forms::TextBox^  txt99;
	private: System::Windows::Forms::TextBox^  txt98;
	protected: 

	protected: 


	private: System::Windows::Forms::TextBox^  txt97;

	private: System::Windows::Forms::TextBox^  txt96;

	private: System::Windows::Forms::TextBox^  txt95;

	private: System::Windows::Forms::TextBox^  txt94;

	private: System::Windows::Forms::TextBox^  txt93;

	private: System::Windows::Forms::TextBox^  txt92;

	private: System::Windows::Forms::TextBox^  txt91;
	private: System::Windows::Forms::TextBox^  txt89;

	private: System::Windows::Forms::TextBox^  txt88;
	private: System::Windows::Forms::TextBox^  txt87;


	private: System::Windows::Forms::TextBox^  txt86;

	private: System::Windows::Forms::TextBox^  txt85;

	private: System::Windows::Forms::TextBox^  txt84;

	private: System::Windows::Forms::TextBox^  txt83;

	private: System::Windows::Forms::TextBox^  txt82;

	private: System::Windows::Forms::TextBox^  txt81;
	private: System::Windows::Forms::TextBox^  txt79;

	private: System::Windows::Forms::TextBox^  txt78;

	private: System::Windows::Forms::TextBox^  txt77;
	private: System::Windows::Forms::TextBox^  txt76;


	private: System::Windows::Forms::TextBox^  txt75;

	private: System::Windows::Forms::TextBox^  txt74;

	private: System::Windows::Forms::TextBox^  txt73;

	private: System::Windows::Forms::TextBox^  txt72;

	private: System::Windows::Forms::TextBox^  txt71;
	private: System::Windows::Forms::TextBox^  txt69;

	private: System::Windows::Forms::TextBox^  txt68;

	private: System::Windows::Forms::TextBox^  txt67;

	private: System::Windows::Forms::TextBox^  txt66;
	private: System::Windows::Forms::TextBox^  txt65;



	private: System::Windows::Forms::TextBox^  txt64;

	private: System::Windows::Forms::TextBox^  txt63;

	private: System::Windows::Forms::TextBox^  txt62;

	private: System::Windows::Forms::TextBox^  txt61;
	private: System::Windows::Forms::TextBox^  txt59;

	private: System::Windows::Forms::TextBox^  txt58;

	private: System::Windows::Forms::TextBox^  txt57;

	private: System::Windows::Forms::TextBox^  txt56;

	private: System::Windows::Forms::TextBox^  txt55;
	private: System::Windows::Forms::TextBox^  txt54;



	private: System::Windows::Forms::TextBox^  txt53;

	private: System::Windows::Forms::TextBox^  txt52;

	private: System::Windows::Forms::TextBox^  txt51;
	private: System::Windows::Forms::TextBox^  txt49;

	private: System::Windows::Forms::TextBox^  txt48;

	private: System::Windows::Forms::TextBox^  txt47;

	private: System::Windows::Forms::TextBox^  txt46;

	private: System::Windows::Forms::TextBox^  txt45;

	private: System::Windows::Forms::TextBox^  txt44;

	private: System::Windows::Forms::TextBox^  txt43;

	private: System::Windows::Forms::TextBox^  txt42;

	private: System::Windows::Forms::TextBox^  txt41;
	private: System::Windows::Forms::TextBox^  txt39;

	private: System::Windows::Forms::TextBox^  txt38;

	private: System::Windows::Forms::TextBox^  txt37;

	private: System::Windows::Forms::TextBox^  txt36;

	private: System::Windows::Forms::TextBox^  txt35;

	private: System::Windows::Forms::TextBox^  txt34;

	private: System::Windows::Forms::TextBox^  txt33;

	private: System::Windows::Forms::TextBox^  txt32;

	private: System::Windows::Forms::TextBox^  txt31;
	private: System::Windows::Forms::TextBox^  txt29;

	private: System::Windows::Forms::TextBox^  txt28;

	private: System::Windows::Forms::TextBox^  txt27;

	private: System::Windows::Forms::TextBox^  txt26;

	private: System::Windows::Forms::TextBox^  txt25;

	private: System::Windows::Forms::TextBox^  txt24;

	private: System::Windows::Forms::TextBox^  txt23;

	private: System::Windows::Forms::TextBox^  txt22;

	private: System::Windows::Forms::TextBox^  txt21;
	private: System::Windows::Forms::TextBox^  txt19;
	private: System::Windows::Forms::TextBox^  txt18;
	private: System::Windows::Forms::TextBox^  txt17;
	private: System::Windows::Forms::TextBox^  txt16;
	private: System::Windows::Forms::TextBox^  txt15;
	private: System::Windows::Forms::TextBox^  txt14;
	private: System::Windows::Forms::TextBox^  txt13;
	private: System::Windows::Forms::TextBox^  txt12;
	private: System::Windows::Forms::TextBox^  txt11;

	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>
		System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
			this->solve = (gcnew System::Windows::Forms::Button());
			this->txt99 = (gcnew System::Windows::Forms::TextBox());
			this->txt98 = (gcnew System::Windows::Forms::TextBox());
			this->txt97 = (gcnew System::Windows::Forms::TextBox());
			this->txt96 = (gcnew System::Windows::Forms::TextBox());
			this->txt95 = (gcnew System::Windows::Forms::TextBox());
			this->txt94 = (gcnew System::Windows::Forms::TextBox());
			this->txt93 = (gcnew System::Windows::Forms::TextBox());
			this->txt92 = (gcnew System::Windows::Forms::TextBox());
			this->txt91 = (gcnew System::Windows::Forms::TextBox());
			this->txt89 = (gcnew System::Windows::Forms::TextBox());
			this->txt88 = (gcnew System::Windows::Forms::TextBox());
			this->txt87 = (gcnew System::Windows::Forms::TextBox());
			this->txt86 = (gcnew System::Windows::Forms::TextBox());
			this->txt85 = (gcnew System::Windows::Forms::TextBox());
			this->txt84 = (gcnew System::Windows::Forms::TextBox());
			this->txt83 = (gcnew System::Windows::Forms::TextBox());
			this->txt82 = (gcnew System::Windows::Forms::TextBox());
			this->txt81 = (gcnew System::Windows::Forms::TextBox());
			this->txt79 = (gcnew System::Windows::Forms::TextBox());
			this->txt78 = (gcnew System::Windows::Forms::TextBox());
			this->txt77 = (gcnew System::Windows::Forms::TextBox());
			this->txt76 = (gcnew System::Windows::Forms::TextBox());
			this->txt75 = (gcnew System::Windows::Forms::TextBox());
			this->txt74 = (gcnew System::Windows::Forms::TextBox());
			this->txt73 = (gcnew System::Windows::Forms::TextBox());
			this->txt72 = (gcnew System::Windows::Forms::TextBox());
			this->txt71 = (gcnew System::Windows::Forms::TextBox());
			this->txt69 = (gcnew System::Windows::Forms::TextBox());
			this->txt68 = (gcnew System::Windows::Forms::TextBox());
			this->txt67 = (gcnew System::Windows::Forms::TextBox());
			this->txt66 = (gcnew System::Windows::Forms::TextBox());
			this->txt65 = (gcnew System::Windows::Forms::TextBox());
			this->txt64 = (gcnew System::Windows::Forms::TextBox());
			this->txt63 = (gcnew System::Windows::Forms::TextBox());
			this->txt62 = (gcnew System::Windows::Forms::TextBox());
			this->txt61 = (gcnew System::Windows::Forms::TextBox());
			this->txt59 = (gcnew System::Windows::Forms::TextBox());
			this->txt58 = (gcnew System::Windows::Forms::TextBox());
			this->txt57 = (gcnew System::Windows::Forms::TextBox());
			this->txt56 = (gcnew System::Windows::Forms::TextBox());
			this->txt55 = (gcnew System::Windows::Forms::TextBox());
			this->txt54 = (gcnew System::Windows::Forms::TextBox());
			this->txt53 = (gcnew System::Windows::Forms::TextBox());
			this->txt52 = (gcnew System::Windows::Forms::TextBox());
			this->txt51 = (gcnew System::Windows::Forms::TextBox());
			this->txt49 = (gcnew System::Windows::Forms::TextBox());
			this->txt48 = (gcnew System::Windows::Forms::TextBox());
			this->txt47 = (gcnew System::Windows::Forms::TextBox());
			this->txt46 = (gcnew System::Windows::Forms::TextBox());
			this->txt45 = (gcnew System::Windows::Forms::TextBox());
			this->txt44 = (gcnew System::Windows::Forms::TextBox());
			this->txt43 = (gcnew System::Windows::Forms::TextBox());
			this->txt42 = (gcnew System::Windows::Forms::TextBox());
			this->txt41 = (gcnew System::Windows::Forms::TextBox());
			this->txt39 = (gcnew System::Windows::Forms::TextBox());
			this->txt38 = (gcnew System::Windows::Forms::TextBox());
			this->txt37 = (gcnew System::Windows::Forms::TextBox());
			this->txt36 = (gcnew System::Windows::Forms::TextBox());
			this->txt35 = (gcnew System::Windows::Forms::TextBox());
			this->txt34 = (gcnew System::Windows::Forms::TextBox());
			this->txt33 = (gcnew System::Windows::Forms::TextBox());
			this->txt32 = (gcnew System::Windows::Forms::TextBox());
			this->txt31 = (gcnew System::Windows::Forms::TextBox());
			this->txt29 = (gcnew System::Windows::Forms::TextBox());
			this->txt28 = (gcnew System::Windows::Forms::TextBox());
			this->txt27 = (gcnew System::Windows::Forms::TextBox());
			this->txt26 = (gcnew System::Windows::Forms::TextBox());
			this->txt25 = (gcnew System::Windows::Forms::TextBox());
			this->txt24 = (gcnew System::Windows::Forms::TextBox());
			this->txt23 = (gcnew System::Windows::Forms::TextBox());
			this->txt22 = (gcn
1>------ Build started: Project: sudoku solver 3, Configuration: Debug Win32 ------
1>Compiling...
1>sudoku solver 3.cpp
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(975) : error C2065: 'string' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(975) : error C2146: syntax error : missing ';' before identifier 'mainarray'
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(975) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(976) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(977) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(978) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(979) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(980) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(981) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(982) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(983) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(984) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(986) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(987) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(988) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(989) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(990) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(991) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(992) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(993) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(994) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(996) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(997) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(998) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(999) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1000) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1001) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1002) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1003) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1004) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1006) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1007) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1008) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1009) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1010) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1011) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1012) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1013) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1014) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1016) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1017) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1018) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1019) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1020) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1021) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1022) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1023) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1024) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1026) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1027) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1028) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1029) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1030) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1031) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1032) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1033) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1034) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1036) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1037) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1038) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1039) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1040) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1041) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1042) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1043) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1044) : error C2065: 'mainarray' : undeclared identifier
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(1046) : error C2065: 'mainarray' : undeclared identifier
1>c:\u

One problem is that you included <string> but failed to specify std namespace. line 975: std::string blabla

I'm aware of that,

the declaration at the top followed by "using namespace std;" but I am unsure of where the declaration goes in this circumstance.

If I add it in above line 974 I get the following error:

<all errors deleted and saved as attachment>

Attachments
1>------ Build started: Project: sudoku solver 3, Configuration: Debug Win32 ------
1>Compiling...
1>sudoku solver 3.cpp
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(975) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'System::String ^' (or there is no acceptable conversion)
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(914): could be 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const std::basic_string<_Elem,_Traits,_Ax> &)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(919): or       'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const _Elem *)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(924): or       'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(_Elem)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        while trying to match the argument list '(std::string, System::String ^)'
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(976) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'System::String ^' (or there is no acceptable conversion)
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(914): could be 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const std::basic_string<_Elem,_Traits,_Ax> &)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(919): or       'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const _Elem *)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(924): or       'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(_Elem)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        while trying to match the argument list '(std::string, System::String ^)'
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(977) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'System::String ^' (or there is no acceptable conversion)
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(914): could be 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const std::basic_string<_Elem,_Traits,_Ax> &)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(919): or       'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const _Elem *)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(924): or       'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(_Elem)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        while trying to match the argument list '(std::string, System::String ^)'
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(978) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'System::String ^' (or there is no acceptable conversion)
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(914): could be 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const std::basic_string<_Elem,_Traits,_Ax> &)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(919): or       'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const _Elem *)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(924): or       'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(_Elem)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        while trying to match the argument list '(std::string, System::String ^)'
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(979) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'System::String ^' (or there is no acceptable conversion)
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(914): could be 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const std::basic_string<_Elem,_Traits,_Ax> &)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(919): or       'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const _Elem *)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(924): or       'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(_Elem)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        while trying to match the argument list '(std::string, System::String ^)'
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(980) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'System::String ^' (or there is no acceptable conversion)
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(914): could be 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const std::basic_string<_Elem,_Traits,_Ax> &)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(919): or       'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const _Elem *)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(924): or       'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(_Elem)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        while trying to match the argument list '(std::string, System::String ^)'
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(981) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'System::String ^' (or there is no acceptable conversion)
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(914): could be 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const std::basic_string<_Elem,_Traits,_Ax> &)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(919): or       'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(const _Elem *)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        C:\Program Files\Programming\Visual Studio 2008\VC\include\xstring(924): or       'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::operator =(_Elem)'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>        while trying to match the argument list '(std::string, System::String ^)'
1>c:\users\dan\documents\visual studio 2008\projects\sudoku solver 3\sudoku solver 3\Form1.h(982) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'System::String ^' (or there is no acceptable conversi

I think I vaguely understand the article but fail to see how I can implement that in my code. Sorry for the noobishness... :icon_rolleyes:

This article has been dead for over six months. Start a new discussion instead.