Wednesday, June 24, 2009
Tuesday, June 16, 2009
double to std::string
// double to std::string
stringstream doppler;
double x = 5.75;
doppler << x;
string s;
s = dop.str();
stringstream doppler;
double x = 5.75;
doppler << x;
string s;
s = dop.str();
Monday, June 15, 2009
Type Conversions
CString to double:
CString testString("12345.123");
double d = wcstod(testString, NULL);
CString to integer:
int i;
CString s;
i = _wtoi(s);
// All others:
CString testString("12345.123");
double d = wcstod(testString, NULL);
CString to integer:
int i;
CString s;
// Wide character formats:i = _wtoi(s);
// All others:
i = _atoi(s);
Thursday, April 2, 2009
PLL Locked!
Today my Matlab simulation of a PLL worked. I was able to lock onto a 16-QAM input signal that was complex rotated by PI/36. Matlab figures will be posted tomorrow :)
J.G.S.
J.G.S.
Tuesday, March 31, 2009
Convert CString to std::string
// This example demonstrates converting a CString to std::string.
// The example populates the CString with a CString returned
// from a CFileDialog object (file browser). The code was
// compiled as part of an MFC Application under Visual Studio
// 2008.
void get_pathname(std::string& string_pathname)
{
CFileDialog file_browser(true);
file_browser.DoModal();
CString cstring_pathname;
cstring_pathname = file_browser.GetPathName();
// Convert a TCHAR string to a LPCSTR.
CT2CA pszConvertedAnsiString(cstring_pathname);
// Set a std::string using the LPCSTR input.
string_pathname = pszConvertedAnsiString;
}
Friday, October 31, 2008
3 Software Developer Websites To Help You.
I attended a San Diego CSS Group Meetup yesteryesterday. We discussed CSS and reviewed some sites that use the technology. Several software developer websites were discussed. Here are three of them:

Boagworld - the "first" web developer podcast. For developers by developers.

Dropbox - use this site to store, sync, and share your files online. 2GB free.

Acid3 - this site allows you to test the standards compliance of your browser.

MoFuse - bonus site - allows you to launch and manage a mobile version of your website or blog.
Enjoy!

Boagworld - the "first" web developer podcast. For developers by developers.

Dropbox - use this site to store, sync, and share your files online. 2GB free.

Acid3 - this site allows you to test the standards compliance of your browser.

MoFuse - bonus site - allows you to launch and manage a mobile version of your website or blog.
Enjoy!
Wednesday, October 29, 2008
Updated Monitor & Control Web Inteface
After attending BarCamp LA and a San Diego Web Design Meetup I decided to implement a more user friendly web interface for the GPS receiver. Below are a couple screenshots of the new GUI including real time data graphs:






Subscribe to:
Posts (Atom)
