Click here to Skip to main content
15,910,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get value Pin
Richard MacCutchan5-May-18 5:47
mveRichard MacCutchan5-May-18 5:47 
GeneralRe: How to get value Pin
Vaclav_6-May-18 3:54
Vaclav_6-May-18 3:54 
GeneralRe: How to get value Pin
Richard MacCutchan6-May-18 4:48
mveRichard MacCutchan6-May-18 4:48 
GeneralRe: How to get value Pin
Vaclav_6-May-18 6:49
Vaclav_6-May-18 6:49 
QuestionWrapping c++ Pin
Member 129991324-May-18 22:48
Member 129991324-May-18 22:48 
AnswerRe: Wrapping c++ Pin
Richard MacCutchan5-May-18 1:26
mveRichard MacCutchan5-May-18 1:26 
GeneralRe: Wrapping c++ Pin
Member 129991325-May-18 5:06
Member 129991325-May-18 5:06 
GeneralRe: Wrapping c++ Pin
Richard MacCutchan5-May-18 5:42
mveRichard MacCutchan5-May-18 5:42 
QuestionMessage Closed Pin
2-May-18 23:33
Lapmangfpt2-May-18 23:33 
AnswerRe: help: list<struct> of list<string> Pin
Victor Nijegorodov2-May-18 23:57
Victor Nijegorodov2-May-18 23:57 
QuestionThe Breakpoint will not be hit the Source Code is different then the orignal Pin
ForNow30-Apr-18 16:08
ForNow30-Apr-18 16:08 
AnswerRe: The Breakpoint will not be hit the Source Code is different then the orignal Pin
Richard MacCutchan30-Apr-18 21:32
mveRichard MacCutchan30-Apr-18 21:32 
GeneralRe: The Breakpoint will not be hit the Source Code is different then the orignal Pin
ForNow1-May-18 15:53
ForNow1-May-18 15:53 
QuestionWhat are the best mocking frameworks available on Linux? Pin
Hila Berger29-Apr-18 2:13
Hila Berger29-Apr-18 2:13 
JokeRe: What are the best mocking frameworks available on Linux? Pin
Randor 29-Apr-18 15:32
professional Randor 29-Apr-18 15:32 
AnswerRe: What are the best mocking frameworks available on Linux? Pin
leon de boer29-Apr-18 17:10
leon de boer29-Apr-18 17:10 
AnswerRe: What are the best mocking frameworks available on Linux? Pin
IlanGreen1-May-18 2:37
IlanGreen1-May-18 2:37 
GeneralRe: What are the best mocking frameworks available on Linux? Pin
Hila Berger13-May-18 0:49
Hila Berger13-May-18 0:49 
GeneralRe: What are the best mocking frameworks available on Linux? Pin
IlanGreen13-May-18 1:15
IlanGreen13-May-18 1:15 
GeneralRe: What are the best mocking frameworks available on Linux? Pin
Hila Berger14-May-18 20:38
Hila Berger14-May-18 20:38 
QuestionInvalid operands to binary expression Pin
Member 1380291228-Apr-18 7:03
Member 1380291228-Apr-18 7:03 
I have this code, which works on CodeBlocks, but when I try to run it in visual studio code, I get and error saying:
invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char, char_traits<char> >') and 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char> >'))

this is the code:
#include <iostream>
using namespace std;

class field{
	public:
		void Create_Area(int area){
			string field[area][area];
			
			//assign "+ " to all rows and collums and print the area
			for(int y = 0; y < area; y++){
				for(int x = 0; x < area; x++){
					field[y][x] = "+ ";
					cout << field[y][x];
				}
				cout << endl;
			}
		}
};

What to do to fix this?
AnswerRe: Invalid operands to binary expression Pin
Richard MacCutchan28-Apr-18 22:18
mveRichard MacCutchan28-Apr-18 22:18 
GeneralRe: Invalid operands to binary expression Pin
Member 1380291229-Apr-18 10:21
Member 1380291229-Apr-18 10:21 
GeneralRe: Invalid operands to binary expression Pin
Richard MacCutchan29-Apr-18 21:02
mveRichard MacCutchan29-Apr-18 21:02 
GeneralRe: Invalid operands to binary expression Pin
Member 1486266714-Jun-20 2:38
Member 1486266714-Jun-20 2:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.