Beginners - October 2019 (Page 9)

Ncurses.h function problems
 
I was looking at the ncurses.h header today because I discovered I had it already, and I just basica...
[3 replies] Last: Thanks guys! That worked, I was just linking it wrong. @Duthomas y... (by highwayman)
While Statement Isn't Being Read Correctly
 
I'm trying to write a function that allows a user to enter a name. The name cant be over 10 characte...
[2 replies] Last: The issue is with your condition here for the loop: while (decision ... (by zapshe)
What does the clone_prefix used for?
 
I am studying coding by watching videos. The guy has the keyword clone_prefix in his code. I am wond...
[2 replies] Last: Oh, ok lol, it is a variable.. It looked like a keyword to me at first... (by dexter1224)
by Ocine
Help with error codes in RSA code
 
I am trying to make a code that tests the throughput performance of RSA with given parameters. I'm g...
[6 replies] Last: What are you linking with? A cursory search shows you need to link wit... (by Ganado)
testing validity of ISBN
 
Hello, I am having trouble with a homework assignment where I need to check if the ISBN code is vali...
[7 replies] Last: In case it isn't clear: Duthomhas' code does not use std::string. It's... (by Ganado)
Morse Code Project Help
 
If we are not allowed to use arrays in this project, I am confused on how to make "a morse code get/...
[9 replies] Last: A slightly obscure way is to define your whole morse conversion dictio... (by lastchance)
by Ocine
Extended Euclid Algorithm Help
 
I am trying to implement a code for Extended Euclid Algorithm that takes the input of two values (u,...
[2 replies] Last: Thank you for looking at it. I had -176 at first, but I thought both n... (by Ocine)
Help cleaning up a verbose loop (loop to remove additional white space from an array)
 
Hello, I am trying to create a program that allows a phrase to be stored, but the program will clean...
[6 replies] Last: It worked great. Thanks again. (by confundido)
Linked List question, pointer comparasion.
 
ptr->getNext() == entry_ptr can someone tell me how this is being compared? I know that pointer are ...
[1 reply] : they are compared as if integers, usually of the machine's word size, ... (by jonnin)
i can't change the text colour!
 
Write your question here. I'm trying to find a way to change the colour of the code. It worked a...
[6 replies] Last: I suppose if I had ever posted my own library anywhere it could be cla... (by Duthomhas)
4 digit lottery random generator
 
Hello, I'm trying to create a random four digit lottery number generator that outputs five differ...
[4 replies] Last: I havent got anywhere yet. Don't know where to start Learn how to ge... (by deleted account xyzzy)
by hbcpp
Pass function Pointers as argument
 
I want to pass a function pointer, which is an argument, to another function taking a function point...
[3 replies] Last: I just want to say that I got it working I edited this line in functi... (by hbcpp)
FUN with FUNCTIONS
 
Write a program to read in the dimension of a box, length, width and height. You are to compute the...
[7 replies] Last: Solved the program.. I added while(!inf.eof()) {functions} (by CodeNovice01)
String functions - How do they work?
 
The 'name' (variable?) in line 6 is declared using some string functions from <string.h> cl...
[6 replies] Last: the State Board of Education refuses to change the Computer Science s... (by dhayden)
Simple binary tree insertion
 
Below is the code for BST. But what about a simple binary tree? If I want to do insertion of nodes f...
[8 replies] Last: Thanks, everyone! So I'll stay on Bst! (by lost110)
Reading a .txt file into Vector
 
Hello this is simple and fast question. How do I make the while loop (the best way) to read a file ?...
[13 replies] Last: [quote=ganado]You could also find/make a C++ library that could call "... (by lastchance)
by Bopaki
Program bombs out before printing the list
 
At line 15 in the main() function the list does not print: #include<iostream> #include<cassert>...
[14 replies] Last: Does that mean that you've finally taken the advice you've been given ... (by MikeyBoy)
Drawing a Circle with Class in C++
 
I'm currently writing a program where I have to draw three circle shapes from a class(data structure...
[1 reply] : Read line 173 out-loud to yourself: for(int j = 0; j <= 40; i++) And... (by Ganado)
reading ppm into vector
 
Hi, I'm running a test on my code to see if I can view the image I read in after I save it into a di...
[10 replies] Last: I changed it. I really appreciate the help y'all. Especially since y'... (by jjordan33)
Am I using "default" correctly in switch statements?
 
I am doing some practicing outside of class, and am teaching myself how to properly use "if then" st...
[6 replies] Last: Thanks Ganado! I copied and pasted the code into a new project file an... (by raisetheroof00)
October 2019 Pages: 1... 7891011... 18
  Archived months: [sep2019] [nov2019]

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