General C++ Programming (Page 55)

Symbolic names basic doubt
Hello, I'm learning how to use c++ because I have to work with a code written with it and there's a ...
[2 replies] Last: So I don't have to pay much attention to this in order to understand h... (by ryllprous)
Replacing String in Hangman Game
Hi, I'm making a hangman game. All i need to do is after the user guesses the letter correctly it r...
[2 replies] Last: I changed the part that i need help with (by shayanaijaz)
Problem with User defined functions!
I have a problem converting some of my codes to a function like the adding a value at a queue. this...
[6 replies] Last: Haha! Now I have a bit of understanding of what it is all about. All m... (by Skhiburdhurs)
Question About The First Argument In Main()
Does anybody know why the first parameter to "main()" is a signed integer instead of an unsigned or ...
[3 replies] Last: It's not convention, it's for backwards compatibility. Back before C h... (by LB)
Can main() be called recursively?
Can main() be called recursively?
[6 replies] Last: i dont think there is ever a good reason to call main You're right, ... (by MikeyBoy)
Consistent random numbers across implementations
If I seed with the same seed I want the same sequence of numbers no matter if I use GCC, Clang, VC++...
[3 replies] Last: Ok. Thanks you for confirming my thoughts. Much appreciated. (by Peter87)
by y12321
problem with reading a string and comparing
Hi! I'm trying to read a string and then compare it to a word. My code: char* cmd = "start"; s...
[4 replies] Last: Well, you do not need strcmp with std::string, you can compare directl... (by MiiNiPaa)
by Chubby
Data Struc
This is this part I have question: Why it didnt calculate the area? What did i wrong? here is outpu...
[2 replies] Last: You didn't show us any code that handles the inputting of the x and y ... (by doug4)
using GUI
Am writing a spreadsheet program but I cannot draw line using codeblock. Please I need help.
[4 replies] Last: I do appreciate. Thanks (by quadrangle)
****Help in operator overloading in classes! *****
SOLVED // overloading operators example #include <iostream> using namespace std; class CVec...
[15 replies] Last: @JLBorges it did add that section: , b... (by Cubbi)
C++ exercise with virtual functions
My main function is this: int main(int argc, char* argv ) { int l1, n; Ball** ball; l1=...
[3 replies] Last: MikeyBoy 1) I'm new in the forum....I will certainly apply what you ... (by nikos91able)
Free Code Browser for C++
Hi, I have source code C and C++ of more than 800MB size. I am facing lot of problem in browsin...
[no replies]
by xpg94
What to learn next?
I've been learning c++ for about a year now. I went through tutorials on this website and on learncp...
[8 replies] Last: I would definitely start learning some GUI programming. That seems lik... (by knn9)
string words into aray
say i have a string called "org_string" org_string = "REFRACTIVE LIGHT"; i also have a string ar...
[4 replies] Last: You can use getline. Google "c++ getline delimiter". (by iQChange)
Function not storing data in array.
Following function is from a bank account, when new account is created it won't store it in the arra...
[2 replies] Last: Is acctnum_array and balance_array large enough to hold num_accts? C-s... (by jmadsen)
Factory pattern
can you explain me what means this architecture and how i can instanciate my object : classe A { f...
[2 replies] Last: but i need to use A functions, and B,C functions too. A *a ; B b =... (by lhoussain)
Data Member Refrence Problem
I have created this program with the class Rectangle, and i have gotten most of the errors out I thi...
[2 replies] Last: The duplicate symbols is because a static member variable needs to be ... (by jmadsen)
Creating a Random Number Generator
Hey guys quick question here, How would I go about creating a random number generator (or pseduor...
[3 replies] Last: Well you are going to have to create a formula then here is something ... (by giblit)
Help with a question?
Hey all, some im stuck with a problem that im trying to program. Any help with what it would look li...
[1 reply] : Please note, that this is not a homework site. We won't do your homewo... (by MiiNiPaa)
by Bro
Calculate the mathematical constant of PI
THE WEEKEND TEASER: Write a C++ program to calculate the mathematical constant of PI: (a) Imagine ...
[1 reply] : Please note, that this is not a homework site. We won't do your homewo... (by MiiNiPaa)
Pages: 1... 5354555657... 60
  Archived months: [feb2014]

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