Beginners - January 2017 (Page 23)

undefined reference error
 
I experience this one problem where the error stated was "undefined reference to `branch::branch(std...
[1 reply] : 'coz your ctor is declared (line 9) but not defined, try something lik... (by gunnerfunner)
How to sort vector(s) Z to A?
 
Hello, I'm trying to figure out how to sort a vector from Z to A. Or even if I was dealing with numb...
[6 replies] Last: [quote=JLBorges]Yes; first sort in ascending order and then reverse th... (by closed account E0p9LyTq)
by VX0726
File Reading Issues
 
Hello fellow programmers, Recently, I have been having problems with the code below. I enter in my ...
[3 replies] Last: Ahh, thanks. Problem is fixed now! Thanks so much, VX (by VX0726)
Removing a user-inputted digit from a user-inputted number
 
Okay, so this is the program I was assigned to write. "Delete k-th digit from the natural number n,...
[10 replies] Last: std::cout << "You are welcome :) \n" ; (by ar2007)
Classes and Functions
 
So I was trying this easy question out and when I executed it I got about 9 errors. Code:- #inc...
[2 replies] Last: Where did you create an instance of your class named "item"? Remember ... (by jlb)
Function oddeven & positivenegative integer
 
Construct a program that would prompt the user for an integer. Include a function in your program th...
[8 replies] Last: @Chervil @kemort okay. I will try it out again. Can I know which vers... (by DesmondLee)
by UgoChi
How to design a program using Array's (1,2)
 
Imagine you are a computer programmer for a plastics company called “Charlie’s plastics”. One ...
[26 replies] Last: I need a answer similar to that rough draft This is original assignm... (by UgoChi)
C++ Gui
 
Hey guys, can you guys give me suggestions of where I can find some good c++ GUI tutorials ? ...
[7 replies] Last: Qt Creator is excellent. VS has a new preview for mac/linux version b... (by closed account 48T7M4Gy)
exit program + save to textFile
 
Hi , please i want someone to make it like if i press for example -1 exit the programm also i want ...
[4 replies] Last: The great thing about creating the >> and << operators is that they ca... (by dhayden)
Armstong Numbers
 
If sum of cubes of each digit of the number is equal to the number itself,then the number is called ...
[16 replies] Last: @lastchance and @Chervil thanks a lot! (by DatDankMeme)
by Benkex
I can't use cin.get() in my game
 
I can't use the cin.get(); in my game. It isn't translated, or I don't know.... Please help! ...
[8 replies] Last: Nothing, it works fine :D I just put the ignore after the enter pressi... (by Benkex)
Swapping won't work
 
Anyone knows why this code won't work? #include <iostream> #include <string.h> using namespace st...
[1 reply] : You're not actually calling sw(). (by liuyang)
Nested for Loop ?
 
5 10 15 20 25 30 35 40 45 50 10 20 30 40 50 60 70 80 90 100 15 30 ...
[17 replies] Last: @kemort thanks for the sharing of your version. It greatly help me :) (by DesmondLee)
Reverse string?
 
So I recently started learning C++ and stumbled upon this issue. I don't understand why can I not r...
[3 replies] Last: As you already know that the index of an array starts from 0, so that,... (by liuyang)
How to put garbage in output buffer to use fflush()?
 
The documentation for fflush() doesn't define "output buffer" nor "input buffer" nor what "flushin...
[7 replies] Last: > that was actually wrong ... > up-to-date Linux man pages are here ht... (by JLBorges)
Sfml rendertarget
 
I wanted to try something like I saw a couple of years ago on scratch: https://scratch.mit.edu/proje...
[3 replies] Last: and it compiles just fine, but when run, it just crashes Where is th... (by cire)
Trying to understand the use of "new" in this code
 
I got the snippet of code below at Stack Overflow, I rarely use the 'new' keyword and trying to unde...
[3 replies] Last: Chevril thanks for explaining the first solution, and I definitely tes... (by hashbrown)
http://www.diveintohealth.org/alpha-prime-elite/
 
I think this should be in the Lounge not in the Beginners Forum. Thanks, Hirokachi
[1 reply] : Do not reply to spam (by coder777)
Unexpected data
 
Hello, guys. Happy New Year and Merry Christmas! I try to display in console array, that user in...
[4 replies] Last: Thanks a lot! (by White Bear)
getting free/prim numbers to 1000
 
Why are this two loops different? How are this {} brackets affecting the result? bool freeNumb; ...
[3 replies] Last: Thx a lot the difference is really obvious :D it's amazing how little ... (by spax1111111)
January 2017 Pages: 1... 21222324
  Archived months: [dec2016] [feb2017]

This is an archived page. To post a new message, go to the current page.