Beginners (Page 78)

overloading operators
 
Hi i have a little wierd question here,on overloading operators outside classes, for me it seems imp...
[no replies]
Trouble Opening a .txt File
 
In my program that I am making, I am accessing a file that has a full name, a phone number, and a bi...
[3 replies] Last: Did you allocate the arrays memory appropriately? Try checking the er... (by tcs)
how to?
 
I'm 13 and i just started cpp... #include<iostream.h> #include<conio.h> #include<stdio.h> ...
[2 replies] Last: Soryy... I use turbo c++ so when compile.. It says something iostream ... (by Arunkcpp)
BattleShip Program
 
Now that my course has ended for C programming, I would like to learn more about coding in C. I rece...
[2 replies] Last: What a load of crap. If you're trying to get someone to do your work f... (by Immo)
by Auni38
Variable not being subtracted properly. (Very Serious)
 
OK, well, I have a big big BIG problem here. A very big one. The problem is, whenever I try to subtr...
[13 replies] Last: Hey! Finally solved it! Thanks guys for all the help you gave, and ser... (by Auni38)
Logic incorrect for adding binary
 
I have to sum two numbers with binary addition and store the value in an array using a function. I a...
[3 replies] Last: There are some "improvements" that would look good, and give greater c... (by ShodanHo)
by Immo
Any other newbies want to go through C++ Primer together?
 
I am already fairly experienced with what C++ has to offer, but I'm planning on going through C++ Pr...
[no replies]
Seg fault when trying to print names from array
 
So my program is supposed to read in a file in the format name score and store in an array of no mor...
[1 reply] : while (myIn && i < maxsize) { //... i++; myIn >> name >> scor... (by ne555)
Word by word header file
 
i want to print messages word by word as like example cout << " My name is Akash" << endl; if i wr...
[2 replies] Last: Thank u ! now i am going to try this technique ! thank u very very mu... (by Muhammad Anim)
How a*=2 work
 
From http://www.cplusplus.com/doc/tutorial/functions/ void duplicate (int& a, int& b, int& c...
[2 replies] Last: Many thanks... (by arodi007)
2D Array Program Help
 
I was assigned to write a program using a 2D array. The code was returned to me with some comments o...
[4 replies] Last: Thank you I have figured out the first question. Does anyone have inpu... (by newbieCPlusPlus1)
by rayb20
In need of immediate help!
 
I cannot figure out what I am supposed to increment in my aHistogram class since it is a vector itse...
[no replies]
When is c_str() needed to open file?
 
I'm inputing data from a txt. file using inFile.open(filename.c_str());. Everything works fine, but ...
[1 reply] : You only need to convert it to a c-string if you are not using c++11 o... (by giblit)
Returning a function as a Class Object? Confusing assignment.
 
Hello, I am attempting to do a assignment for my cse class, but I am having trouble with returnin...
[5 replies] Last: Can you post your code for this? (by sunnyinphillee)
Array Program Help
 
I am trying to create a program that will read up too 1000 non-negative numbers and print out only t...
[10 replies] Last: Sweet, thanks so much helping me through this! You're a life saver! :) (by gabelogan44)
Program that will store 10 input numbers and display highest
 
So, I am in my first beginning Cpp course and I have been grasping it very well up until this point....
[1 reply] : You'll use the loop to replace all those individual messages/inputs wi... (by wildblue)
How to traverse vector in class
 
I am trying to find the largest exponent in this vector, but I am getting an error message. The whol...
[4 replies] Last: Remove line 3 Poly terms; or change line 5 to this->terms.size(); ... (by giblit)
trying to populate an element of array.
 
Hey so I have a black jack program and I'm trying to set up a part if user wants to hit. I have an a...
[no replies]
by rayb20
Class Implementation
 
Just looking to be pointed in the right direction here, I cannot get my update function to work corr...
[6 replies] Last: I actually accidentally started a new post on this topic instead of ad... (by rayb20)
Why is my program stopping?
 
Hey I have a blackjack program and I'm trying to add a card to the players hand when choosing to hit...
[3 replies] Last: Hey guys thanks for the responses. wildblue thanks I did not notice th... (by MrBond90)
Pages: 1... 7677787980... 91
  Archived months: [nov2014]

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