Beginners - May 2014 (Page 32)

Help with unit testing
 
1) What class libraries are available to assist with unit testing? 2) How are these classes adopted...
[no replies]
by quayda
Saving .txt for reference
 
I'm writing a merger code which is supposed to call two preexisting .txt files and combine them into...
[1 reply] : I found instructions for saving a file for NetBeans and CodeBlocks, b... (by MiiNiPaa)
by bozz51
Need a guru to take a gander
 
I'm thinking I'm on the right track but the code isn't displaying anything. I'm trying to create a p...
[3 replies] Last: figured it out... Thank Disch #include <iostream> #include <fstream... (by bozz51)
by myregm
Problem with getline()
 
I've writen this code. But the first getline() only acts only one time when i=0. For the second time...
[2 replies] Last: Thank you codewalker. It is solved. (by myregm)
Very finicky IDE.
 
I'm using Orwell Dev-C++. Whenever I type a quote ( " <--- this ), say, to begin a cout statement...
[1 reply] : From 4 I see that you type end quote (and bracket) again? Stop typing ... (by codewalker)
by quayda
Program compiles, but doesn't act?
 
Could someone please help me understand why this program is compiling, but not running? The console ...
[4 replies] Last: Thanks for the link @admkrk I think I thought the console closing me... (by quayda)
simple question
 
y my code is keep going #include<iostream> using namespace std; int main() { char guess...
[2 replies] Last: lol,,,,,,,,,wtf...... thx (by passw0rd)
fatal error: iostream: No such file or directory.
 
I am trying to find my first compiler to begin coding and compiling files on. I have just downloaded...
[3 replies] Last: Make sure that the name of the file identifies it as a C++ source file... (by JLBorges)
help
 
I need help with this program i dont know how to do the function part here is the question. "Write...
[1 reply] : http://www.cplusplus.com/doc/tutorial/functions/ I am assuming your i... (by closed account j3Rz8vqX)
code reading explanation?
 
Hi everyone, im jabing trouble understanding how this piece of code does what it does. Prior to...
[1 reply] : spelling gives you the (i+1) th character of spelling (remember,... (by long double main)
Calculator Code Error
 
I am receiving the following error and need assistance in correcting my code. ERROR: error: jump...
[1 reply] : Dont declare the variables inside your case statements - declare them... (by Codermik)
Merging 2 into a single alphabetized
 
Please bare with me as I'm new to all this jazz. I'm sure I've made some simple "dumb" mistakes. I'm...
[1 reply] : The errors are pretty straight forward. On line 69 of your snippet, y... (by xismn)
trouble with arrays of objects
 
Hello, I'm having quite a bit of trouble on this program. I have quite a few logic errors that I...
[7 replies] Last: This is how my code looked when I tested it with changes: #includ... (by Codermik)
Problem with stack of strings
 
So I have code that uses a stack to check whether a value exists in the stack. When the stack is a s...
[2 replies] Last: Thanks, I fixed it. (by Gawaine)
by quayda
Linker Error?
 
For some reason my code is failing to compile for the do while loop on ending on line 58. I'm gettin...
[6 replies] Last: Okay, great. It's compiling now that I've altered. But, do yall know w... (by quayda)
Not looping after wrong input
 
Im currently attempting to create a text based game but early on im encountering a problem where if ...
[2 replies] Last: Thank you!, this has saved many future complaints in my game. (by zukmeku)
Bad random number generation
 
I'm trying to generate some random numbers using the rand function in the following member function....
[3 replies] Last: The Character objects (attacker and defender) in dieRoll are copies of... (by Peter87)
by quayda
Merge Failing at Compilation
 
Hi, I'm getting the same error for all of my defined integers: insA insB outs The program is me...
[1 reply] : Your code has: ifstream theAdopted( "The Adopted.txt" ); int insA ; ... (by keskiverto)
by wolfv
printing numbers question
 
Why is the following code example not print the number eight? #include <iostream> #include <i...
[3 replies] Last: Thank you keskiverto, explicit casting worked. #include <iostream> #i... (by wolfv)
Problem in deleting last node
 
I have written code for deletion of last node of BST but it does not show any effect what's the prob...
[no replies]
May 2014 Pages: 1... 3031323334... 55
  Archived months: [apr2014] [jun2014]

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