General C++ Programming (Page 31)

by Lauke
Conventional testing of arithmetic function
Hi Guys, I've implemented a set of C function style basically to perform arithmetic operation for...
[6 replies] Last: > But is there any bibliography which speaks about this kind of testin... (by JLBorges)
by Gyiove
x bit integer ( example 20552 bit integer value ) how do handle or create one?
Hello everyone! I'm thinking about creating a class what can hold x bits integer in it. There's no ...
[1 reply] : Do you need to handle negative numbers also? You can do multiplicatio... (by dhayden)
C++ program with comments in main program and each function (1,2)
Can someone please help me? I have to write a complete C++ program, including comments in both th...
[23 replies] Last: Here is an example of a special combination: " done " (by LB)
I search about LLVM, But so much info. I am confuce. I have few question listed bellow. 1) LLVM ...
[8 replies] Last: @JLBorges thax. (by sujitnag)
Need quick help on rand()!
so basically T is two dollar and H is also Two dollar but ends coinflip. This is what my pro...
[2 replies] Last: i am an idot thx you so much ! (by jae0014)
Word Stats (frequency, order)
I have been completing an assignment were I need to make a console that loads a text file called ban...
[4 replies] Last: @tipaye Looks VERY complicated, I do not understand the half of it, I... (by Z4KBrindle)
Better enemy wave spawning
I've been making a multiplayer shooter game, and everything works good right now except enemy spawni...
[14 replies] Last: Ok I think it was since there was 2 rat pools. I was able to use your ... (by Bingocat4)
by yj1214
class private variable error
#include <iostream> using namespace std; class Ham{ private: int bar = 1; ...
[3 replies] Last: Someone said I need to add -std=c++0x, -std=c++11 or -std=c++1y. th... (by Little Bobby Tables)
Linked List - being outputed wrong. thank you for the help in advance!
#include "function.h" Movie* ReadIn(){ // struct Movie{ // string title; // string le...
[2 replies] Last: I apologize I had my read in file correct its just when I outputed the... (by Chris Millones)
by glory7
Noah's Ark!
Hello, everyone! I'm so sorry to bother you guys with this, but I really need assistance. I have an...
[6 replies] Last: Oh yeah, I totally forgot to include my code, sorry about that. But, o... (by glory7)
Reference to lambda function output
In Scott Meyers' "Overview of the new C++11/14", he shows #include <iostream> #include <numeric>...
[4 replies] Last: The context of Scott Meyers' example is that such an object, which wou... (by prestokeys)
Program with two functions
Please help!! I have to write a c++ program with 2 functions findmax() and getavg(). The function...
[5 replies] Last: Well yeh, thats becuase its written in python and not c++. @yj1214 is ... (by TarikNeaj)
Map - Unhandled Exception: std::out_of_range
Hi, I'm trying to implement a function that keeps track of recently used addresses. I've created ...
[5 replies] Last: Nevermind, its working. Turns out that was the initialized value befor... (by gradstud)
std::function as member, take functions to either member- or global functions
hey guys, I have a class called Button which has a function pointer i want to replace with std::fu...
[4 replies] Last: I confirm, you should use std::ref(a) or std::cref(a). "The arguments... (by S G H)
Purpose of the function?
Have worked with this project sometime, and im kinda getting 'blind' on the code. As os know, the pr...
[2 replies] Last: Ah, thanks, i get it now! I hope you guys can help me out a little mo... (by eskovgaard)
Alternatives for goto statement
I have a been in a bad programming practice. Could you guys tell me alternatives for goto statement.
[4 replies] Last: I'll just make 1 block so you get an Idea what you could do // repl... (by Gamer2015)
Inserting a loop in a switch statement
I am making a payroll system and i want to make sure that the persons option is well used in this sw...
[13 replies] Last: Im not sure what I am, I havent explored my body in a while. (by TarikNeaj)
arrays and median functions problem
Hello guys ! thanks alot for this website it helped me alot...I have a problem with making a median ...
[7 replies] Last: Yeah, just follow the same pattern you used for median. Good luck. (by tipaye)
Infinite Loop when using ifstream::seekg()
I'm writing a program where ifstream reads some characters from file, and skips some. However, when ...
[3 replies] Last: Thanks! It works! (by hakeris1010)
Need help ending my maze game
Hi, I need help with trying to end my maze game so that when the character "@" reaches next to F (Fi...
[no replies]
Pages: 1... 2930313233... 44
  Archived months: [feb2015]

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