158 Topics

Member Avatar for
Member Avatar for rsaska

Hello, I am using Visual Studio 2008 to program in C++. My program needs to read in a line, break it into two strings. It seems that the String Toolkit Library (StrTk) ([url]http://www.partow.net/programming/strtk/index.html[/url]) will enable this. However, I am unable to figure out how to physically add the library files …

Member Avatar for rsaska
0
160
Member Avatar for grib

I'm attempting to use a specialized function to search an array of c strings for the longest (or first tied for longest) member. Right now, I'm getting [inlinecode]line 87 error: invalid conversion from `char' to `const char*'|[/inlinecode] on my comparison statement. If I switch the templates' inputs to const, I …

Member Avatar for DavidRead
1
120
Member Avatar for andrewktmeikle

Hello, I'm having a slight problem with my code. The task is to create an indexing program, similar to the ones the google uses. The problem i'm having is that we have to remove the common ending from the words left after the removal of stop_words(which is a list variable …

Member Avatar for andrewktmeikle
0
2K
Member Avatar for revenge2

Hello there, I have a set of variables that need to be overwritten onto a certain [U]row[/U] on an multidimensional array (char array[100][80]; ) of [U]strings[/U]. the variables are [U]integers[/U] and they need to be in the form [I]00:00:00,000 --> 00:00:00,000[/I] I don't know how overwrite the existing row and …

Member Avatar for Narue
0
103
Member Avatar for adunham1

Hi everyone! I'm a student taking an introduction to Python programming class and I'm in URGENT need of some help! Basically the program I need is to compute the "numeric value" of a name. Ex. a = 1, b = 2, c = 3, etc. So name abc = 6. …

Member Avatar for pysup
-1
112
Member Avatar for Wolf CCMLG

I am desperately need help converting my code into an OOP format. [B][I]Here is my code:[/I][/B] [CODE] #include <iostream> #include <string> #include <cstring> using namespace std; const int strLength = 141; char strArray[strLength]; char answer; bool quit; int charAmount; string line; void vowelCount(string); void consonantCount(string); void consonantCount(string line) { int …

Member Avatar for dkalita
0
174
Member Avatar for Vani3863

Hi :) I have this assignment for my first year programming module and one of the questions asks for a void function using string parameters. This confused the hell out of me, but I came up with this idea. Would someone please, please, please have a look at it and …

Member Avatar for Tom Gunn
0
2K
Member Avatar for Oritm

Hello all, I'm used to java programming and php. I'm trying to learn C++, but it's rather difficult for me. Basic in java: String message = "Test"; String temp = "This is a " + message; temp now contains "This is a Test". In c++ i tried everything, a + …

Member Avatar for Lerner
0
130

The End.