Skip to main content
gamedev.net
🔒 Locked

Basic C++ Stuff

Started by VoytekG 0 replies 150+ views
Original Post
VoytekG
VoytekG
Hey! Does anyone know any really good websites for C++ information? Other than that, can someone help me learn how to get the text in an EditBox and put it into a string variable? Thanks, Voytek
http://www.liquidsoftware.cjb.netGames, apps, and more!
Oluseyi
Oluseyi

char buffer[1024];
int count = SendMessage( hEditCtrl, EM_LINELENGTH, 0, 0 );
memset( buffer, &count, sizeof(WORD) );
int err = SendMessage( hEditCtrl, EM_GETLINE, 0,
reinterpret_cast<LPARAM>( buffer ) );
// buffer continas edit control text


I find that there are exceedingly few websites for accurate and up-to-date C++ information. cpp-home and cplusplus.com still use old headers, meaning they are teaching non-standard functionality and behavior. I''ve been getting in touch with some of them to try to change this, and have met with some success. I recommend using them purely for language syntax and semantics, and resources like the SGI STL site (see sig) for accurate information on the STL (and IOStreams, to some extent). MSDN (see sig) is also a good choice.

[ GDNet Start Here | GDNet Search Tool | GDNet FAQ | MS RTFM [MSDN] | SGI STL Docs | Google! | Asking Smart Questions | Internet Acronyms ]
Thanks to Kylotan for the idea!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.