Beginners (Page 90)

Accessing Sub Strings
If I have an array of type string, and each of its element is made up of multiple sub strings as wel...
[1 reply] : Sure. Use string::find_first_of() to locate the space between words. ... (by AbstractionAnon)
need help understanding
have some trouble understanding this bit of this code #include<iostream> using nam...
[2 replies] Last: t*= 2 ; Doesn't do anything. Huh? t*= 2 ; is a perfectly accep... (by AbstractionAnon)
What is <iostream>?
Can you please explain me what is meant by #include <iostream> using namespace std; int main ()...
[5 replies] Last: Thanks all (by Khan2020)
trying to create a fraction
error no matching function for call to 'Fraction::Output()' not sure if im using constructors the co...
[1 reply] : Your declaration for Output says it takes two doubles. void Output(d... (by AbstractionAnon)
Plink issues!!
Hello friends, I have written some code for the game plinko. All of it works as expected and as req...
[no replies]
by HG319
Hash Tables
I having trouble with some hashing. We are given the hash class and within the class we need to fig...
[no replies]
Difference between vector<Name_of_class *name_of_variable> and vector<Name_of_class name_of_variable>
Hello there! :D I think the title says it all, so does anyone who knows be willing to help me?
[2 replies] Last: I found this that explains it a little more... You can create the ob... (by pearlyman)
First Program printing problem
Hello, I wrote my first program, and although the first printing is ok the second one is someth...
[1 reply] : Where to begin?? int i,s=0,flag=0,n=1,right=0; // Seriously? in... (by pearlyman)
need help with constructor
getting error conversion from'std::vector<std::basic_string<char> ' to non-scalar type 'std::string ...
[5 replies] Last: working on these functions right now SoS() ; The default constructo... (by xCriminialKingx)
Help With Simple Program
I need to create a simple program that takes a phrase and scrambles the letters all up and or unscra...
[2 replies] Last: Well this assignment uses automatic submission and grading and the hea... (by hpardo11)
Help me (1,2)
How can i make a function that open cmd.exe with something in it? #include <iostream> #include <win...
[20 replies] Last: But can you make it to backspace (by RazvanJackson)
C program to check if in array are prime numbers
Hello i want to build program to check if numbers in array are prime my code is #include <stdio.h...
[1 reply] : You probably want to add special handling for inputs less than 2. (by LB)
Please help
I was trying to make a project with no help where ai can choose a letter or number broadcast and if ...
[3 replies] Last: thanks for the help... worked on my I pad... but when I run the fixed ... (by Generalbiiff)
how do i count the number of values entered
write a program that reads ten integer numbers and outputs the number of inputs which are greater th...
[1 reply] : You don't need to store the 10 values at all. Use a looping structure ... (by LB)
How can I count the length of the word by strlen
I'm the beginner and I'm learning C++ .My teacher order me to make a program to find the longest nam...
[3 replies] Last: I think (by DrawerC)
by franc0
[1 reply] : The code you have shown uses both Java syntax and C++ syntax. Are you ... (by LB)
by yehozz
Arrays with functions
I am trying to complete this program, but i cant get it to work. So i should create this function w...
[9 replies] Last: Ooooh i got it now, Thank you so much! (by yehozz)
how to retrieve the value from the original integer
how to retrieve the value from the original integer. Thought process: Probably better to use a dyn...
[1 reply] : You forgot to ask a question. Questions end with question marks "?". (by LB)
Passing STL vectors of type object
Hey forums. I'm attempting to pass a std::vector<object> memory address to a method and then assi...
[1 reply] : I'm not sure why you even need pointers at all here - why not use refe... (by LB)
Assignment Operator Copies negative values instead of actual values
I'm writing the overload for the assignment operator for an object that has a pointer to an int arra...
[2 replies] Last: If this == &other, then loop breaks : other.scoreArray is lost on line... (by MiiNiPaa)
Pages: 1... 8889909192... 106
  Archived months: [sep2015]

Cannot post in this page. To post a new message, go to the first page.