General C++ Programming - March 2017 (Page 16)

Alphabetical HELP
 
I can input names and gpa, but when I finished inputting names and gpas, it will crash. Help #include <iostream> #include <algorithm> #include <string> #inc...
[2 replies] Last: ohh sorry about the format. Thanks dude, it worked :D. (by MDLC1997)
function Pointer
 
Hi all, I would like to clarify one of my doubts in C programming. From (http://www.cplusplus.com/doc/tutorial/pointers/) pointers to function topic, "int (...
[4 replies] Last: Thanks JLBorges and gunnerfunner !!! (by petertun)
No matching function in template instantiation despite it being there
 
To implement a custom tuple, I have written the following declarations to access an element: template<int N, /// non-const version typename... T> ...
[2 replies] Last: Thanks for the reply, Borges. Actually, the error (in this respect) l... (by SSteven)
Aborting in......
 
Hello, everyone...I am stuck with yet another problem...please help me out here I want to display something as follows... Aborting in 7 seconds... Abort...
[11 replies] Last: @whitenite1 thanks for your reply... you solved my problem very well ... (by kinjal2209)
by Khay
Doing some little calculation and tabulating the answers
 
Hi guys, Pls, I've been trying to write a programming code that will calculate different percentage (5%, 10%, 15%) of different amount of money inputted by the ...
[18 replies] Last: I don't know if it's possible to run it on Android as an Android App, ... (by Khay)
Counting
 
I have a major problem with my project. This is the explanation of the project. I don't know where to start, could anyone help me? 1. Complete counts.cpp ...
[11 replies] Last: Ok I got this for the first part. but there is a bug somewhere I don't... (by Sahba91)
by husain
sort names ??
 
Hi.. I create an program to enter names of products and price... i did that by using arrays and while loop menu. I want to do an additional things, wh...
[2 replies] Last: can u explain for me by using code ? (by husain)
How to store names using arrays
 
I need help with my project in which I need to create a simulated game of bowling. I specifically need help with asking how many users will be playing and then ...
[1 reply] : Create an array that can hold five names, and use only the first n ele... (by JLBorges)
Updating node in linked list
 
Trying to update a node in a linked list with each node containing a course id, title, prerequisites, and # of credits. Function is the following: SOLVED ...
[3 replies] Last: Please don't delete the content of your posts after your question is a... (by cire)
by kmce
No appropriate default constructor available error
 
I am trying to make a lunar lander type game in opengl/c++ but i keep getting the "No appropriate default constructor available error, and i cant figure out why...
[3 replies] Last: You could do either of those. The second would require a correspondin... (by cire)
how to tell if a number is octal (1,2)
 
How do I tell if a number is in octal without the regex library? I need to do it for this: // Exercise Specifications: /** * Write a program called multi...
[20 replies] Last: Sorry for double-post, but I got it to work. Here: // multi_input.c... (by DragonOsman)
by kobs21
Tetris Program
 
Hello everyone! I am working on a Tetris game and there is one major issue that keeps occuring. Whenever I press the left key or right key to move the tetris...
[1 reply] : void dropRow(TetrisShape tetShape) { //Check to see if bottom row is... (by kobs21)
Homework Help!
 
Hello Programmers! I am currently enrolled in school and use the book "starting with c++ 8th edition" and I have a homwork assignment from Chapter 7 which is "I...
[4 replies] Last: [quote=mbozzi]Writing a "Date" class could be a surprisingly difficult... (by Mantorr22)
const reference parameter that allows read-only access
 
can somebody tell me the meaning of this "The function should use const reference parameter that allows read-only access to reference parameter without wasting ...
[3 replies] Last: Yeah, it's correct. (by mbozzi)
Factorial program prints twice
 
Got this problem that program i've got here prints out answer twice. If i'd explain its something like.. You input 3 and it will print out Factorial 1 Fac...
[9 replies] Last: Linux KLIXX201WIN006W 4.2.0-27-generic #32~14.04.1-Ubuntu It's uni'... (by dziugys1)
printing shapes in hangman
 
im using a file to print shapes for hangman and im passing my shapes as an array how would i do that? would i need to fill the shape info shapes ={}
[3 replies] Last: Ok, so show us a bit of code for that function at least. Can't help wi... (by newbieg)
Checking if the input-password was correct
 
My program was only for me until now. I got asked to make it public for my school, but since now i just compare useriname and password like if inputu == usern...
[1 reply] : I got asked to make it public for my school I don't have any contex... (by xismn)
Locating Google Ad-Sense popup on YouTube video. javascript:tx('b')
 
My friend and I are working on a program and need a Little Help. It is sort of a like an ad-blocker for YouTube ads directly because we know that ad-block+ does...
[no replies]
Switching to graphics
 
I've been working on a text based rpg for a while now and I want to start using graphics. Currently everything is in the command prompt and I use the windows li...
[5 replies] Last: I would suggest Qt for your situation as well. Look up on youtube how ... (by newbieg)
Synchronizaton. What are the best options to provide synchronization for member class functions in C++ 14 or C++ 11
 
Hi ppl :), I am looking for deadlock free and easy synchronization constructs to provide synchronization for class member functions. Please consider the fol...
[2 replies] Last: Thanks @JLBorges :) (by kapil2905)
March 2017 Pages: 1... 141516171819
  Archived months: [feb2017] [apr2017]

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