• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
 
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
avoid repeating a statement
 
lets say I want to repeat this for(i=0;i<16;i++) ... ... for(i=0;i<16;i++) ... for(i=0;i<16;i...
[1 reply] : Solution 1:     Combine loops into one Solution 2:     Move lo... (by MiiNiPaa)
virtual destructor
 
class Base { public: virtual ~Base() { cout << "Calling ~Base()" << endl; ...
[6 replies] Last: thanks guys (by sajid dayer)
implemented functions .. i don`t know what`s wrong
 
seriously i don`t know how am i going to take the test on Monday~~?? i can`t get what`s wrong wit...
[3 replies] Last: no... i`m an electrical engineer.. all engineers here are demand to ta... (by deepestblue)
Problem with program "Stopped working" [Beginner]
 
Hello, so I was trying to make a c++ console game "Gallows" for school, and I've noticed, that my pr...
[4 replies] Last: Hmm I guess you are right :) I thought that the problem was somewhere ... (by Justas Sam)
(what does implemented function mean? and how do i write one?)
 
i need explanation with example of your own!! i`m studying for my midterm.. and i can`t find ...
[6 replies] Last: thank yew... and yeah i`m a beginner ,but it`s not my major either ..... (by deepestblue)
RegisterClassEx, class conflict
 
I made a class that loads images from files and displays them on screen, with chosen color used for ...
[12 replies] Last: I couldn't really say. Have you tried to output the class name in RegA... (by knn9)
x86 bare minimum hardware?
 
What hardware is required for x86 software to at least run? Like the interrupt controller etc. What ...
[no replies]
i have written my code!! but i need someone to remake it!!
 
so i wanted someone to remake the code that i`ve written to have : a recursive function to evaluate...
[12 replies] Last: You can see that every term in the summation produce the next by: r n ... (by tdmihos)
Hey i need help on writing a program
 
Suppose you want to deposit a certain amount of money into a savings account, and then leave it ...
[4 replies] Last: i lol'd (by zoran404)
this is a c++ book example.. can anyone solve it??
 
4. Write a program that generates a random integer number between 1 and 1000 representing the amoun...
[3 replies] Last: yeah .. i love how modulus works with divisions in c++:) jemeripol ... (by deepestblue)
by y510
Generating a time series by using Uniform Distributed Random Number Generator quickly please!!!!
 
My assignment is as so: " Visual C provides a function RAND() to generate a uniformly distributed ra...
[1 reply] : #include <iostream> #include <random> #include <iomanip> #include <cs... (by y510)
by krad23
Function that returns the max of a variable number of scalars
 
I need to create a function that takes as an input a variable number of scalars and returns the bigg...
[5 replies] Last: int maxof(int nargs, ...) Do not use ellipsis. It is dangerous and ... (by MiiNiPaa)
vector push_back class
 
how bad/good is this code? I mean, how do you push back class to a vector in other way? is this some...
[3 replies] Last: I see, not sure why I didn't think about using constructor >.< thanks (by mekkatorqu)
by auba
Assigning string tokens to an array
 
Good day, I need to dynamically build a control file for a SQL loader but when tokenizing line va...
[4 replies] Last: The purpose of the exercise is to create a SQL Loader control file to ... (by auba)
vector
 
can someone please help me? how can I create a vector with the following devices: printer, disk, ...
[5 replies] Last: :) the computer is your friend not your enemy void deviceSetup (vect... (by coder777)
I'm having trouble with this, the question is listed in the code please somebody
 
#include <iostream> //ask the user for a set of data, product price & amount. calculate the tot...
[5 replies] Last: #include <iostream> int main( /* int argc, char** argv */ ) { us... (by JLBorges)
copy/Constructor and destructor help!
 
Hi, My teacher gave us this problem for homework after horribly explaining the process. Can someo...
[5 replies] Last: The correct way is: //Complex.h class Complex { public: Complex(... (by LazaroBinda)
Pass-by-reference
 
I need to return taxes paid and net pay by pass referencing a gross pay overloaded function. Are the...
[8 replies] Last: Thanks wildblue! This forum has been very welcoming! (by Kendrakendra)
Help with C++ Word Guess Game
 
So I've been trying to get this word guess game working, but the word so far is not showing. For in...
[2 replies] Last: Oops, i didn't copy and paste, i just wrote it out from another progra... (by warlord42)
Pages: 123... 57
  Archived months: [aug2014]