Beginners - May 2014 (Page 39)

by Monroe
XCode error message
 
Hello, I am brand new at programming and I'm studying C++ on my own. I set up an XCode project, but I'm stuck with several error messages. When replying, pl...
[5 replies] Last: If you are a beginner I would suggest you start with the basics and no... (by giblit)
What is Garbage Collection And Memory Management
 
Hey guys I keep on hearing these two concepts above as special features to C++ I haven't reached te chapter in my book for memory management But What ...
[16 replies] Last: Any other tuts on memory management and basic stuff and oop and raii (by Mizfizz)
Stock Program
 
Hello, the program I want to design will take information from a user regarding a stock ticker such as date, price, volume and it will store those in a stock ob...
[4 replies] Last: You won't need a while loop to find either a stock or a quote. map ha... (by AbstractionAnon)
long distance calls
 
I want to let everyone know this is not homework (as this is only my 4th chapter in this book and if it was homework this program would not be at the end of a s...
[3 replies] Last: yes (by rich1)
Where or how to create new objects
 
I'm working on a simple D&D combat game that lets the player choose from 4 character types with different stats (attack, defense, armor, hit points). I have a p...
[6 replies] Last: Thanks, this will help tremendously. (by hinesro)
this Object-Classes
 
Hello everyone, I just cans find the pros and cons of explicitly using the this pointer to access members. Its an exercise from my book: It is legal b...
[3 replies] Last: Imagine if your class had two variables int a and int b , and you ... (by Codermik)
by Tanhua
Getting Variable from txt file
 
Hey, I have little problem getting variable from txt file.. I have already tried code like FILE *tiedosto; char tiedostonimi = "input.txt"; tiedosto = fope...
[1 reply] : http://i.imgur.com/YeGE7zI.png (by Tanhua)
by ohad
why?!
 
why dose this progrem gives me garbage? #include<iostream> #include<stdio.h> using namespace std; int nuf(int *x){ int sum1; int sum2 = 0; whil...
[2 replies] Last: thank u (by ohad)
Hi !!!!!
 
Write your question here. Hey,friends i am giokafir and i am a new member in this forum site and i want to stay as long as i can.So,please cooperate with me.I ...
[1 reply] : Hi, this would be better in the Lounge section. (by Avilius)
by Dee
Need Help Please
 
Hey I'm new with C++ trying to learn and fully understand if statements and how to check user input. Trying to achieve: Have user only able to enter answe...
[5 replies] Last: @ JLBorges Wow thank-you for this, great input and this helps me out ... (by Dee)
Deleting Linked List
 
Hello, I am working on a piece of code that would delete all the nodes in a linked list. Is this implementation correct? Thank you in advance Node...
[6 replies] Last: It's easier if you set and use temp in the same iteration of the loop.... (by dhayden)
by quayda
Compiler won't Run?
 
Hi. I have this code that compiles, but when I try to test run, the command screen just flashes open and shuts before I can see what the heck is happening! Plea...
[1 reply] : http://www.cplusplus.com/forum/beginner/1988/ (by AbstractionAnon)
Finding largest number in array that is passed to the function
 
I have an assignment where I have to pass the array to a function then use that function to find and output the largest number. I feel like I am close but I hav...
[1 reply] : Line 3: You need a forward declaration for findarrmax. Line 8: Lo... (by AbstractionAnon)
by Danwd
Spec interpretation
 
I don't actually need any coding help, however, in my coursework to create a sudoku solver, I have to create something "defined as an array of nine CellGroup ...
[14 replies] Last: Ahh, I see what you're doing with your Sudoku class. You have separat... (by AbstractionAnon)
code wont work help please
 
whats going wrong im a little rusty with my C++ I know i have a little extra #includes but i enter what i think i may need before i start but my programs not wo...
[5 replies] Last: i think it's better to use switch instead of using if . just IMO... (by chipp)
Help with scope and operator overloading
 
Hi! I'm having trouble getting my PowerN function to behave in the intended manner. I want to have a PowerN so that the constructor, with an inputted integer (N...
[6 replies] Last: All you needed to to do was remove "int" from line 25. N = i; Wit... (by norm b)
input values into array
 
I think it is b, because it does not have brackets. Or maybe c because all that does is display the array, not inputting values. Any thoughts? Which of ...
[3 replies] Last: oh nvm, i thought the cin was a cout in the for loop. so its b. thanks... (by stevebrule)
failure during conversion to COFF
 
Can someone help me out please it's not letting me compile my code.
[3 replies] Last: That code doesn't compile. Lines 8,10,12,14: You're trying to sto... (by AbstractionAnon)
Traversing a maze
 
I am creating a maze game that is to be traversed and solved by the machine. I have created a maze class that contains the starting and ending positions of the ...
[11 replies] Last: thanks for the help guys (by pepstein)
Using Arrays with Structs
 
So my Professor had my class work on a project one way and is now asking us to change part of it which is what I'm confused about. Basically I think some things...
[9 replies] Last: That's progress. Line 29-30 belong BEFORE main. Line 68-71: You... (by AbstractionAnon)
May 2014 Pages: 1... 3738394041... 55
  Archived months: [apr2014] [jun2014]

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