Beginners - July 2011 (Page 6)

Is this a compiler problem?
 
Ok so my program is acting real weird. Here's the output if I run in the debugger: Tests run: 5 Tests Failed: ...
[3 replies] Last: Irrelevent changes having an effect on program output smells of heap c... (by Disch)
EXC BAD ACCESS error that takes me away from my code
 
I'm working on constructing a classic infix to postfix converter and im getting a EXC_BAD_ACCESS error that takes me away from my main.cpp(the only place with c...
[no replies]
by acorn
can someone help with understanding const
 
i dont know how to explain what im asking but you have const pointer // pointer can not change you have const data // data can not change you have const...
[2 replies] Last: thanks disch. no its not a homework assignment. i was actually reading... (by acorn)
Need help leading in the right direction
 
Hi, I'm doing beginner exercises http://www.cplusplus.com/forum/articles/12974/ I'm currently doing Pancake Glutton Requires: variables, data types, and n...
[1 reply] : this has a selection sort example you could use for your pancake sort.... (by acorn)
by spt
Need Help Finishing a Program
 
I'm so close in finishing, could someone figure out what I can't ~ All the coding is there, but need to get it to work without crashing.. Needs to show the av...
[7 replies] Last: I handed the work as is, I didn't understand any help but thanks for t... (by spt)
Output methods
 
I know of (at least) two methods for writing information to files, one being the ...>>"Stuff to write" >>endl; method and the other which uses the c...
[1 reply] : Neither of them are particularly efficient, they both are flexible in ... (by Turbine)
Restart a switch statement?
 
I can't find a way to make it restart if case default is true. Here is an example of my code: int answer; cout << "What is in your bag?\n\n"; cout << ...
[6 replies] Last: Thank you very much kind fellow coder :3 Everything is good now. (by Alkreoff)
by kzira
Multiple For Loop
 
Hi i'm having problem in make a multiple For loop I wrote this so I can initialize a matrix but for some reason my loop doesn't execute the second loop. ...
[2 replies] Last: thanks, it worked. (by kzira)
a couple of questions about classes
 
What does the bolded part of these classes mean? 1. class MyClass { } myClass; 2. cState(cGraphics* graphics, cInput* input) : m_Graphic...
[2 replies] Last: Oh disch since your here now could you go help me in my other thread? ... (by nano511)
Advancing the link in a linked list
 
Working on a double linked list problem. I'm trying to print out the items in the list, starting with a list consisting of a single node. I can't get the node...
[2 replies] Last: Thanks. Overlooked that one. (by joatmon)
Qt the best path? Or .. ?
 
I'm trying to figure out if I should even bother to learn and master C++, and if I should whether I should start with Visual Studio 2010 based tooling, Qt, or s...
[2 replies] Last: I think it depends upon what you want out of learning C++. I think mo... (by kooth)
Segmentation fault
 
I'm having a little trouble with a program I'm working on. I have a vector* in the program but when I try to push an object onto it it gives me a segmentation f...
[14 replies] Last: @zlogdan: It runs when I do that though. Jeez! (by tam0009)
Turtle - Homework
 
How fast is a turtle?
[5 replies] Last: The guy asked for homework help. I told him/her to read on tutorials ... (by webJose)
struct pointer, check if null
 
I am -- for practice's sake -- trying to make some sort of queue system with a simple linked list that have a queue entry structure (T value and next). I try up...
[7 replies] Last: Thank you, it works now. (by GisleAune)
Help understanding char* argv[]
 
I have read that argv is an abbreviation for ``argument vector''. It is the traditional name for a pointer to an array of string pointers passed to a C program'...
[5 replies] Last: but the definition for argv says that it is a pointer to an array of... (by shacktar)
Help with Yahtzee! (Object in loop)
 
Hi! Im having some problem with the yahtzee game im making. Here's the part of the code where the problem is: void gFlow::start() { IOyatzy startIO; ...
[no replies]
isosceles triangle using functions
 
I'm a beginner in this subject. I'm Trying to add in the function prototype into this program; //chapter 6 labEx3_1: isosceles triangle using functions #i...
[13 replies] Last: Ok got it... Thanks.... // Student Name : Muhammad A'bid Bin Mohamed... (by Abid Albakri)
by paarsa
Enumeration!!!
 
Hi, Can someone explain what exactly the enumeration in c++ is? and how and when can I use it in my programs? cheers
[2 replies] Last: This was taken from this websites tutorial on "Other Data Types" (I'll... (by lnk2019)
how do I determine a position of an inputted number?
 
okay... This problem was solved before by Turbine.. but later this morning my professor just changed my programs output... Here's my Program by the way... >>U...
[2 replies] Last: = assignment == comparison Weird indentation (by ne555)
error problem
 
Hi I have a program i cant come to terms with.. I get the following error message: >Sprite.obj : error LNK2005: "union SDL_Event event" (?event@@3TSDL_...
[no replies]
July 2011 Pages: 1... 45678... 54
  Archived months: [jun2011] [aug2011]

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