#Issue with MFC

7 messages · Page 1 of 1 (latest)

amber knoll
#

hello guys, i've got an issue with my MFC app, my homework is to create a car park, which allows me to add in Car objects(Reg.Number, Country, Year,Horsepower) , the issue im facing is that whenever i add the information about Reg.No. and Country - both which are declared as string, throw me an error that i need to input a positive integer? but it still adds the car to the car park, which makes no sense. interesting is that, even if i add a positive integer in the given boxes, it still throws the same error. im just lost ash now, could the problem lie in the properties of the edit control box? i attached a screenshot of what it throws me

dusty otterBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

#

@amber knoll

Screenshots!

Your message appears to contain screenshots but no code. Please send code and error messages in text instead of screenshots if applicable!

amber knoll
stiff tartan
#

This looks like C#, this is a C/C++ server

amber knoll
#

It’s C++

stiff tartan
#

Ahk myb