Beginners - June 2016 (Page 12)

Memory Leak
 
Hey all. I am having trouble with, what I believe is a massive memory leak. My goal is to display a ...
[17 replies] Last: On a 32bit build only 4GB are usable and this might not be enough. htt... (by Thomas1965)
Cin nothing for nothing?
 
Hello forum, i have an mini snake in development, but i see at line 19-21, when i give the "ch" valu...
[3 replies] Last: You use ch at line 71 and you use kp at line 24. If you skip one of t... (by AbstractionAnon)
Member Functions
 
So, I have this class called Bracket: class Bracket { public: Bracket(string, location); s...
[3 replies] Last: I don't think you want to derive Team from Bracket. Using the IS A a... (by AbstractionAnon)
Need help with Deleting string.
 
So I have to write function void Delete() which can be used to delete a string of data by inputting ...
[no replies]
compiler showing error illegal use of pointer
 
#include<iostream.h> #include<conio.h> long fact(int n) ; int i; int main() {clrscr(); lo...
[2 replies] Last: #include <iostream> long fact(long number); int main() { long nu... (by closed account E0p9LyTq)
Migrate XLL to 64 Bit
 
Hi, I have to migrate a code from 32 bit to 64 bit. VBA is calling a XLL. Both XLA and XLL are com...
[no replies]
Switching between reading individual word strings to multiple word strings
 
Hi, I have written the following code to input data from a text file, My question is how to modify t...
[1 reply] : You may want to consider getting the complete line with getline() for ... (by jlb)
by mmgh
What is ***p?
 
Hello I am a kind of new in C and C++ so I have a simple question. Lets say we have variable in...
[3 replies] Last: #include <iostream> int main() { int a = 333; int* p1 = &a; i... (by closed account 48T7M4Gy)
Where is cin?
 
In chapter 10 (input and output streams) of "Programming principle and practice using C++" in the pa...
[3 replies] Last: No, there are two functions named "get_int": int get_int();   i... (by Duthomhas)
need a program that would do this...
 
Hi everyone! I have a problem for C++ gurus! I'm not a programmer but I've installed CodeBlock...
[16 replies] Last: Have a look in the jobs section. Probably you will find someone there.... (by Thomas1965)
Array by calling function
 
Hello ! I have a, hopefully quick question. I my code below i've made an array that has 100 z...
[10 replies] Last: :) (by closed account 48T7M4Gy)
What is the use of const keyword in functions?
 
I have seen a lot of examples where const is used instead of only declaring a constant variable........
[2 replies] Last: const means constant, can't be changed, read-only (by closed account 48T7M4Gy)
Finding Min and Max, output number that not assign?
 
I have 2 codes that display the min and max. the first code didnt understand why it output 1 for the...
[3 replies] Last: if that assignment happened before the first loop grade is uninitia... (by coder777)
I DON;T understand anything
 
Write your question here. Which programming language to start first as a game developer? I j...
[2 replies] Last: How much time it would take to make a game like Gothic 1 , 2 excluding... (by Razzgoku)
Creating a simple text game
 
I'm creating a simple text game. The code is too long, I'll just give an idea:-- You're in a hous...
[17 replies] Last: >Necip My game has a wider storyline, but my coding is simple. I have ... (by killbox)
Interpreter
 
I want to make a C++ interpreter, using a C++ IDE. It would take input from the user ,and execute th...
[3 replies] Last: Ok , does seem advanced to me. Leaving it for now. (by killbox)
by kycat
Need help with classes
 
This is what I am doing, Write a class, SalesCls, that contains two attributes (salesAmount and Sale...
[2 replies] Last: Thank you so much! (by kycat)
Don't understand boolean function variation
 
For self-study, I've been working on loops and functions and such, and wrote a fairly obvious little...
[4 replies] Last: Why does the code above work then? Without any return true, the bool ... (by Chervil)
Grouping subset into larger size sets
 
I'd like to write a program that given a list of sets will output sets of larger size. Building them...
[9 replies] Last: I'm looking for a solutions that increase the input sets size of a uni... (by stinostino)
Why won't searchitem 2 work when complied?
 
#include <iostream> #include <iomanip> using namespace std; int main () { char search; fl...
[5 replies] Last: Here's a cleaned up version of your code that is far easier to read: ... (by AbstractionAnon)
June 2016 Pages: 1... 1011121314... 25
  Archived months: [may2016] [jul2016]

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