Beginners - November 2018 (Page 6)

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...
[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 o...
[6 replies] Last: > I can't use arrays nor strings in the task, nor if statements I pr... (by JLBorges)
Functions
 
Hi so i need a little help with my program, because i need to put two numbers and choose my operand ...
[2 replies] Last: the variable d must be type char.the declaration of variable d in your... (by johnniewalker97)
Question and Clarify
 
1. A quiz from site, "convert the following numbers to C++ style scientific notation. Using an e to ...
[4 replies] Last: Zeros that are written where otherwise unnecessary are significant. t... (by jonnin)
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 accomp...
[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 ...
[5 replies] Last: Ill bet :) you need a smart pass function for the pass you need to und... (by jonnin)
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...
[1 reply] : I think you want the block of statements after the else statement to b... (by Satan)
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 t...
[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, calle...
[4 replies] Last: @salem c Thank you so much! This worked perfectly! (by owmn)
Printing numbers in array!
 
Hye!I needed help regarding this code. Its giving an error "Too much initializers". There are 12 slo...
[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 ...
[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 vari...
[1 reply] : That isn't what inheritance is. std is a namespace, which all standard... (by Ganado)
Imaging
 
Hi,
[6 replies] Last: line 13 is nonsense to the compiler. borderedImage(PixelGrid,PixelGr... (by jonnin)
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 retur...
[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() { ...
[3 replies] Last: exactly! (by jonnin)
How to take indefinite function arguments?
 
I have a simple events system like this: class Comp { typedef void (*cb)(); unordere...
[1 reply] : example shamelessly stolen from the web: #include <stdarg.h> double... (by jonnin)
code produces no output
 
hello everybody. i have no idea why this code produces no output. #include <iostream> #inclu...
[8 replies] Last: right, thanks everybody for the help :) (by Stauricus)
I don't get right answer
 
Write your question here. #include <iostream> #include <fstream> using namespace std; ...
[1 reply] : Integers automatically truncate. From the compiler's perspective, (did... (by Browni3141)
complier problem
 
Write your question here. when I try to compile my project this happen C:\Program Files (x86)\...
[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....
[2 replies] Last: Thanks for your help.. (by yat89)
November 2018 Pages: 1... 45678... 24
  Archived months: [oct2018] [dec2018]

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