Beginners (Page 9)

Error: expected ';' before '{' token.
Hello! I am trying to make a simple function that outputs a grade for a person based on the amount o...
[8 replies] Last: Thank you all so much! I found all the bugs you pointed out and fixed ... (by cplusone)
going from numbers to barcode
I need help going from numbers in a code and encoding this into a barcode in a function. Honestly I'...
[8 replies] Last: @ppate215 as mentioned above Line 49 is just for Debugging purpose bec... (by Atyab)
plot a 2d line
Hi, I'm new to c++, and now I need to plot a line according to several points(x,y). Is there any eas...
[2 replies] Last: SFML 2.1: sf::Vertex line = { sf::Vertex(sf::Vector2f(50,50)); ... (by memberfunction)
strtime issues
Im kinda stymied by the fact that _strtime is in the 24 hour format.. Can somebody point out how to ...
[2 replies] Last: You should give it ... (by giblit)
Code continues to repeat
My first output keeps repeating (i.e. number = 24 | output= 00000000000000.... Could someone please...
[2 replies] Last: CORRECTION: I was able to resolve the problem, thanks so much. The po... (by pasports10)
stuck at beginning of task
I've been having problems displaying 36 numbers in a .txt file in 5 rows as a part of a 2d array. ...
[14 replies] Last: endl is used for printing new line. It's obviously. Just changed it ... (by lsk)
by pudgz
Creating multiple output files using ofstream.
I've been working on this sales problem that has me write a program that takes in a list of salesper...
[2 replies] Last: wooo! awesome! thank you so much! your comment on my line 58 saved me ... (by pudgz)
by CDavis
Dynamic Allocation
So I'm having a hard time getting the concept of this and not really sure where to go with this code...
[1 reply] : This is a C++ forum. You are posting C code. The terminology in the ... (by cire)
problems with my function
Hello I have been writing a function in c that reads data from a file of this format: the_dragon!...
[2 replies] Last: that fixed the infinite loop but its still not reading the data into h... (by tomplusplus)
by talya7
Format of Output and put_money
I am trying to format my function so that the output has a space between the headers and using put_m...
[2 replies] Last: Dollar signs before the amounts do not appear when I do this. Also the... (by talya7)
code help
Why doesn't this work? #include <iostream> using namespace std; int main() { int x; cout << "wha...
[6 replies] Last: Thank you! (by Mytricks)
getline(cin, VAR) not working in do/while loop if repeated
Hello, I would appreciate some help on this. below is my program so far. The "isinputgood" functi...
[1 reply] : nevermind. I needed a cin.ignore() and cin.clear() after line 45 for t... (by Entropy)
by dev144
[1 reply] : No idea what it means by using a for loop and a while loop, but here'... (by Ganado)
working with text files
How could this be modified to also output the first and last word in the file? #include <i...
[3 replies] Last: also how could i find the longest word (by kzaiter)
functions documentations?
hi every one i was watching tutorials on YouTube and one of them mentioned there is something call...
[3 replies] Last: Many thanks for all (by maher12)
program problems
I am new to c++ and have a problem with this program. I have one choice weather the person is full t...
[2 replies] Last: if ('F') is almost certainly not what you want. Any non-zero value (... (by Chervil)
calculate all possibileties
my probleme is I want it to calculate all possibileties for example the String "AB" I want the in...
[no replies]
Function Problems
My compiler is showing the error: 'y' was not declared in this scope. I can't seem to find the sour...
[7 replies] Last: I don't think you looked at either of those links if you are asking me... (by giblit)
by yepMe
Copy constructor issue
Hi all, We know copy constructor is required either of the following scenario : 1) when we try to i...
[8 replies] Last: The technical reason is a temporary object cannot bind to a non-const ... (by ResidentBiscuit)
Double free problem (linked list)
Hi there! I implemented a linked list as a class in C++. Such a linked list just contains three p...
[4 replies] Last: You can use smart pointers to handle the cleanup. They're available i... (by discofire)
Pages: 1... 7891011... 88
  Archived months: [may2014]

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