General C++ Programming (Page 45)

Class.h is having issues with virtual functions
 
I'm writing a class "Property" for a program that manages different types of properties. This is my ...
[1 reply] : Paste whole class definition here. There is too little information to ... (by MiiNiPaa)
by CSC121
Lowest Value In Vector Problem
 
I am to write a program where the user is to enter a 5 or more values into a vector and it will outp...
[1 reply] : #include<iostream> #include<vector> int main() { std::vector<doubl... (by mutexe)
unresolved external
 
// Heap // Demonstrates dynamically allocating memory #include <iostream> using namespace st...
[2 replies] Last: Cheers! (by NewCComer)
by rossb
vector of vectors
 
I am terrible with creating "matrices" and was hoping someone would help. How would I make this vect...
[1 reply] : std::vector< std::vector<int> > matrix = { { 30, 30, 30, 30, 30 }... (by JLBorges)
Is it good practice to return different variables based on the parameter value?
 
Say I have a GetSomething(char type) function which returns two different variables based on what yo...
[3 replies] Last: > What is wrong with a float versus a double? double is the natural... (by JLBorges)
by Aliff
Computer graphic opengl c++
 
Whats wrong whit this? #include <iostream> #include <stdlib.h> #include "imageloader.h" ...
[1 reply] : You'll either need to use "" rather than <>, or add it to the include ... (by NT3)
Hey there need experienced help with something lol
 
Hey there, for my final eportfolio in one of my classes we created a site for it using google site...
[no replies]
Using variables to access objects in a windows form.
 
Alright, so I'm making a windows form with a few hundred buttons, and one button will change color b...
[3 replies] Last: You need to declare an array of buttons in the class, obviously. (by helios)
by bryevo
cout undeclared?
 
This is my header file #ifndef TREE_H #define TREE_H namespace BSTree { class SearchTree; //f...
[3 replies] Last: and...the errors are? (by giblit)
hangman project please help
 
hello guys I really need you guys help I did this programming project but there is something wrong w...
[no replies]
Need help finishing SDL Connect Four program
 
#include <iostream> #include <string> #include <ctime> #include "SDL2/SDL.h" using namespace st...
[no replies]
How to Pass by Value-Result
 
I'm trying to understand the pass by value-result. The code I have came up with so far only does by ...
[4 replies] Last: An argument passed by value-result is implemented by copying the argu... (by helios)
by bonho
Getting consistent type names under Windows and Linux
 
I'm writing a server/client application in C++, one linux and one windows. The generic communicatio...
[7 replies] Last: so useful topic....it helped me so much www.electrotechnic.mihanblog.c... (by majid1986)
by rdekou
Get the output of CImg C++ code in python
 
To speed up my python code, I'm trying to insert CImg C++ code within it. I'm able to read the pyth...
[no replies]
by Nanyo
no output
 
Hi, does anyone know why when I enter the number of humans and skeletons nothing happens #includ...
[1 reply] : Because you're passing them into your "userInput()" function by copy, ... (by Computergeek01)
How to determine if two numbers differ from a specific value
 
Hello, in chapter 4 in the book Programming principles and practice using C++ I have to write a prog...
[4 replies] Last: > why if I enter 10 and 10.01 I don't get : numbers are almost equal ?... (by JLBorges)
by Aradic
Array error using template class
 
So, my only issue is I can't figure out how to assign the array in object Q to the 12 months, Dec th...
[8 replies] Last: I don't think that the code that generates the random numbers or store... (by LB)
by fafner
SDL_BlitSurface problem
 
I'm using SDL_BlitSurface to get a single sprite out of a spritesheet. My code is: SDL_Rect* src ...
[no replies]
Need help with simple linked list maze
 
Hi my names Angelica and I'm new to programming. I'm doing terrible at this so a few questions. J...
[2 replies] Last: That sounds like great advice but I'm having trouble implementing it. ... (by programnoob)
40 billion in variable
 
I'm trying to do a bitcoin calculator, however I can't get the difficulty (40007470271) to any varia...
[15 replies] Last: @MiiNiPaa thanks! @Lachlan no, I'm getting 8 (by mekkatorqu)
Pages: 1... 4344454647... 50
  Archived months: [nov2014]

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