Beginners

by admin
Welcome -- read before posting!
 
Welcome to the beginner's forum in C++.com! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
 
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duoas)
Quick theory question about STL algorithms
 
Hi, so here is the question : How does an STL algorithm take a container as an output argument? I ...
[no replies]
Need help with temperature program that involves arrays and functions
 
Hello everyone, this is my first time on this site and my first post. First off i am taking a c++ cl...
[no replies]
error: expected primary-expression before... (1,2)
 
I can't figure out these errors. Every function call I make in the cpp file gives me these errors: ...
[29 replies] Last: https://www.youtube.com/watch?v=Iho2EdJgusQ It seem like you're using... (by mt106250)
Making a Theater Program
 
Hello, I'm looking for help with creating a program that makes a multidimensional array and the user...
[1 reply] : @azehm628 Not sure what your numbers mean in the array, but here is a... (by whitenite1)
by enemy
a.side ??? Is a an object???
 
Hello! Please, can someone make me clear the construction a.side in next example? Does a not look l...
[4 replies] Last: Oops, sorry about that. I have edited my answer to be a little more cl... (by BlatantlyX)
need help on string objects homework
 
Line 42: it says "no matching function call to std::basic ifstream char..." and then in the next lin...
[no replies]
Finding highest/lowest number from an input file
 
Hello all, I have an assignment that I am needing some guidance on. I need to find the highest/lo...
[2 replies] Last: It would be easier to make two separate functions for max and min, and... (by Arslan7041)
Bigint Multiplication Help C++
 
Here I've got a SafeArray(not that safe but my teacher said it's fine) class and a bigint class. My ...
[11 replies] Last: @fun2code I was going to suggest we take this to PM, but then I rea... (by fg109)
Dynamic Array using Data File
 
I have a data file called "data.txt" which contains an unknown amount of random numbers. I was succe...
[3 replies] Last: Your problem is not with the dynamic array, it is creating an array wi... (by BlatantlyX)
Printing Message log for Flight transaction
 
I have an assignment involving parallel arrays in which I have to update data of flight transactions...
[1 reply] : Anyone? (by Arslan7041)
error with printing out stars?
 
the error is in main where i call PrintChar. it says 'h' is undefined but i thought i defined it wit...
[1 reply] : The 'h' and 'w' names are only defined inside the functions 'setHeight... (by ShiroAisu)
by Thecal
Output from array is incorrect. Help please
 
Thanks for taking the time to read my post. I am writing a program where I read in data from a file ...
[7 replies] Last: Ah, I thought it meant that my braces didnt pair up correctly with ea... (by fg109)
by Bocian
Need help writing class to binary file.
 
Hello, im trying to write a class into a binary file, although i am getting some errors when i try p...
[3 replies] Last: I was wrong about what problem I thought you would have in using strin... (by fg109)
Can a function return an arbitrary container?
 
Let's say I have a "construct" function. The construct function takes an argument that specifies ...
[3 replies] Last: (codes not tested) If you use a function template the compiler will cr... (by BlatantlyX)
by AT8795
Writing a Function with an Array
 
Hello everyone. I was attempting to make a code for a problem that has 2 parts. A: Write a funct...
[2 replies] Last: Oh shoot. I changed that on the actual program that gave me the errors... (by AT8795)
Trouble initializing vectors in classes
 
Hello all. This is my first time posting, so please let me know if I do something to offend/frustrat...
[1 reply] : You cannot assign values to your class member variables unless they ar... (by fg109)
Rotate a string in C++
 
Hello, I have to write a function that takes in 2 parameters: a C-style string, and an integer val...
[5 replies] Last: Okay here is an example. assume the string str is currently storing ... (by danacaty)
by as4mvp
PLEASE NEED HELP: Sorting Dynamic Array while reading file
 
I have an assignment in which I have to read from a file called ("random.txt") output the total and ...
[2 replies] Last: The while loop inside my for loop was an attempt to read the values. I... (by as4mvp)
Pages: 123... 94
  Archived months: [feb2015]