[try Beta version]
Not logged in

Beginners - August 2014 (Page 3)

Help with errors for multiple inheritance
 
Hi, I have got following errors and do not know where to fix the error. //lab4.cpp// Error 1-...
Aug 30, 2014 at 12:03pm
[1 reply] : You are trying to construct a BillingTN object by passing 4 string arg... (by Peter87)
by zakkor
Pointer problems: program randomly hangs.
 
I'm trying to write a generic doubly-linked tree (or some variation of that, i guess) This is the...
Aug 30, 2014 at 11:19am
[6 replies] Last: Thank you very much! (by zakkor)
2D array Help
 
So i have two 2d arrays and i need to add subtract and multiply them then display them. i have every...
Aug 30, 2014 at 9:34am
[4 replies] Last: I went and replaced all the col with cols that I mistakingly threw in ... (by Inthemountainair)
Palindrome
 
Alright so I'm working on a code to check whether a given word is a palindrome #include <iostream> ...
Aug 30, 2014 at 9:31am
[3 replies] Last: // Iterator for the first and last character string::const_iterator... (by giblit)
While loop
 
Good Morning Coders, I need a quick help with my while loop, I have a dynamically allocated array th...
Aug 30, 2014 at 9:22am
[10 replies] Last: ok im going to have go back over pointers (by MrBeavis)
c# XNA game studio 4.0
 
First things first, I want to devise game about PINBALL game. However I have no idea cope with makin...
Aug 30, 2014 at 8:41am
[1 reply] : This is a C++ forum. (by helios)
Do I need to write a destructor for a normal pointer?
 
As stated in the question, if I have a class with a member that is a normal pointer( not dynamically...
Aug 30, 2014 at 6:35am
[4 replies] Last: To giblit: Get it. Thanks a lot! (by glenjoker)
by Jcrew5
Queue segmentation fault
 
Hello, I'm not exactly sure if this should be going in the beginner section or not, but I still feel...
Aug 30, 2014 at 5:45am
[2 replies] Last: Wow, I feel really dumb for not even trying that, I've been sitting he... (by Jcrew5)
by vxk
object initialisation
 
I wanted to initialise an object of one class(say class A) in another class (say class B). I was suc...
Aug 30, 2014 at 5:18am
[6 replies] Last: MVP (C++): Most Vexing Parse (origin: Effective STL, Item 6) class C... (by JLBorges)
Expanding an array
 
My problem is to take an array, expand it to double the size using a function, use that same functio...
Aug 30, 2014 at 1:56am
[2 replies] Last: Thank you for the reply. Yes I was trying to get them all 0's. Your e... (by adam0421)
by Ch1156
How to link to libraries?
 
I need to link to GLEW and SFGUI libraries. SFGUI is a graphics library for SFML. I built SFGUI with...
Aug 30, 2014 at 1:54am
[4 replies] Last: Yeah i'm using code blocks, the problem is i dont know what files i sh... (by Ch1156)
by Geriel
Getting the value of a variable from a file
 
I want to get the value of a variable from a file. How do I do that? ofstream file1; ifstream fi...
Aug 29, 2014 at 10:57pm
[2 replies] Last: I initialized it in my program. This actually just a part of the whole... (by Geriel)
Understanding key comparisons and item assignments for insertion sort algorithm
 
Where in this algorithm are key comparisons and item assignments made? void insertionSort(int ...
Aug 29, 2014 at 10:45pm
[6 replies] Last: Thanks a lot. This extremely helps me. (by nileshjdarji)
by h4ever
CODE::BLOCKS IDE help - configuration
 
Hi, I statted to use code::blocks IDE but I cannot find out what I do wrong that compiler cannot fin...
Aug 29, 2014 at 8:43pm
[6 replies] Last: I sent the link already. This tutorial http://blog.refu.co/?p=663 It i... (by h4ever)
Count repetitions of a substring in a string
 
I have written the following code. I have to count repetitions of the substring in the string. What ...
Aug 29, 2014 at 8:02pm
[1 reply] : You've defined count as an int. And no, you can't use an int as a f... (by cire)
Understanding sorting algorithms
 
For the bubble sort algorithm listed below, I don't understand at which step does a key comparison o...
Aug 29, 2014 at 7:20pm
[3 replies] Last: How about the same question for an insertion sort void insertionSort(... (by nileshjdarji)
Issue with removing the last character of a string
 
Hello all, I am currently writing a text box class for me to use with the library SFML. However c...
Aug 29, 2014 at 6:59pm
[4 replies] Last: Adding character with no previous chars: before: 0 after: 1 Adding ... (by URSvAir14)
by wka
map of classes
 
I am currently trying to learn some c++ coding. For my purposes I would like to employ maps, which h...
Aug 29, 2014 at 6:47pm
[4 replies] Last: thx. The quotation marks solved the issue (by wka)
What is this?
 
Can some one please tell me what does this code fragment mean? while (khi - klo > 1) { k =...
Aug 29, 2014 at 6:38pm
[8 replies] Last: > you changed the condition, originally it was a range [) Yes. Thank ... (by JLBorges)
Problem in solving even-odd number
 
You are given a nonnegative integer number. The number contains not more than 100 digits. Then you h...
Aug 29, 2014 at 5:49pm
[1 reply] : You only ever need to examine the last digit in a number to see if it ... (by LB)
August 2014 Pages: 12345... 40
  Archived months: [jul2014] [sep2014]

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