Beginners (Page 93)

Segmentation Error, Etc...
Can someone explain why I get a segmentation error in this code? I am a newbie, student, and just tr...
[5 replies] Last: You're still making an out of bounds reference. You missed my earlie... (by AbstractionAnon)
Error: Expression preceding parantheses
Hello. I am writing functions for determining wind chill. Everything has been working, but on th...
[1 reply] : pow is a function, not an operator: std::pow(windsp, 0.16) ... (by LB)
by Marth
For Loop, Array Question
What exactly is going on with this for loop? is this determining the amount of indices in the array...
[3 replies] Last: thanks for the help! (by Marth)
file read/write issues.
I am writing a code for a game, and I want the game to store a win/loss record in a text file... but...
[3 replies] Last: I caught that mistake, changed it. Still wont work. (by CaptainBierstein)
by Marth
Help understanding snippet
Prof give sample code, but do not understand what's going on up in here: Entire code at bottom; ...
[2 replies] Last: Thanks, very helpful. (by Marth)
by aqum
I have a new question on how to make the program start from the beginning
This is what I have so far. So basically I need Fine to display whatever number as long as it's belo...
[8 replies] Last: [quote=pearlyman] Without a rewrite of your code (Strongly suggested) ... (by AbstractionAnon)
int main()?
As we know #include <iostream> using namespace std; int main() { cout << "Hello worl...
[2 replies] Last: (by LB)
2D array to 1D array
Is it possible to assign the elements of a 2D array to a 1D array? I'm making a card game where I HA...
[1 reply] : Don't mark your topic as solved unless it actually is solved. Just pr... (by LB)
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)
Pages: 1... 9192939495... 109
  Archived months: [sep2015]

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