"C"字符串错误是什么意思? [英] whats meant by 'C' string error?

查看:174
本文介绍了"C"字符串错误是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi1

我正在做一个名为e银行刺激计划的项目,因为我必须连接
使用数据库(sql)的服务器(我的系统).我创建了数据表.当我在Visual Studio 6.0中运行程序时,它没有提供任何错误,但是当我在Visual Studio 2005中运行它时,它提供了"C" ''字符串错误.我想知道该错误是什么以及如何消除该错误.

hi1

I am doing a project called e banking stimulator for that i have to connect
the server(my system) with database(sql).I had created the data table.when i run the programe in visual studio 6.0 it didn''t provide any error but when i run it in visual studio 2005 it provides ''C'' string error. I want to know whats that error and how to eradicate that error.

推荐答案

这意味着您的代码不是有效的C ++,或者您正在使用CString类,已经改变.如果您发布了一些代码以及ACTUAL错误消息,那么也许我们可以为您做功课.
That means your code is not valid C++, or you''re using the CString class which has changed. If you posted some code, and the ACTUAL error message, then perhaps we could help with your homework.


通常,编译器报告的错误非常有用.
您应该仔细阅读错误消息的实际含义以及它所指向的代码行.之后,如果您仍然卡住,请尝试在此处发布确切的错误消息.
:)
Usually, compiler reported errors are pretty informative.
You should read carefully what actually the error message says, and which line of code it points to. Afterwards, if you are still stuck, then try to post the exact error message here.
:)


这篇关于"C"字符串错误是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆