Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
About Me

IT Director

Favorite Forums
Favorite Tags
c++ x 5
c x 1
Member Avatar for Daywalker46410

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 the Left(), Right(), and Mid() Functions. Is there something similar …

Member Avatar for Narue
0
3K
Member Avatar for Daywalker46410

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 Console functions.

0
135
Member Avatar for Daywalker46410

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 the conversions are working. Anyone have any suggestions …

Member Avatar for Valmian
0
151
Member Avatar for Daywalker46410

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. [code] #include "stdafx.h" #using <mscorlib.dll> using namespace System; int _tmain() { String *strString; int intLength; Console::Write(S"Enter a String "); strString = Console::ReadLine(); Console::Write(strString); intLength = strlen(strString); …

Member Avatar for Mike29936
0
176