Beginners - November 2016 (Page 14)

Spinner progress bar. Can't find the bug.
 
Surprisingly, this is a beginner project that I am completely unable to find a good example of or an...
[4 replies] Last: Thank you for the suggestions and advice! I haven't touched C++ in man... (by TimmyFangs)
by Junie
Ctrl 1 and Ctrl 2 textpad
 
Ctrl 1 = Compile Ctrl 2 = Run I cant use ctrl 1 and ctrl to compile and run my code :( Can s...
[5 replies] Last: what application are you using for writing code? (by shadder)
While loop error
 
Hello, on line 50 in my else I am attempting to add even numbers between to numbers entered in by a ...
[5 replies] Last: Well done! FWIW a couple of points: 1. 'mod' is OK but '%' is better ... (by closed account 48T7M4Gy)
Code Efficiency
 
I've created a code that calculates the resistance of a resistor based on the color combination the ...
[5 replies] Last: A few months ago, I hacked together a program that does exactly this. ... (by mbozzi)
by illst
School Courses
 
I was assigned to write a program that streams a text file. The attached file lists the courses ...
[2 replies] Last: I have not, I have just tried getting the meat of the program to run f... (by illst)
Vector Problem
 
If the loop finds a repeated number, i want to delete that number. Im not sure what im doing wrong (...
[11 replies] Last: Thanks a lot that worked. I used the first loop to fix the vector, th... (by fivestar)
by mgala
Time Travel program not working properly
 
Hello I'm writing a program which calculates the difference between two inputted times, current and ...
[3 replies] Last: Converts c to its lowercase equivalent if c is an uppercase letter an... (by integralfx)
Need faster program (time limit exceed)
 
I have the following program that checks if a number and the sum of its digits is prime. I would lik...
[3 replies] Last: There are a number of methods and algorithms that can speed up your pr... (by cire)
by ovHel
C++ quiz program
 
I've created a c++ program which contains 25 questions, 4 answer choices for each, and a correct ans...
[1 reply] : http://www.cplusplus.com/doc/tutorial/files/ For text files (by muffsez)
What does this code mean?
 
My professor gave us this code last class as an example and I am still confused as to what the main ...
[7 replies] Last: http://stackoverflow.com/questions/1641957/is-an-array-name-a-pointer-... (by closed account 48T7M4Gy)
Password Verifier
 
Write your question here. #include "stdafx.h" #include<iostream> #include<cstring> #include<ccty...
[3 replies] Last: @integralfx do { cout << "Enter your password:"; ... (by Ratako)
URGENT!!! Help!!!hash program
 
Hello I need help with my programming assignment on hashing. I have all the parts working good separ...
[1 reply] : What specific problem are you having? How is this urgent, anyways? How... (by Ratako)
Timed processing in a thread in a CLI app? 8ms needed
 
I'm trying to write a simple CLI app that needs to send data to another machine every 8 milliseconds...
[15 replies] Last: Pass the information about the callback thread to the function. For in... (by JLBorges)
iterate through a 2D array returned by a function
 
assuming i know the length of my dynamically created 2D array, how do i iterate through it? the a...
[4 replies] Last: int** ary; ary = new(int* ); for(int i = 0; i < ROW; i++) { ary ... (by gunnerfunner)
How to Re run a program without exiting the prompt
 
Hello, I have a question that I can't seem to find anywhere online (probably because its too wordy w...
[3 replies] Last: #include <iostream> #include <cstdlib> void clear(); int main() { ... (by boost lexical cast)
by sja
Wrong execution?
 
Could someone help me out and point out what's wrong with this code?No errors are showing up in my c...
[2 replies] Last: Your constructor is expecting two separate integers. Do you mean to c... (by wildblue)
Trying to use getter functions as parameters...
 
So I am trying to do this, and to be fair I'm not even entirely sure at this point if this is someth...
[2 replies] Last: Here: TrainingSword.setSwordWeight(getDamage(), getSwordDurability(),... (by mbozzi)
Print ascii table
 
Hi! I am stuck here with printing an ascii table from decimal. My code (and comments for doubt) is:...
[12 replies] Last: Sorry [quote=FurryGuy]I earlier provided two other code examples, take... (by longberns)
Functions
 
Good afternoon: I am working on a code to use a function to determine circumference of a circle. ...
[1 reply] : The error message should contain also the line-number of offending syn... (by keskiverto)
by elay
aggregate struct object
 
should i still pass the object of an aggregate struct as const reference? does that still differs in...
[1 reply] : This topic is extensively covered, try simple search like "pass by val... (by gunnerfunner)
November 2016 Pages: 1... 1213141516... 44
  Archived months: [oct2016] [dec2016]

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