Beginners - March 2014 (Page 9)

Only constructors take member intializers
 
I'm working on a code for my Computer Science class and in this project we have to make a knight jou...
[3 replies] Last: weaponStats is not a constructor, a constructor has the same name as... (by nvrmnd)
getting error
 
i am trying to convert 24 hour notation to 12 hour but i am getting an error can anyone help me ? ...
[5 replies] Last: You are welcome! (by eyenrique)
by layanM
loop program
 
I really need some assistance [# include <iostream> using namespace std; int main() { ...
[8 replies] Last: really thanks guys i appreciate your efforts thnks a lot again (by layanM)
How do you read information from a file and send it to a array?
 
Okay, I am lost on how to send information from a file that has names and numbers into the arrays s...
[1 reply] : It depends on how it's stored. Generally, if you're the one defining t... (by MatthewRock)
trouble with a simple function
 
So i have some code that is coming up with an error on line 15 saying it needs a ; can some one expl...
[3 replies] Last: thank you so much you are amazing!! (by owenkmc)
Memory Fault- Core Dumped
 
Hi all, I am starting to learn about how to use stacks. However I am having a problem with poppin...
[4 replies] Last: Is it the same debugger as the gdb debugger? I've never known there wa... (by mlholder)
[Homework help]Help with Data sorting from file
 
Hey y'all, new to the forum and a tad more than halfway through my first C++ course. I am absolutely...
[2 replies] Last: +1 ccsdude (by Smac89)
Duplicating output
 
The problem is in the function remove(), it's causing 'guave' to duplicate and also is removing stra...
[5 replies] Last: you shouldn't be using "==" with strings with two std::string's this... (by giblit)
struct,array
 
I am trying to create an array of struct but errors keep on occurring, and i do not know why, plz he...
[7 replies] Last: In your first for loop, why are you using a function to set the data? ... (by MagicalForestElf)
Array crashing program
 
Write your question here. void buildSalesArray(double salesArray ) { int Month = 0; do...
[4 replies] Last: char c = ifs.get(); if (ifs.fail() ) You shouldn't check like t... (by giblit)
I need help with Classes/structures!
 
Hi I am currently writing a code that finds the birthday of someone! -The class should have a thr...
[1 reply] : Maybe something like this: #include <iostream> #include <sstream> #i... (by MagicalForestElf)
Fairly new.. Need help.
 
Hello! I am fairly new to c++ & have a few questions. I do not have a specific project I am cu...
[4 replies] Last: Now that I read his topic again... yeah. My first advice would be "do... (by Disch)
Array HELP BADLY
 
I am totally confused on how to do a tasks. Im trying to generate a program that is a One-Dimensiona...
[3 replies] Last: Do you know how to generate random numbers? If you do then how about ... (by ccsdude)
defining struct node pointer in main
 
Hey guys i need help on how to define a node pointer in main. here is my .h file (tree.h) #...
[3 replies] Last: Outside the tree class. Or you could define it in public section, but ... (by MatthewRock)
Can someone please explain whats happening to this input
 
Hi Guys, I am trying to validate this input in these functions that I have created for my roulett...
[5 replies] Last: Yes, 3.2 cast to an integer becomes 3 and that passes your test of fal... (by Computergeek01)
Need help with Tetris shape rotation.
 
Hello. I am new to this forum and this is my first time asking for help here. I normally can figure ...
[no replies]
Assigning cout() to a variable
 
I am attempting to assign a cout statement to a (class member)variable with great difficulty. I wo...
[8 replies] Last: [quote=giblit] cout is an object of type iostream. ostream Th... (by AbstractionAnon)
MinGw 64
 
Write your question here. How do i download MinGW 64 from sourceforge? It gives me an option wher...
[3 replies] Last: Nevermind (http://www.youtube.com/watch?v=1nsjGxy1w0U). This is in det... (by generic2709)
VS Express and Codeblocks created C++ programs will not work in Windows 7 64bit
 
So I have started to go back and re-learn how to code in C++, but I have very little programming exp...
[2 replies] Last: Thank you CBasic. I checked my installs and I have everything you say.... (by PaulusParvus)
by v1t0ry
Files in C++
 
I am new in C++. Can anyone help me with the problem: Re-write the file copy program below with two ...
[1 reply] : http://www.cplusplus.com/reference/istream/istream/getline/ (by mutexe)
March 2014 Pages: 1... 7891011... 79
  Archived months: [feb2014] [apr2014]

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