[try Beta version]
Not logged in

Beginners - April 2013 (Page 39)

Debug question for class
 
I have this debug assignment which tells me to locate six errors within the code for the program. My...
Apr 17, 2013 at 2:42pm
[5 replies] Last: I find that having it display it's status helps a lot. So, run it a f... (by IWishIKnew)
by rynx93
error with if-else inside for loop
 
I'm trying to have it display the error message when the name is not found. But coding it as below w...
Apr 17, 2013 at 2:36pm
[5 replies] Last: Dear Zereo, Unfortunately I just started learning C and I can't reall... (by rynx93)
Code Blocks compiling errors
 
I recently started into the world of C++. I downloaded and installed code::blocks (the one with ming...
Apr 17, 2013 at 2:09pm
[5 replies] Last: Footknight, you have probably moved on greatly in the last 6 weeks, bu... (by Donnie)
When you dynamically allocate memory...
 
...how do you ensure that the memory was available and properly allocated? This is something that re...
Apr 17, 2013 at 1:31pm
[3 replies] Last: No, that check is useless: if allocation succeeds, sPtr is not null an... (by Cubbi)
by Rae
C++ Assignment
 
A Airline has just purchased a computer for its new automated reservation system. You have been aske...
Apr 17, 2013 at 1:11pm
[18 replies] Last: I don't care if someone reports me - I stand behind what I have said 1... (by TheIdeasMan)
Usiing While Loop to display the contents of an array
 
Usiing While Loop to display the contents of an array except for numbers less than 20 #include...
Apr 17, 2013 at 11:29am
[4 replies] Last: The compiler is your friend. You should read its messages because it t... (by vlad from moscow)
C++ OOP begiiiner question/problem
 
Hi. I just started with Object Oriented programming in C++ and i got a book from the library which h...
Apr 17, 2013 at 10:17am
[4 replies] Last: Oh, ye, i got it now... Thank you. (by Fromar123)
Why return 0; and not return x;?
 
Hello everyone, I started learning C++ today and I want to get a good grasp of it asap *lol*. We...
Apr 17, 2013 at 9:37am
[2 replies] Last: http://en.wikipedia.org/wiki/Exit_status (by keskiverto)
Function not returning what I need it to
 
So the function is working. I'm trying to search for a Node of zip codes in a binary tree created ...
Apr 17, 2013 at 7:53am
[1 reply] : your problem is this: if(temp==NULL) found=false; // you set... (by coder777)
Homework help please
 
Write a program that tells what coins to give out for any amount of change from 1 cent to 99 cents. ...
Apr 17, 2013 at 7:36am
[1 reply] : I think, you need to make your compute_coins a bit generic. Also, a bi... (by writetonsharma)
Help with inFiles and Functions
 
I have a beginner c++ project assigned where I must prompt the user for the name of a text file and ...
Apr 17, 2013 at 7:16am
[1 reply] : Divide the whole problem in small parts, like opening/reading file, co... (by writetonsharma)
by Jace
Remove dependenceies
 
I've tried to send my friends programs, but when they open them they report an error. When I checked...
Apr 17, 2013 at 7:12am
[1 reply] : Is this fixed ? (by writetonsharma)
NULL in comparison
 
In my code below, assuming l was either initially created or was initially NULL, void createLi...
Apr 17, 2013 at 7:02am
[1 reply] : //void createList(LinkedList* l){ // 'l' is passed by value; the func... (by JLBorges)
by Kariss
Help with classes! (1,2,3)
 
I need to create a class to store distances. I've stored the distances in the private section of the...
Apr 17, 2013 at 6:50am
[47 replies] Last: +1 MikeyBoy This all goes back to what I said at the start: setx1 ... (by TheIdeasMan)
by jidder
Not a real problem
 
i have been learning about classes and decided to create a blackjack game. It's not quite finished b...
Apr 17, 2013 at 4:57am
[8 replies] Last: Hi jidder, I was asking if i had done it properly before making more... (by TheIdeasMan)
Pointers?
 
Okay, I am relatively new to programming in C languages, and I am not stupid but I can't seem to wra...
Apr 17, 2013 at 4:48am
[7 replies] Last: Ok. Let's say Im writing a game and I have a class table for my charac... (by TutorIndia)
Namespace
 
So I'm getting some errors I can't account for in this code I'm writing. It's only very simple code,...
Apr 17, 2013 at 4:25am
[6 replies] Last: Even where he says cin << "You have selected standard mode" << endl; ... (by crimsonzero2)
Quick Scope Question
 
The methods badOp, and createList are outside the scope of main? Well according to my compiler they ...
Apr 17, 2013 at 4:22am
[2 replies] Last: ah i see. this has been an informative night. (by billycro)
Quick question?
 
If I have a program that stores 7 numbers in an array and values
Apr 17, 2013 at 3:59am
[1 reply] : You mean that you want the user to guess 7 times? (by pogrady)
Help with class. Power Functions
 
Write a function called Power that takes 2 numbers as arguments. It returns the first number raise...
Apr 17, 2013 at 3:36am
[1 reply] : There is a function within <cmath> called pow() that does this already... (by crimsonzero2)
April 2013 Pages: 1... 3738394041... 83
  Archived months: [mar2013] [may2013]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.