Beginners (Page 19)

How to improve
 
Write your question here. Hi guys I have a small problem, right now I do not know how to improve. ...
[1 reply] : Hello Vdani98, Welcome to the forum. It may be of some help to look ... (by Handy Andy)
First program troubles.
 
Hello all, absolute beginner here. My program compiles and runs just fine but it's not doing what it...
[3 replies] Last: That's a great help guys, I actually understand where I went wrong the... (by BigPotato82)
Getting a stack smashing detected when user puts in higher numbers
 
Hey guys. just a disclaimer this is a homework question. The program takes user input and the user s...
[2 replies] Last: int main() { int arraySize; int newArray ; //... } After ... (by icy1)
what is the use of single colon in c++.
 
i do not know what is the use of single colon in c++ and how to use it and where to use it. may one ...
[4 replies] Last: As per keskiverto's link, in something like class ComplexNumbers { p... (by icy1)
by nix215
Not sure how to use ReadData Function
 
We were asked to create a program that register user input into ReadData function and use the input ...
[1 reply] : [quote=nix215]I am not sure what do I need to put in the body of the R... (by lastchance)
Arrays
 
This is my updated program but it is telling me the file will not open. //Matthew HW9 #includ...
[11 replies] Last: What numbers does your input file contain ? Does it have any negative ... (by Thomas1965)
write() in some specific buffer data arrangement mechanism
 
Could anyone advise on https://gist.github.com/promach/9d185d35a6e6db0da10992a19c36f754#file-host-cp...
[1 reply] : I have finished coding the R, G, B arrangement formatting mechanism, y... (by user123random)
by beemo
replacing the arrays by one array of structure
 
i have been scratching my head with this....as practice for my exam tomorrow im trying to change the...
[6 replies] Last: ok sorry i wasn't clear so in a previous example we were to read file... (by beemo)
Please
 
Hello everyone, This is part of my code. I cannot get this to stop asking for money. Even when the ...
[7 replies] Last: thank you all for your input. I was able to finally get this done =) (by Anahuac18)
help with adt problem
 
Hi, So I'm trying to write a code that reads in from a file a book title, number of authors, autho...
[2 replies] Last: You should check that the file opened before reading from it. (by tpb)
cin.getline
 
Am I using cin.getline correctly? building a program using arrays to store data for user inputted em...
[3 replies] Last: You have a getline just after extracting an int , so you will read ... (by boring)
changing variable with key input
 
Hi guys, I am trying to write a code so when I press a key it changes the value of a variable fro...
[1 reply] : When you press enter, you type a character (newline), so maybe try usi... (by boring)
by HUMMAN
Detecting Enter key
 
Hello, i searched in internet about how to detect enter key, yet my trials of getline(), cin.ignore(...
[2 replies] Last: unrelated but there are nonstandard ways to trap the enter key, if you... (by jonnin)
Getting an array of max values
 
So I have an array of integers. I want to take the biggest integers from that array and put it into ...
[5 replies] Last: ... this is something I would not have even looked for or expected to ... (by jonnin)
fstream help
 
Hello everyone, I am having a hard time figuring out how to form a circular doubly linked list from ...
[5 replies] Last: You're not using classes correctly. You shouldn't have any global va... (by tpb)
Question about snippet from binary search tree
 
I am wondering why the constructor for the binary search tree would want to give left node and right...
[3 replies] Last: Nodes are just clueless actors in a giant play. They know nothing. T... (by icy1)
Error when returning structure in function?
 
I am accepting a structure array as an argument, and trying to return that structure array. I am ...
[5 replies] Last: Example with helper methods for parsing and outputting Cost s to stre... (by icy1)
.txt file question
 
Hey all, I have a big program project that I'm working on that's supposed to do the following: "The ...
[12 replies] Last: Hey Handy Andy, Thank you so very much for your time and dedication t... (by cmangum3)
When ever I try to run this program Eclipse immediately crashes
 
I tried double checking for infinite loops but I can't seem to figure it out. Please help? ...
[3 replies] Last: it is not legal to make a run-time array. Some compilers will do it, b... (by jonnin)
Simplest way to concatenate String + Int?
 
I have a String and Int that I want to concatenate together. An example: String a = XY4THFUD39T...
[6 replies] Last: Variadic style #include <iostream> #include <string> #include <sstr... (by megatron 0)
Pages: 1... 1718192021... 40
  Archived months: [mar2018]

Cannot post in this page. To post a new message, go to the first page.