General C++ Programming (Page 29)

Inheritance question
 
Say that you got a base Class Employee, and several Derived Classes - Developer, Administrator, Secr...
[2 replies] Last: That's a great example! Thank you! (by jared181)
C/C++ help
 
I am a beginner in the C/C++ language, i have to write codes using the andd, nandd, norr, nott, orr,...
[3 replies] Last: Ok thanks... this seems like it may do the trick. My question is would... (by tarnold4)
Server Code Errors
 
Hey guys I'm getting errors with this code. Can anyone help me? I'll post the Error then current ...
[2 replies] Last: Well here is the whole section/part of the code. Also, I'm not that go... (by Camouflage)
equal_range for a std::multimap
 
I have a multimap with some keys being duplicates. When I search for a key using equal_range(), I ge...
[2 replies] Last: Thanks a lot for the clarification. std::distance worked like a charm. (by msskiran)
The program doesn't print the prime numbers :// "j" indicates prime numbers
 
#include <iostream> #include <cmath> using namespace std; bool prime(int j); int main() {int ...
[5 replies] Last: Yes that is correct tcs thank you didn't even notice till you said (by giblit)
Need Help it wont print right
 
Write a program that has an array of at least 20 integers. It should call a function that uses th...
[1 reply] : The array elements run from 0 up to and including 19. check your for ... (by wildblue)
Questions on Linked lists
 
Hey, I dont know the answers to the following questions related to Linked lists in c++. Can you plea...
[2 replies] Last: 1. it's not, you must have the head node. 3. With Doubly linked list,... (by jared181)
Splitting numbers
 
I have the concept of the code that i'm doing. Which is having the number example:1234 returned as 1...
[4 replies] Last: @elohssa : Sorry, but your code won't do it. If reading the number t... (by tcs)
<how to implement a function
 
I don't know how to implement a function. I have a lot of trouble when dealing with this problem. ...
[2 replies] Last: I don't understand your question. You've just implemented a lot of fun... (by tcs)
by Aas713
Issue with array program
 
I attempted to write a program for this assignment: https://filebox.ece.vt.edu/~ece1574/fall14/proje...
[2 replies] Last: Who the hell should read this? Use code-tags please ("<>"-button at th... (by tcs)
Template Specialization:request for member which is of...
 
Hello, I'm getting an error that says |In member function 'void BASE<L*>::SET(L**) [with L =...
[4 replies] Last: I added an extra initializer in int main for BASE<OBJECT*> base_... (by lostwithcpp)
initialize struct char pointer array in struct
 
Im trying to store data in a struct to be able to read it latter have problems initializing this. ...
[7 replies] Last: Thanks MiiNiPaa i didnt even think about using namespace (by poohpooh)
Separate Chaining Hash Table
 
anything wrong in my insert() function Hope someone help! template <class T> class Node { public:...
[6 replies] Last: Oh yes here is my code to delete all Hash table template <class T>... (by nightmaregiba)
How to write the graphics pipeline?
 
I have been learning Direct3D for a while now (DX11), and I ran into a bit of a dead end. I have Fra...
[10 replies] Last: Well then, I think you should still try to look at the tutorials provi... (by Avilius)
by bonho
boost::signals2
 
I have two class variables that store a list of external slot functions depending on the state. The...
[13 replies] Last: Ahhh I see. So this is sort of like a custom made method using vector... (by bonho)
Compile C++ code at runtime [g++]
 
My program needs to compile various source files at runtime. What is the most elegant way to compil...
[10 replies] Last: Try using C# with Mono. You can integrate C# into your program (And Un... (by Avilius)
Game Modding
 
Hi all I wanna be able to build game mods. It was suggested to me by a friend who works in the de...
[2 replies] Last: If you're going to mod Minecraft, as said above, use Java. I believe ... (by Avilius)
Functions with void returns
 
Write a C++ program consisting of main plus two other functions which will do the following: Take...
[3 replies] Last: Do you claim that you were given homework without explaining anything ... (by keskiverto)
Functions which return values
 
Write a function named cointoss that simulates the tossing of a coin. When you call the function,...
[2 replies] Last: It's so hard! I don't know how to do it. :( (by KappaKat)
Graphic user interface?
 
I have a program I want to write that determines the health of a power transformer. I know the synt...
[1 reply] : Use some GUI library: QT, GTK, WxWidgets to name few. (by MiiNiPaa)
Pages: 1... 2728293031... 58
  Archived months: [oct2014]

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