
please wait
by chunsae1379
Can dividing a number with 2 result in a remainder other than 0 or 1?
|
I'm an amateur korean c++ learner, and am trying to make a fully working coin tossing program. Since I'm now studying rand() function, I want to define the head... |
Nov 22, 2018 at 2:48pm
[9 replies] Last: > Is "implementation-defined" a kindly euphemism for "undefined behavi... (by JLBorges)
|
by numbii
How to print error if number is incorrect?
|
Hi. I need help with my code. It takes an integer as a parameter and returns the sum of the digits of the integer. I want my program to test if the integer is n... |
Nov 22, 2018 at 2:09pm
[6 replies] Last: > I can't use arrays nor strings in the task, nor if statements I pr... (by JLBorges)
|
by jamespandio
Functions
|
Hi so i need a little help with my program, because i need to put two numbers and choose my operand and after that it will ask a question to return back to the ... |
Nov 22, 2018 at 11:29am
[2 replies] Last: the variable d must be type char.the declaration of variable d in your... (by johnniewalker97)
|
by soulworld05
Question and Clarify
|
1. A quiz from site, "convert the following numbers to C++ style scientific notation. Using an e to represent the exponent, and determine how many significant d... |
Nov 22, 2018 at 7:28am
[4 replies] Last: Zeros that are written where otherwise unnecessary are significant. t... (by jonnin)
|
by tdglass1
First time poster "Black Jack" game
|
Since this is my fist post I figured I would introduce myself and show what I've been able to accomplish so far. I'm at the end of my first year in college aft... |
Nov 22, 2018 at 7:10am
[2 replies] Last: cstdlib, not stdlib.h … this can cause weird compiler errors every ... (by jonnin)
|
by Kreons
Help Make a Working Game of Hearts Program.
|
I'm stuck on this program, and Google doesn't seem to be working. I would've asked the teacher, but classes were canceled because of the degrading air quality. ... |
Nov 22, 2018 at 6:40am
[5 replies] Last: Ill bet :) you need a smart pass function for the pass you need to und... (by jonnin)
|
by Maxster
Only once help
|
I am trying to make this program, where the user will try to guess what my name is and it will check. If the user guesses it correct, it should only print: "You... |
Nov 22, 2018 at 3:36am
[1 reply] : I think you want the block of statements after the else statement to b... (by Satan)
|
by Maxster
Program closes after input stuck
|
I want to enter all input and after that, for the program to not end. I am stuck on this because I tried everything. Either my code is affecting this or I am do... |
Nov 22, 2018 at 2:25am
[5 replies] Last: Final code: #include <iostream> #include <string> using namespace st... (by Maxster)
|
by owmn
I need help with this c++ error please
|
So basically I have this c++ assignment for school where I need to write a recursive function, called sumDigits, that takes an integer as a parameter and return... |
Nov 22, 2018 at 12:06am
[4 replies] Last: @salem c Thank you so much! This worked perfectly! (by owmn)
|
by lost110
Printing numbers in array!
|
Hye!I needed help regarding this code. Its giving an error "Too much initializers". There are 12 slots(including 0) and 12 numbers.Whats the mistake? #... |
Nov 21, 2018 at 10:12pm
[2 replies] Last: Thanks! Got it! (by lost110)
|
Avoid printig same letters in matrix |
Hey guys I'm trying to print a matrix with random letters wiht non to repeat.I can print the random matrix but ı can't avoid letters to repeat. Can anyone help... |
Nov 21, 2018 at 9:43pm
[12 replies] Last: #include <iostream> #include <algorithm> #include <string> #include <... (by lastchance)
|
by vysero
Identifying this variable
|
I have a variable I am attempting to understand: std::vector<uint64_t> ID So this variable ID is of type vector<uint64_t> and it is inheriting fro... |
Nov 21, 2018 at 9:20pm
[1 reply] : That isn't what inheritance is. std is a namespace, which all standard... (by Ganado)
|
Imaging |
Hi, |
Nov 21, 2018 at 8:18pm
[6 replies] Last: line 13 is nonsense to the compiler. borderedImage(PixelGrid,PixelGr... (by jonnin)
|
by MrGoodCookie
Error: ld returned 1 exit status
|
Can't seem to figure out what's the problem, and i never across this type of error (error: ld returned 1 exit status; undefined reference to `Skaityti(int&, in... |
Nov 21, 2018 at 6:57pm
[2 replies] Last: oh okay, that was a dumb mistake. The teacher said something about rem... (by MrGoodCookie)
|
by vysero
Scope resolution opperator
|
Given the following method: void ToolsViewConsoleAbout_MainPage::updateBpaVerInfo() { m_bpaVerInfo = QLatin1String(""); if (TJM::bpa().ha... |
Nov 21, 2018 at 6:41pm
[3 replies] Last: exactly! (by jonnin)
|
by wengwengweng
How to take indefinite function arguments?
|
I have a simple events system like this: class Comp { typedef void (*cb)(); unordered_map<string, cb> events; void on(string, cb); voi... |
Nov 21, 2018 at 4:36pm
[1 reply] : example shamelessly stolen from the web: #include <stdarg.h> double... (by jonnin)
|
by Stauricus
code produces no output
|
hello everybody. i have no idea why this code produces no output. #include <iostream> #include <random> int main(){ int x = 10; int y = 10; ... |
Nov 21, 2018 at 3:49pm
[8 replies] Last: right, thanks everybody for the help :) (by Stauricus)
|
by DdavidDLT
I don't get right answer
|
Write your question here. #include <iostream> #include <fstream> using namespace std; // const char duom = "duomenys.txt"; const char rez = "... |
Nov 21, 2018 at 3:38pm
[1 reply] : Integers automatically truncate. From the compiler's perspective, (did... (by Browni3141)
|
by ahmedddddddd
complier problem
|
Write your question here. when I try to compile my project this happen C:\Program Files (x86)\CodeBlocks\MinGW\lib\gcc\mingw32\5.1.0\include\c++\mingw32\b... |
Nov 21, 2018 at 3:33pm
[10 replies] Last: I guess you are trying to compile with a c compiler instead of a c++ o... (by ne555)
|
by yat89
Sorting values (const double)
|
Hi everyone, I am new in c++. I got a task to sort startNode in ascending order of mapping fitness. I had review on topic for sorting values. I had try to do i... |
Nov 21, 2018 at 3:14pm
[2 replies] Last: Thanks for your help.. (by yat89)
|