Beginners

by admin
Welcome -- read before posting!
 
Welcome to the beginner's forum in C++.com! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
 
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duthomhas)
by quete5
order of code not letting cout show?
 
I'm writing a program that shows the average leaves taken by an employee. I'm trying to figure out w...
[4 replies] Last: Isn't this a duplicate of: http://www.cplusplus.com/forum/beginner/24... (by MikeyBoy)
by quete5
Why is this undefined?
 
Here is the instructions from a book of mine: Write a program that calculates the average number of...
[4 replies] Last: line 51: you define function int employNumRetu() but try to call nu... (by ne555)
too much cpu usage from my thread pool.
 
so i have written a command line utility program that scans a directory for files ["dat","txt",...] ...
[12 replies] Last: Accessing files is slow. One of the most expensive things an OS can d... (by kbw)
random letters array
 
Each letter in the letter matrix will only be used once. For example J x U f B u F y D z S g N ...
[3 replies] Last: how do we write the matrix again in alphabetical order. If you were ... (by lastchance)
by mz1234
help needed
 
I cannot figure out what is wrong with my code. Can someone help me please #include <string> #in...
[2 replies] Last: 1) Please use code tags when posting code, to make it readable: http... (by MikeyBoy)
What is umlaut in turbo C?
 
Hi again guys! I am looking for the info about these the umlaut A, exponent 3 and that upside down q...
[3 replies] Last: Turbo C goes back to DOS where there character sets were handled using... (by kbw)
Need help with this vector and struct
 
Now the issue I keep receiving is: ‘class std::vector<item>’ has no member named ‘item’ ...
[12 replies] Last: I need help with getting the contents of the vendingMachine vector wh... (by kbw)
Detect country's name via its area code
 
Q. Write a program which asks the user to enter a bunch of numbers (Mobile numbers) and each number ...
[4 replies] Last: #include <iostream> int first_three_digits_of( unsigned long long nu... (by JLBorges)
array with random function
 
Hey, guys, I got some problems with array function with random number on my code, please have some s...
[1 reply] : What are this problems? On thing: srand(...) shall be before any call... (by coder777)
Help with Delay
 
Hello I need help with my delayed program. I want to add delay of 3 seconds and its not working. I...
[6 replies] Last: K thanks, :D (by OshriMakk)
by ashwyn
Help debugging pointer problems
 
Hello, I am making the game Yahtzee as a school assignment. Below is largely outline code, and b...
[1 reply] : The error is not "-fpermissive". That's a compiler flag that controls ... (by tpb)
by yat89
error C2109: subscript requires array or pointer type
 
Hi everyone. I am new to C++ programming. I need to calculate the fitness for each of startNode and...
[2 replies] Last: Finally solved for calculating the fitness. Thanks for the help. (by yat89)
Array + dividing sum of arrays
 
Hi guys, I need help with a program I have been scratching my head over in which I can't seem to rea...
[3 replies] Last: Thank you for the reply @JLBorges. But boy did my professor teach C++ ... (by devcppuser)
Please help! I need help figuring out:(
 
Project 2 is a continuation of Project 1. Convert Project 1 into a menu-controlled program. Add vali...
[2 replies] Last: Hello blackwaterdad, PLEASE ALWAYS USE CODE TAGS (the <> formatting... (by Handy Andy)
Array / Pointers query
 
Hi, I'm trying to understand an aspect of the code below, and can't figure it out. I've added a coup...
[4 replies] Last: Oooh. I see. Yeah, I get what you mean now. Still, I don't think it wi... (by Cheddar99)
Using Rand()
 
Hey, I am working on a project for class where I need to create a very basic game. The short vers...
[4 replies] Last: This is what is being asked of me... Random Race Two runners are comp... (by ThomasJimenez23)
by darego
redundant if statement in my function
 
Hi guys, I am currently creating a copy constructor and an overloaded = operator for my linkedList ...
[2 replies] Last: Thanks buddy. (by darego)
Problem with overlapping of functions with same name
 
Ok, so this is the question I am trying to do, Write two functions having same name Add and take...
[4 replies] Last: Hello redfury, now if user enters a number without decimal then the ... (by Handy Andy)
Pages: 123... 45
  Archived months: [sep2018]