Beginners - November 2017 (Page 17)

Game similar to Plinko
 
This game works very similar to plinko. Except every time the ball/disk falls it picks up points. (m...
[1 reply] : If you're getting crashes while working with vectors/arrays, then chan... (by Ganado)
by Joello
C++ homework question
 
So the first section of code is working you can ignore that. The problem im having is the second se...
[1 reply] : Something like this - not tested. [code firstline=45] int i = ... (by Chervil)
C++
 
Write a program that asks users to type 10 integers and write the number of occurance of the biggest...
[2 replies] Last: Hello Bilal shah, Welcome to the forum. As you can see Your original... (by Handy Andy)
by Hanske
Running a loop for four times, with diffe
 
Hello, How can I run for loop for (int i=0; i<=n; i++) for four different values for n?...
[4 replies] Last: Or perhaps: #include <iostream> int main() { for ( int n : {10, ... (by Chervil)
by Delcho
Struct output problem
 
Can someone tell me how to change the code so the input to be like that: ||nick ...
[2 replies] Last: Yes I know but I think that the people won't understand what I mean wi... (by Delcho)
What is difference between calling and returning a function.
 
what is difference between calling a function from Main function and returing value from different f...
[2 replies] Last: calling a function from Main function Note: while main() is a bit sp... (by keskiverto)
by Rednib
undefined reference to ...
 
Hello Guys, i'm new to C/C++ (since today) but not new to programming in general (C#, lua, basic....
[6 replies] Last: Why does it have to be so complicated. Programming in C++ and C and ... (by Repeater)
something editor codeblock
 
need a master abour editor codeblock How can i turn this rectangle off https://drive.google.com/o...
[2 replies] Last: no it's not... it is auto complete brace... and i just want to turn it... (by phongvants123)
displaying formatted data file
 
I had already marked my last post as solved, so I'm posting a new message although it's related to t...
[2 replies] Last: Thanks again Yolanda! That did it. (by Billyin4C)
Question about templates and function overloading
 
I have a function that I am passing a character to, however I want the function to return a an Inte...
[3 replies] Last: Ok, I was under the impression that a function could only accept and ... (by mbozzi)
writing to a data file
 
I'm having some issues with my program and don't know where to look really. The user is supposed to...
[5 replies] Last: Thanks whitenite1! I do believe that easy fix signals bedtime. (by Billyin4C)
What is a Static Project and how can I run it
 
I'm using Dev C++. I needed to use a static library for the first time, not a console application. M...
[1 reply] : You have the library (.a file) Now you just need to link it inside ano... (by closed account DoLCX9L8)
Checkers Access Violation
 
Is there anything wrong with the below code? I am getting an access violation, and I think it has so...
[2 replies] Last: Solved, for anyone wondering, board need to be of not type char. ... (by Outlaw782)
by f2200j
printing prime numbers
 
so basically the program prints the prime numbers for integers from 1 to 100. there should be 10 num...
[3 replies] Last: that worked. thank you (by f2200j)
by Delcho
Problem with the output
 
Can someone tell me how to change the code so the input to be like that: ||nick ...
[5 replies] Last: You have: std::string name = "foo"; int val = 7; std::cout << std::ri... (by keskiverto)
password masking
 
Where am i wrong? #include<iostream> #include<conio.h> using namespace std; int main() {...
[7 replies] Last: syashsing234, are you running http://www.cplusplus.com/forum/beginner/... (by Ganado)
Simple String Class Segmentation Fault
 
I am doing a simple string class program using dynamic allocation and c-strings. I can get everythi...
[2 replies] Last: Double post - http://www.cplusplus.com/forum/general/224928/ (by Thomas1965)
Function Trouble
 
I wrote a program that is suppose to get two integers between the parameters. The second number need...
[2 replies] Last: Hello gtrruff, If you are finished put a green check mark on the subj... (by Handy Andy)
Stack ADT and linked list implementation.
 
#ifndef MYSTACK_H #define MYSTACK_H #include <iostream> #include <stdlib.h> using namespace st...
[3 replies] Last: The problem is I am not allowed to change the skeleton of the header f... (by TheNewBoston)
by ebba
Arrays, homework problem
 
Hello! I'm a newbie, let me know if I post anything against etiquette. My program keeps crashing th...
[5 replies] Last: I agree with Chervil. Doing what you said does not compile on my machi... (by Manga)
November 2017 Pages: 1... 1516171819... 33
  Archived months: [oct2017] [dec2017]

This is an archived page. To post a new message, go to the current page.