Forum: C++ Nov 10th, 2003 |
| Replies: 0 Views: 8,057 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 Nov 1st, 2003 |
| Replies: 1 Views: 5,363 I have a simple program that has retreived the first number of a 12 number set from a text file. I am trying to convert this character array into a double or float so I can work with it, but none of... |
Forum: C++ Sep 30th, 2003 |
| Replies: 9 Views: 9,013 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,013 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,254 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,254 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... |