Beginners - September 2014 (Page 42)

A fragile program
 
Guys, are there any solutions to make my program not so fragile that easy crash? And by the way, why...
[no replies]
input string with space
 
How to input string with space in vector container?
[5 replies] Last: I found the answer for string input in vector container. Actually I ne... (by nileshjdarji)
Vector entry
 
How do I enter below 2 sentences in a vector object? It is cold today. Winter is about to start....
[2 replies] Last: I found the answer. Actually I need to declare a string variable say f... (by nileshjdarji)
Const_iterator implementation
 
Hi everybody, I need some help for the creation of a const_iterator. I've made a 'stack' class where...
[4 replies] Last: Ok now I understand! Thank you very much :) (by Gabry9284)
print double precision
 
Suppose , I have double float a= 40.2 and a pointer to a file I want to print it in the file as 40....
[4 replies] Last: I see... thanks :) (by mutexe)
by Blank
Passing an array to a function
 
I have been trying pass the array to the function but i cant seem to get it right. every time i comp...
[6 replies] Last: #include <cstdlib> #include <iostream> const int SIZE = 3; void g... (by closed account 48T7M4Gy)
Lottery Lab
 
I am working on my set/multisets lab for school. The lab that I am working on is a Lottery lab. My...
[4 replies] Last: #include <iostream> #include <vector> class Contestant { public: v... (by mutexe)
Explain to me iomanip
 
Can someone explain to me what this statement does; cout << fixed << showpoint << setprecision(2)...
[4 replies] Last: ok that literally did not explain my question at all. If you took the... (by kbw)
string
 
Please help with this code. [#include <iostream> #include <string> using namespace std; in...
[3 replies] Last: what is your worry about the code? (by shadowCODE)
Problems related to calculation/cin.getline();
 
Hi experts,I want to ask is there any mistakes of my calculation part? (cin>>night; and cout<<roomf...
[3 replies] Last: For the first question, I don't really understand what do you mean by... (by jlb)
Just started C++. Can't believe I can't find an explanation for this!! Please help.
 
So I just started self-teaching C++ yesterday and I'm already stuck. It's terrific learning it so fa...
[8 replies] Last: wow thank you all, I see the error in my ways. No! such a simple solut... (by d1ff1cul1010)
I need you to write this program for me
 
A dancing group with 10 dancers wish to increase the numbers of dancers they have by recruiting. The...
[5 replies] Last: Use functname() to call a function, (by LendraDwi)
Problem in Code (Guessing-Game)
 
I am trying to create a guessing game. Everytime I execute, it only says the "couts." It lets me inp...
[2 replies] Last: This wasn't an assignment. It was just goof-around code. :P Thanks dud... (by FusionPointInc)
Im a Beginner and im looking for a mate to program with in C++
 
I am totally new to c++ and am looking for a mate who wants to program with me. or even someone th...
[16 replies] Last: Gmail : esamhassanelbana@gmail.com skype : thelasthunter96 (by meshb)
Issue with loan calculation program.
 
Hi, I'm having a small problem with this program I'm trying to write. It gets to the payment period ...
[4 replies] Last: Alright, so now I've solved that issue, my last issue is with my math ... (by bigpurpleharness)
by ar2007
Xcode problem: ld: symbol(s) not found for architecture x86_64
 
Hello! I tried to create a header, where I want to insert the functions that usually use, but when I...
[no replies]
Looking to form a Learner's Group
 
I'm looking to form a group of beginners so we can code and learn together (Is more fun and easier t...
[1 reply] : http://www.cplusplus.com/forum/beginner/141889/ (by megatron 0)
by h4ever
how to compare string?
 
I have a condition and I want to evaluate the it as true when dirname is "0". Now it does not print ...
[1 reply] : dirname is a pointer to your dirname array. You're trying to compare a... (by Ganado)
by AWASWA
Help With Desk Program
 
I am trying to write a program which will prompt the user for the type of wood needed to build a des...
[2 replies] Last: Figured it out. I needed to make WoodChoice a string and then use get... (by AWASWA)
September 2014 Pages: 1... 4041424344... 51
  Archived months: [aug2014] [oct2014]

This is an archived page. To post a new message, go to the current page.