General C++ Programming (Page 2)

Error In A Program For Hangman Function
Hello, I am wondering if anyone could help me out on what the error is for the following program, I ...
[4 replies] Last: You have been asked to use code tags. PLEASE DO SO. http://www.cplusp... (by AbstractionAnon)
by Kalcor
The use of this condition
DZY loves chessboard, and he enjoys playing with it. He has a chessboard of n rows and m columns. ...
[6 replies] Last: Thanks everybody! (by Kalcor)
by SoloCc
I need help Fixing this code
#include <iostream> #include <cstdlib> #include <ctime> #include <vector> #include <fstream> #inclu...
[3 replies] Last: What is the problem anyway? can't seem to detect it by myself when tri... (by benhart)
Macro usage with variables names
Hi, I am trying to debug a software by printing out the values of variables. However, I am having s...
[6 replies] Last: I don't have the definition of Vcordic_pipelined, but the following co... (by AbstractionAnon)
by Kalcor
Simplifying this proof/method
Question: Drazil is playing a math game with Varda. Let's define for positive integer x as a prod...
[1 reply] : Understood it, marked as solved! (by Kalcor)
[C3861 error] Identificator not found.
I have a file "HSlider.h" it is using "Draw.h",where I defined my functions to use them . But compil...
[6 replies] Last: 1)I tried to fix it myself,but no big changes.I just moved headers to ... (by bJiNg94)
2 D array of list<char> both static and dynamic
Can someone help me out with defining 2D array of lists. Given a string I was asked to print longes...
[no replies]
Class Assignment File Saving (LOOPS)
Hi! I need help with saving data into a text file. What I did won't work and I'm not sure what I'm d...
[2 replies] Last: Duplicate: ... (by TheIdeasMan)
EXC_BAD_ACCESS(code=1 ,address=0*8) in getting vector.size() function call
i am using c++ in Xcode, i had import <vector> in .hpp file, all other function working properly i...
[1 reply] : Hi, Did you create muteevent with new ? deleting something not creat... (by TheIdeasMan)
will constructor automatic inherited by child class?
[2 replies] Last: Just to let all know the OP is a known troll. (by TheIdeasMan)
Hi, Am trying to solve this problem that unfortunately has surfaced in my program. My program is to...
[6 replies] Last: Will apply it and see. It begs the question why the system file isn't ... (by technologist)
Error, request for member is of non-class type?
while(!input.eof()){ input.get(search, 100, '\n'); if(search.find(keyword) != string::npos){ cout...
[1 reply] : but if anybody knows why I can't run str.find It fails because "sear... (by jlb)
Text based rpg examples
Hi, I would like to show you guys a text based rpg that my friend and I made, it involves 2 guys d...
[7 replies] Last: I think there is just too much recursion in your program, even without... (by doug4)
Array of files problem
i am currently studying files i c++. Can someone tell me where is the problem in this simple code. ...
[2 replies] Last: 1. What does this code have to do with files? 2. Please edit you po... (by doug4)
by Domcys
Need help
Hello guys, i'm new here and looking for help. I am stuck with one assigment, and run out of time wi...
[4 replies] Last: I am not sure your numbers version works like you think it does. You ... (by doug4)
The purpose of classes
This isn't so much of a technical question as it is a question on programming practices. I unders...
[2 replies] Last: It all depends on what your program is doing. There are few programs ... (by AbstractionAnon)
Absolutely LOST in making Snake
As a diversion from my regular learning, I was making a game of Snake using NCurses. However, my Sna...
[2 replies] Last: Thank you, you are a genius. I can't believe I didn't realize that mis... (by RUNNER PRO AGARIO)
My problem here is that, it cant display the name and average of student with the highest and lowest average. Thank you guys!
#include<iostream> using namespace std; struct student { char name ; int score ; float ...
[7 replies] Last: Thank you guys for the help! (by ImCristal)
by Kalcor
We know that prime numbers are positive integers that have exactly two distinct positive divisors. ...
[1 reply] : Hint 1: Sieve of Eratosthenes (by JLBorges)
I'm creating a udp server code in C++ but I keep getting an error in my if statement with "sscantf"...
[2 replies] Last: you can use c++ strings just as easily here. Or stringstreams. Or a... (by jonnin)
Pages: 1234... 29
  Archived months: [mar2017]

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