Beginners - December 2019 (Page 6)

by momof4
reading from a file
 
so, I'm writing a sudoku program, reading numbers from a file to pupulate my array board . I had it...
[7 replies] Last: Hello momof4, After some testing I found this to work: for (int col ... (by Handy Andy)
How to get the external library (PDAL) running?
 
Hello, having problems setting up a console program using the external library pdal (www.pdal.io...
[4 replies] Last: Ah, ja, I can do that, and I did, with the same result as in adding th... (by Rick CXX)
creating a vector that contains a string and two int
 
Hi yall, So for a practice test, there is a problem that states: Assume that a vector of Coaster Ob...
[3 replies] Last: If the file contains superman 90 20 Then you can simply do: ifst... (by Ganado)
Function of the Max and Min elements of an Array proble
 
Hello everyone, I'm pretty new to the whole c++ deal and I would like to know what is the problem wi...
[3 replies] Last: I'm pretty sure the system("pause") isn't really causing the problem ... (by Repeater)
Modify decimal part only !
 
this program should read numbers continuously until -9999 is entered it should display int part,dec ...
[6 replies] Last: Even i lately read this but thanks to you all (by Reem Alnuaimi)
Why is there a >>> op
 
What is the difference between >> and >>> ? I’v heard they are the 'right shift' op and the 'sh...
[10 replies] Last: We should make it very clear that in C++ (and C) right-shifts should p... (by jonnin)
ALT key
 
Hello! So I am trying to get this function to work by using the 'ALT' key instead of 'a'. I've tried...
[1 reply] : IIRC, glut does not offer this functionality. You will need the GLFW s... (by Duthomhas)
Homework!!
 
hey guys! need some help writing a program involving storing array values using functions. I'm p...
[1 reply] : Homework is for you to write code so you learn from the experience. W... (by deleted account xyzzy)
Expression must be a modifiable value
 
I am creating a 2d vector "grid" in which a multiplication table is printed out. Does anyone under ...
[1 reply] : push_back takes the value to be pushed at the end of the container. Y... (by kbw)
by momof4
segmentation fault (core dumped)
 
I'm making a program to solve sudokus. I'm trying to make an multidimensional array to hold the row,...
[2 replies] Last: boy do I feel like an idiot, thanks! (by momof4)
copy data from one object to another object
 
For example I want to copy p1's name to p2's name and when I run "p2.write();" the result should b...
[7 replies] Last: thank you all (by logarech)
Any Hint How I Solve This....
 
Write a C++ program to define a class Metro with the following specifications :  Metro No  Met...
[9 replies] Last: I suggest reading the assignment: Write a menu driven program by usin... (by Enoizat)
by Brail
Best Flushing Toilet Review 2020 [Most Popular 15 Toilets list]
 
Are you the type of person that gets disgusted easily when you have to tidy up the inside of your to...
[4 replies] Last: Thanks Andy, it works now. (by Brail)
question about send folder
 
Hello, I want to get multiple images from a folder on the server. And then Send to my friend with a ...
[2 replies] Last: frames per sec. hes trying to do video via images from the sound of i... (by jonnin)
friend class problem
 
Hi, i can't type y.note in ***** section. How can I do this with friend class? #include <iostrea...
[4 replies] Last: oh thanks (by logarech)
Dijkstras explanation needed
 
Hello, I've been trying to understand dijkstras algorithm, but I'm stuck. Could someone explain this...
[2 replies] Last: If you want to understand an algorithm it's usually easier to read som... (by Peter87)
Having issues reading in a string.
 
What am I missing? When I try to read in my string with a getline there's an error. If I just try...
[2 replies] Last: Mixing >> and getline often leads to problems. I usually recommend one... (by Peter87)
Infix to Postfix Algorithm
 
Write your question here. I am trying to write an algorithm using stacks that converts an infix expr...
[2 replies] Last: Replace ns += st.top(); with ns += ' '; ns += st.top(); ns ++ ' '; ... (by dhayden)
Searching a Strucutre Array
 
Hello, I'm having trouble with returning a matching value from a function that is passed a structure...
[4 replies] Last: I've got her running great now, thank you sir! (by Snickelfritz)
Quiz in c++
 
I have to make a quiz in c++ and my teacher said that i must do it by a text file. He told me to put...
[1 reply] : design before you code! first, lets design that text file. something... (by jonnin)
December 2019 Pages: 1... 45678... 13
  Archived months: [nov2019] [jan2020]

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