General C++ Programming (Page 30)

by mrpeed
Good Books for a C++ Beginner
Hello, can anyone recommend a good book for learning C++. I understand the language is always changi...
[6 replies] Last: I would second what BHX said. SFML is easier, in my opinion, to learn... (by JayhawkZombie)
Can Somebody help me
Assume you are trying to rank NFL teams based on the percentage of games they win in a season. Th...
[1 reply] : please do not double post (by SamuelAdams)
by Frenzy
getline(); only executes once
Hello, this is my first time using getline() to read in a string, I normally just use Cin, but that ...
[1 reply] : (by kemort)
Returning struct from function is not working for me.
Returning struct from my function getPosition is not working. Here is my code: struct Position { ...
[3 replies] Last: getPosition unknown override specifier (by Putarda)
Going out of scope and I don't know how to fix it.. Help me!
Okay, so I'm suppose to modify and older program so that it increments the date set by the user.. Wh...
[3 replies] Last: Yes, nextDay is suppose to increase day by 1 and then when the day hit... (by newbcoding)
Learning C++11 / c++03?
Hello, I am following a PDF-tutorial 'Jumping into C++ (Alex Allain)', that does not cover C++11...
[2 replies] Last: Thanks man! Appreciate your answer! I'll keep going then =D Oh alright... (by Willo123)
store 2 values in std::vector
Hi, I need to store x & y coordinates of point(of type double) in arraylist, then I have to sort th...
[2 replies] Last: I have one more problem, std::sort(arr.begin(), arr.end()); st... (by sam1989)
number generator questions
#include <iostream> #include <cstdio> #include <cstdlib> #include <ctime> #include <algorith...
[7 replies] Last: void gen(int num ) { for (int x=0; x<10;x=x+1) { num = x+... (by glennford49)
C++ Map Binary Tree
Hello! I have a hard time understanding the question from Alex Allains book "Jumping into C++", 6...
[17 replies] Last: @keskiverto Hmm alright, I get the first part, but do you mind showing... (by Willo123)
Reading specific lines
Hi. I have a program that I'm trying to read through a file, but the tricky part is that I'm only al...
[5 replies] Last: Any help anyone?? (by Fabioc99)
Array of structure Print
Guys i am trying to print an array of structure but all in vain. The error i am receiving is that no...
[2 replies] Last: thank you very much #gentleguy and #shadder. it worked. (y) sorry guys... (by Salman0391992)
by AcarX
Parsing logical expressions
Hello. I'm trying to write an experimental database and stuck with parsing logical expressions. For ...
[5 replies] Last: Hi. Just an opinion. Trying to build a parser is not an easy taks. Why... (by ocreus)
Arraylist in c++
hi, I am looking equivalent of below in c++ ArrayList neww = new ArrayList(); neww....
[3 replies] Last: Thanks to Everyone! (by sam1989)
How to implement a general tree?
Hey guys, I know how to implement a BST, but I have no idea how to implement a general tree. Could a...
[1 reply] : What is a "general tree"? We can help you (find resources to) imple... (by mbozzi)
My solution won't work. Had to use typecasting because x was previously used as int. #include ...
[6 replies] Last: You said, It's a 3 part assignment. So when I do int x it would say r... (by closed account GwU9E3v7)
(HW) Using array for a maze to get an object through to winning area
So I am trying to complete an assignment where we must move an object through a maze of 0's and 1's ...
[2 replies] Last: So I do not know what recursion is, and what would the code actually l... (by jlmccart01)
How do i create a Pig Latin Converter program that will read in a file called "" of E...
[1 reply] : It appears you posted the same problem here: (by AbstractionAnon)
How make IAT Hook in a application using a injected dll
Hi, i'm wanting make IAT Hook in a executable application using a injected dll and already read in ...
[1 reply] : Why don't you just use a hooking library? (by helios)
identify intersection & correct
Hi, I have to write a program, which will identify shape(this is combination of rectangle & traing...
[3 replies] Last: Do you mean something like: C2.x = C1.x + C1.radius + C2.radius; C3.x... (by keskiverto)
Username and password system
I am working on a username/password system, and I don't know how to do file saving. If anyone coul...
[1 reply] : Hi, please use code tags ... (by shadder)
Pages: 1... 2829303132... 35
  Archived months: [aug2016]

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