Beginners (Page 79)

by Aideux
Need help identifying smallest and largest numbers
 
So I have just started working with C++ this semester, so I'm fairly new to working with all of the ...
[5 replies] Last: Ahh ok. Thank you. Sorry about that, I'm pretty impulsive. I really ap... (by Aideux)
by kiri
Whats wrong with this code?
 
Anyone? #include <iostream> #include <fstream> #include <string> using namespace std; ...
[6 replies] Last: lol, Thank you (by kiri)
Having issue
 
How do I input file string seperated by commas and print. The string needs to stop after each comma....
[1 reply] : Use the third argument of std::getline : std::string blah; std::getl... (by LB)
by tbrady
Issues with fabs pow and sqrt functions
 
I've been writing code for my computer science class and whenever I use the functions fabs, pow, or ...
[1 reply] : Please post a minimal example (10 lines or less complete program) that... (by LB)
Reformat output txt file every 6 commas
 
I am trying to make a code which takes unformatted data from a .txt file and re-formats it into a ne...
[5 replies] Last: Thank you very much Obscure. I am not exactly sure why mine was givi... (by Tbone413)
Lost on the Math, makes code writting harder
 
Hey I'm totally lost on the math behind this problem I'm trying to figure out. The problem says to ...
[4 replies] Last: Thank you so much. My girlfriend somehow understood what you guys were... (by ProgrammingIgnorant)
operator overloading : unary operators
 
use the following rules of thumb to decide: If it is a unary operator, implement it as a member fun...
[3 replies] Last: Hm, I don't know the answer. The long conversation in the comments doe... (by LB)
by aver97
C++ Reading a file and it's individual characters to output to a table in the console
 
I have a project due tomorrow that I've been working on for a while and I'm just plain stumped. This...
[1 reply] : You have some issues. You should be reading the input file character-... (by Texan40)
by asrebo
2 classes before function definition
 
what is the meaning of two types/classes before function name or is that something else? thanks ...
[1 reply] : 'LRESULT' is a type cast to an otherwise obscure number. Microsoft doe... (by Computergeek01)
can't printf string variable
 
cout works fine with string array. Why not printf?? How to fix that? Thanks a lot. const strin...
[1 reply] : You can't use printf() to print a std::string because this C function ... (by jlb)
COPY CONSTRUCTOR
 
What is a copy constructor and when is it called?
[7 replies] Last: no, they are passed by whatever way you have specified in the prototy... (by dhayden)
the program runs straight through wont stop.
 
I just started learning language this year so I'm very new. i ran into a problem with this lottery p...
[3 replies] Last: To ignore everything in current line you can do: #include <limits> //... (by MiiNiPaa)
Why does operator+ takes its left operand by copy rather than by const reference?
 
inline X operator+(X lhs, const X& rhs) { lhs += rhs; return lhs; } Why does operator+ ta...
[8 replies] Last: You list all the member variables on line 12 and again on lines 16-17.... (by keskiverto)
What's happening with cin.getLinte()?
 
Hi, my name is Thiago May Bitencourt. I'm learning c++ based on book c++ primary Plush. I'm just a ...
[4 replies] Last: Ok... Thank you guys! (by mbitencourt)
what does program supposed to do?
 
I need to make a class that will work with this program and my question is i have the big five,and ...
[3 replies] Last: We have no way of helping you unless we know what Chain is and how i... (by LB)
Am i right How is my code ??
 
If error then highlighted #include<iostream> #include<conio.h> using namespace std; float...
[6 replies] Last: thnx @LB (by ahtisham755)
Sieve of Eratosthenes code problem
 
Good day. I am new at c++ and while doing an exercise about the Sieve of Eratosthenes i've met a...
[6 replies] Last: Thank you very much. It helped and I understood what I did wrong. (by Pauletto)
Need a loop to display nodes of a linked list
 
Hello, the objective of the code is to have 11 players in a linked list. I have to have the the cons...
[3 replies] Last: Does this have to be a linked list, or have you been asked to do a col... (by dhayden)
by cibide
Can't find error
 
Guys, I am trying to find the largest prime of this huge number but I can't find the error on the co...
[3 replies] Last: Well, I think there's a problem with the logic, and it's one thing to ... (by tipaye)
improve it at will.
 
The purpose of this code is to use an array of pointers and one function that returns a pointer. Pla...
[7 replies] Last: switching to ANSI C: int main() {return 0/printf("this is a sentence!... (by MiiNiPaa)
Pages: 1... 7778798081... 100
  Archived months: [jan2015]

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