Beginners - February 2013 (Page 26)

Can a nested class inherit from base class?
 
Say I have class base { public: int i; class nested { }; }; If at some point in my code, I ...
[6 replies] Last: Well, I guess you can argue that there is something special about nest... (by Peter87)
by kraig9
Error trying to build
 
When I try to build this: //code // my first program in C++ #include <limits> #include <iost...
[2 replies] Last: Are you sure the "error" comes from the compiler? Actually, I don't s... (by plexus)
Program has stopped working error at exit
 
My program runs fine until it exits, where it displays a Window's error that the program has stopped...
[5 replies] Last: You guys rock! Thanks for the help. Turns out I was deleting temp twic... (by lightspeedcbr)
by Pebble
Array
 
When i run the following program i get a pop-up telling me it has stopped working and to close the ...
[4 replies] Last: Thank's Peter87. (by Pebble)
by bmac03
Almost got it to work issues with complier
 
I had rcast answer most of the issues with the code and a few other questions. Now if i could please...
[15 replies] Last: [code firstline=44] if (randNum1 < randNum2){ randNum1=tempNum; ... (by Chervil)
execute dll with parameters
 
Hello my Friends, ive got a question about handling with dlls. ive a special dll from a customer ...
[1 reply] : You need to know the signature of the function you want to test in ord... (by AbstractionAnon)
How do I compile programs to create object files?
 
My question now is how do I create object files out of compiled cpp files? The book doesn't specify,...
[2 replies] Last: Thank you it works now (by Tiger58)
[help]:pointers
 
#ifndef SLLIST_H #define SLLIST_H struct Node { int info; Node *link; }; class SLList ...
[2 replies] Last: It a structure pointer , so that we can attach n number of nodes to it... (by nigga me)
Reversing a string help!!!!(it has to be something small) (1,2)
 
So I have created a palindrome function that lets the user input a word or sentence and tells them w...
[39 replies] Last: just kidding I got it, thank you again. (by bruntmjust)
Downloading C++ Compiler
 
Hi I am a complete beginner to C++. I have a Mac and I was wondering is how I would program C++. I k...
[2 replies] Last: @kaitrias: Xcode is a text editor with builtin compiler ( == IDE ) -> ... (by Fransje)
Calling a method of one class in the method of another.
 
I'm trying to write a program, which is split into two parts, and before to finish the first part I ...
[5 replies] Last: In SalesDB.cpp , Declare an array which is of type Seller class say , ... (by nigga me)
by rcast
Accepting as input, IP addresses. (1,2)
 
I'm trying to accept IP addresses in their dot notation form. However, I'm having trouble trying to ...
[29 replies] Last: The results for the conversion of the dotted notation of the given IP ... (by chroma)
by scar95
Generating a random number with a set non-zero minimum
 
Hey guys, I have to create a program that guesses the user's age. The user has to enter X, if the ...
[3 replies] Last: it will be (rand() % (128 - g1 + 1)) + g1 I have added a couple of p... (by MiiNiPaa)
Cannot use string - am using #include<string>
 
Hello. I am trying to make a simple little game in c++ for practice purposes. However, I cannot u...
[2 replies] Last: Thank you very much. I did the latter, and it worked. The help is grea... (by Muffinette)
Crashing on run
 
I'm working on an exercise that the user puts in doubles one just for as long as they want and if it...
[3 replies] Last: I ran this in my complier as I'm having issues with my code as well. M... (by bmac03)
Your opinion
 
I have been working on this for a while now and its about done, but I just want to make sure this is...
[1 reply] : Make roll method take an int: number of dices to be rolled. Use dynami... (by MiiNiPaa)
Using recursive divide and conquer algorithm
 
I am having trouble getting started on a data structures book problem. I have to recursively divide ...
[1 reply] : What did you mean by "divide array by four"? Divide each element in ar... (by MiiNiPaa)
Vertical tab '\v'
 
I'm trying to make a vertical tab using cout << "\v"; but all I get is a wierd looking char in the...
[3 replies] Last: This might be a dumb question... but can't you just print a bunch of n... (by Disch)
bubble sort with pointers.
 
So, as part of an excercise, we're writing programs where the only parameters allowed are pointers. ...
[1 reply] : You have quite a few problems. First you are overusing the new/delete ... (by jlb)
Please help
 
Hello forum. I am new to programming, I understand most of the concepts but sometimes get stuck at s...
[6 replies] Last: Thank you so much i really appreciate that i will take note of everyth... (by antek83)
February 2013 Pages: 1... 2425262728... 67
  Archived months: [jan2013] [mar2013]

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