
please wait
by raisudessu
undefined reference error
|
I experience this one problem where the error stated was "undefined reference to `branch::branch(std::string)" for line 75,76,77,78. Hope someone can explain to... |
Jan 4, 2017 at 4:45am
[1 reply] : 'coz your ctor is declared (line 9) but not defined, try something lik... (by gunnerfunner)
|
by MisterTams
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 numbers how to go from Greatest to Least in integer values? I f... |
Jan 4, 2017 at 4:28am
[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 information perfectly fine, but after that, it will not disp... |
Jan 4, 2017 at 3:13am
[3 replies] Last: Ahh, thanks. Problem is fixed now! Thanks so much, VX (by VX0726)
|
by takaflaka
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, counting the digits starting from the last digit in the num... |
Jan 3, 2017 at 10:58pm
[10 replies] Last: std::cout << "You are welcome :) \n" ; (by ar2007)
|
by DatDankMeme
Classes and Functions
|
So I was trying this easy question out and when I executed it I got about 9 errors. Code:- #include<iostream> #include <string> using namespace std; ... |
Jan 3, 2017 at 6:29pm
[2 replies] Last: Where did you create an instance of your class named "item"? Remember ... (by jlb)
|
by DesmondLee
Function oddeven & positivenegative integer
|
Construct a program that would prompt the user for an integer. Include a function in your program that would evaluate whether the integer is negative or positiv... |
Jan 3, 2017 at 4:27pm
[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 day, your boss comes to you with a problem. Here’s what... |
Jan 3, 2017 at 3:53pm
[26 replies] Last: I need a answer similar to that rough draft This is original assignm... (by UgoChi)
|
by Day Vide
C++ Gui
|
Hey guys, can you guys give me suggestions of where I can find some good c++ GUI tutorials ? Thanks |
Jan 3, 2017 at 3:33pm
[7 replies] Last: Qt Creator is excellent. VS has a new preview for mac/linux version b... (by closed account 48T7M4Gy)
|
by Begcplus
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 too how to save to textfile. thnks #ifndef Gym_hpp ... |
Jan 3, 2017 at 11:58am
[4 replies] Last: The great thing about creating the >> and << operators is that they ca... (by dhayden)
|
by DesmondLee
Armstong Numbers
|
If sum of cubes of each digit of the number is equal to the number itself,then the number is called an Armstrong Numbers. For example 153= (1*1*1) + (5*5*5) + (... |
Jan 3, 2017 at 11:31am
[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! #include <iostream> #include <cstdlib> #include <time.h>... |
Jan 3, 2017 at 8:43am
[8 replies] Last: Nothing, it works fine :D I just put the ignore after the enter pressi... (by Benkex)
|
by DatDankMeme
Swapping won't work
|
Anyone knows why this code won't work? #include <iostream> #include <string.h> using namespace std; void sw(char nom ,char pom ); int main() { char str... |
Jan 3, 2017 at 8:33am
[1 reply] : You're not actually calling sw(). (by liuyang)
|
by DesmondLee
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 45 60 75 90 105 120 135 150 20 40 60 80 100 ... |
Jan 3, 2017 at 7:47am
[17 replies] Last: @kemort thanks for the sharing of your version. It greatly help me :) (by DesmondLee)
|
by DatDankMeme
Reverse string?
|
So I recently started learning C++ and stumbled upon this issue. I don't understand why can I not reverse the string using the following piece of code. ... |
Jan 3, 2017 at 6:15am
[3 replies] Last: As you already know that the index of an array starts from 0, so that,... (by liuyang)
|
by ElusiveTau
How to put garbage in output buffer to use fflush()?
|
The documentation for fflush() doesn't define "output buffer" nor "input buffer" nor what "flushing" them actually does. Also, it doesn't provide a reference ... |
Jan 3, 2017 at 3:20am
[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/projects/114926871/ But I also wanted to use a rendertarget. From... |
Jan 3, 2017 at 1:39am
[3 replies] Last: and it compiles just fine, but when run, it just crashes Where is th... (by cire)
|
by hashbrown
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 understand why it was used in this case, and if there are better... |
Jan 2, 2017 at 4:35pm
[3 replies] Last: Chevril thanks for explaining the first solution, and I definitely tes... (by hashbrown)
|
by Hirokachi
http://www.diveintohealth.org/alpha-prime-elite/
|
I think this should be in the Lounge not in the Beginners Forum. Thanks, Hirokachi |
Jan 2, 2017 at 4:24pm
[1 reply] : Do not reply to spam (by coder777)
|
by White Bear
Unexpected data
|
Hello, guys. Happy New Year and Merry Christmas! I try to display in console array, that user input, i try protect program from user, so when user input num... |
Jan 2, 2017 at 4:18pm
[4 replies] Last: Thanks a lot! (by White Bear)
|
by spax1111111
getting free/prim numbers to 1000
|
Why are this two loops different? How are this {} brackets affecting the result? bool freeNumb; for (int i = 0; i <= 1000; i++) { freeNumb = true; ... |
Jan 2, 2017 at 3:13pm
[3 replies] Last: Thx a lot the difference is really obvious :D it's amazing how little ... (by spax1111111)
|