Forum: C++ Nov 10th, 2003 |
| Replies: 0 Views: 8,100 How can you set the precision of a floating point value for output using the Console::Write method? In the past, with cout, you just used setprecision() but that doesn't seem to work with the... |
Forum: C++ Sep 30th, 2003 |
| Replies: 9 Views: 9,109 When I use sizeof(strString) I get an error that says "Cannot apply sizeof to managed type 'System::String'." |
Forum: C++ Sep 29th, 2003 |
| Replies: 9 Views: 9,109 Here's my code. I just want to return the length of a string. How do I do that? Any assistance would be greatly appreciated.
#include "stdafx.h"
#using <mscorlib.dll>
using namespace... |
Forum: C++ Sep 16th, 2003 |
| Replies: 11 Views: 48,500 I'm assuming I create these as functions, but I get an error when calling them.
error C2665: 'std::right' : none of the 2 overloads can convert parameter 1 from type 'std::string' |
Forum: C++ Sep 15th, 2003 |
| Replies: 11 Views: 48,500 I apologize up front; I'm a VB Programmer trying to pick up C++. I have a very simple program that takes a string input from the user. How can I look at a specific character in that string? VB has... |