General C++ Programming (Page 37)

"Base class undefined"
Hi, I have an error here that's confusing me, it looks like a include-problem. I have the followin...
[10 replies] Last: If this thread had a 'like' button i'd be pressing it. (by mutexe)
linked list in C
I am trying to write a linkedlist in c, but for some reason I have run into a problem where the list...
[2 replies] Last: Thanks for the help. I see exactly what you are talking about. (by haglerchristopher)
by iBlueZ
Need Help!!!
So i have a final project to do: ---So far i have this code: #include <iostream> #include <fst...
[9 replies] Last: Alright, thanks for the info,means alot :D (by iBlueZ)
infinite cout loop in else statement
I have more programming before this, but everything else works fine. My else loop has an infinite ou...
[7 replies] Last: You have to remove cin>>material before the getline. (by minomic)
by adam43
Adding current date to the end of a string
Write your question here. I need to add the current date to the end of a string but I only need to ...
[1 reply] : You can use functions from time.h or ctime time_t ti = time(0); ... (by tanezavm)
Replace calls to the linear algebra operations by eigen3.
static SGVector<float64_t> compute_eigenvectors(SGMatrix<float64_t> matrix); static double* compu...
[no replies]
need help
Hi, I would like to know if there's a way to show at least two numbers in the output instead of just...
[3 replies] Last: examples: cout << setfill('0') << setw(2) << 4; -> prints 04 int x =... (by tanezavm)
I need a little bit of help figuring out this problem
Here is the question first of all: (I'm using visual c++) Write a program that calculates the bal...
[8 replies] Last: Make it a habit that when you report that you have problem, paste the ... (by tanezavm)
I need help with Unary Operators (overloading)
Here are the details of the assignment: I am to write a program with a class Worker that has 3 priv...
[4 replies] Last: I had read this previously but I'm still confused on how to use the op... (by dub1987)
Game engine
Please may i know some informations ? thanks 1. what is the structure of programming game engine ...
[2 replies] Last: (by ResidentBiscuit)
by Lexin
Tic-Tac-Toe problems
Hello, I need help with this Tic-Tac-Toe game. I am new to c++ and I understand I could have written...
[2 replies] Last: You can also use a do-while loop: do { // ask for a number } ... (by minomic)
vector<> inside switch loop
#include <iostream> #include <vector> using namespace std; class tree{ public : int num; ...
[3 replies] Last: > do you mean that "vector<tree> huffman" do not have a destructor No... (by JLBorges)
MIDI using soundfont: adjustment in cents per MIDI note?
I'm currently using the following to determine the cents to move the sample of the soundfont, played...
[no replies]
Need help with a program plz
Hi i need help, this program meant to take date by integer numbers check if the date is valid and re...
[11 replies] Last: You could try something like this: #include<iostream> bool ValidMon... (by mutexe)
by ochi12
Is sfml/sdl worth a try or should i go with an engine?
I'm learning game development, i was looking for a nice api/framework for java, but then i decided t...
[14 replies] Last: I was not talking about creating an engine, i was asking if i should u... (by ochi12)
Help with Excercise
My excercise is: Improve the Lobby class from the Game Lobby program by writing a friend function of...
[2 replies] Last: Don't misunderstand the problem. You already have a function that all... (by tipaye)
by ejcpp
What's Wrong With my code? ARRAYS
**Every time i run the program nothing happens.** " You will be using a data file called elves.dat. ...
[1 reply] : Given your code as it is, if you have elves.dat in the same folder and... (by tipaye)
by BasV
T const& versus T& const
Hi everyone, I know T const* a; // Pointer to T, object cannot be modified T * const a; // P...
[3 replies] Last: Yes, makes sense. Thanks! (by BasV)
why isn't this working?
Why does this return 0? float ac=(79+91+100+43)/400;
[4 replies] Last: using C-style casts isn't really recomended. Unless you're writing in ... (by mutexe)
by DavidW
Pulse output through the audio jack
Does anyone know of a code snippet that will send a pulse to either the left or right channel of the...
[1 reply] : A super cheap way, but is looked down on because it uses "Windows.h" ... (by poteto)
Pages: 1... 3536373839... 54
  Archived months: [nov2014]

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