Beginners (Page 4)

how call functions in c++
Write your question here. Hi I have program have many functions I want if the first functions vali...
[2 replies] Last: Here is another simple program to demonstrate what youre saying so hop... (by kingkush)
stop errors c++
Hi everyone I have problem in my visual studio when I run the the program I find a lot of errors a...
[1 reply] : Fix the first error and recompile. Subsequent errors are often a resu... (by jonnin)
Vector of Vectors Problem
Hey guys! My question concerns an issue I'm having with my code. I'm writing a program that creates ...
[1 reply] : Found out my issue after looking at my code. Didn't create the vector ... (by Geekster123)
string in function
Main idea is to make function that will include string, and I don't Know what I need to fix. #in...
[1 reply] : strings must be in quotes, is all. try "red" here: int main() { cout... (by jonnin)
about function calls from pointers to derived classes
Hello programmers! I need your help to correctly call a function from a derived class, here the e...
[7 replies] Last: compiler error: C++0x auto only available with -std=c++0x or -std=gnu... (by keskiverto)
Write your question here. how do I put if else statement what I got but get a lot of errors imp
[1 reply] : This code is Java, not C++. (by helios)
fstream remove() function isn't deleting this file
Hi, I'm trying to make a puzzle game in Dev-C++, and one of the solutions is manually renaming a tex...
[1 reply] : Why are you opening the file if you are trying to delete it? That's pr... (by tpb)
Using the flood fill algorithm in a multidimensional maze.
I am very new to C++, and I recently made a maze generator by using 2D arrays. However, I need to cr...
[5 replies] Last: ok. adding the mouse... play with it, see if you can figure it out. ... (by jonnin)
Populating an array with data from in ifstream
So I am working on a class lab and I am pulling a bunch of doubles from an infile and storing them i...
[2 replies] Last: This was super helpful man thank you so much! (by passiontrip)
copy data from function to a var.
Hi guys, hope you're doing great! I would like some help with this. I know is a very noob and roo...
[5 replies] Last: it depends on what you really want to do. for a simple, single threa... (by jonnin)
std::vector range checking?
Hi guys I wrote a function to find the highest number in an array and a vector,it should work on bot...
[2 replies] Last: The .at() function validates the index and throws an exception if it i... (by Peter87)
Program problem reading specific lines from a vector in a file in c++
Hello all! I am new to the language of C++ and am taking a summer class on Data Structures. MY profe...
[2 replies] Last: You also need to implement your constructors. Unless your using the o... (by jlb)
by zapshe
Accessing computer components (Camera)
Hi, I was wondering how to open up the camera on a computer using C++. I found the "OpenCV" library,...
[9 replies] Last: Thanks again everyone ! I just finished with VcPkg and it worked great... (by zapshe)
Setprecision use
How do format my output to 2 decimal places using setprecision //Credit Card Interest Progra...
[4 replies] Last: tpb is correct on the precision. I'm assuming that the lines cout <... (by SM Bamaboy)
Code pointers/cleanup for working program
I'm just looking for some pointers on the following code. Everything worked in the end but I feel l...
[4 replies] Last: Thank you for all the replies and critiques. I will review the code an... (by justStarting)
Application That Uses Email as Input
Hello all! I recently got a summer internship developing a small program for a manufacturing comp...
[1 reply] : the interface is unrelated to getting the emails. QT is a GUI develop... (by jonnin)
I need a little help
Hi there, i tried for a lot of time to do a project for my college but for me it sounds fkin impossi...
[9 replies] Last: Oops yes I just meant Visual Basic. Thanks. (by Manga)
expected ';' before int (help pls)
I am getting the error: error: expected ';' before 'int' This is my code that I am trying to run...
[3 replies] Last: I forgot to put ';' after std. Its solved now :D (by PuruSingh)
lists and iterators - check null
I'm trying to use lists and iterators, I need to initialize a list and check if it has been initiali...
[5 replies] Last: An iterator is not a pointer. It cannot be null. What you normally do... (by Peter87)
Pages: 123456... 33
  Archived months: [apr2018]

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