Beginners - March 2014 (Page 2)

Having trouble
 
I am hoping for a small bit of help. I have built a save and load button for a objects program. But ...
[no replies]
array duplicates new to c++
 
hi can anyone help me with the implementation of is_not_duplicate please? need to enter numbers in a...
[3 replies] Last: you can you bsearch() function, which returns pointer to the first-f... (by rich1)
Unknown Error Message
 
Not sure what it means, or what is triggering this error. #include <iostream> #include <ioman...
[3 replies] Last: Line 10: int copysearch(); Line 53: int copysearch(int copyarrray ) ... (by closed account z05DSL3A)
Array incrementation
 
Hi I have the following program that fills that array from 0 to 19. I however want the array to ...
[4 replies] Last: You could check the value of the loop counter before filling the tanTh... (by wildblue)
Problem vector 3D
 
Helo everyone today i have a doubt about the code below , it's about the management of the vector in...
[10 replies] Last: Your attribute "contenu" is private. Isn't it an issue with accessing ... (by mystere)
Array to Vector
 
Hi I made this program that randomly generates an array and then displays the array in reverse or...
[3 replies] Last: Thanks (by JasonMcG)
Operator Overloading?
 
Hello! I'm trying to overload the + operator to have it add together two complex numbers. This is ...
[2 replies] Last: Oh, I see! Thank you! (by ECEsasha)
how to stop my if statement executing more than once
 
hi I'm currently creating text based game, which involves a character levelling up after he reache...
[3 replies] Last: Thanks for the quick answers guys., can't believe it's such an easy f... (by luckylarv)
Acii Tree
 
hi, Im trying to write a program that displays an upside down triangle.I'm only able to dispay a nor...
[4 replies] Last: You should try using std::setw/std::setfill http://www.cplusplus.com/... (by giblit)
pointer and type failure with array in a class
 
Hello, I am new to this forum. Please help me out here thankz. Hi, anyone like to offer some ext...
[3 replies] Last: and why are you doing this: NumClass myArray(a_size); // name for in... (by mutexe)
by csharp
commission program
 
Suppose you are a salesman, selling widgets, working on a commission. Your company pays you monthly...
[2 replies] Last: thank you, but it didn't work for other one 1000200 (by csharp)
reading from a file
 
Hi, if I am reading from a text, and I only want the words , what should I do? for example, "Hi...
[2 replies] Last: I want to read everything with out punctuation and numbers. And I wan... (by closed account oLC9216C)
Using atoi to get inputs after prompting the user?
 
Hello! I'm really new to using atoi and I've only really used it as shown below: #include <iostre...
[1 reply] : You are not using printf for output. You are using std::cout. That sh... (by keskiverto)
Function Calls
 
So, I'm working on functions and I'm trying to get everything together but when I try to build the p...
[13 replies] Last: Oh, that example is great! It makes it easier to put the image in my h... (by sierranm)
Using atoi to get inputs?
 
Hello! I'm really new to using atoi and I've only really used it as shown below: #include <ios...
[2 replies] Last: Yup, just like that (by ECEsasha)
BOOLEAN EXPRESSION BUG
 
Write your question here. Why doesn't the program enter the while loop in the foo function? ...
[2 replies] Last: Thank you for your response. I found the problem. The Boolean express... (by phztfte1)
PASSING COMMAND LINE ARGUMENTS
 
Write your question here. I passed Hello World as the command argument using the Debugger. My outp...
[4 replies] Last: Thank you very much. (by phztfte1)
passing string variable into char Array
 
I have program where i have to check to see if file exist, if it does not then it needs to be create...
[9 replies] Last: I resolved it, This code works //Create a file, append to it, and r... (by dariusd7)
help with this function please
 
Im tryint to write a program that lists each individual digit of an integer and then take the sum of...
[1 reply] : Remove the return type when you actually call the function. int d... (by wildblue)
.eof infinite loop help
 
so im trying to read an unspecified amount of data from a file. I tried using the .eof function to e...
[1 reply] : http://www.parashift.com/c++-faq/istream-and-eof.html (by ne555)
March 2014 Pages: 1234... 79
  Archived months: [feb2014] [apr2014]

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