Beginners - August 2013 (Page 49)

How to delete an instance of a class
 
Sorry if I have no friggin idea what I am doing. I am trying to delete an instance of the class CON...
[3 replies] Last: PROBLEM SOLVED!! Thanks guys, here is my new code in my main() functi... (by Coasterfan87)
I am currently making a text based game, need help with "Choices"
 
Hello, I am new to programming, and just started making a C++ text based game today. I encountered ...
[8 replies] Last: Ah, okay thanks! (by awesomealvin)
adress value
 
parameter in negative function is an adress But i can send as int and the program gives correct res...
[2 replies] Last: parameter in negative function is an adress void negative(int &i) ... (by MikeyBoy)
Code structure issue
 
I have a supper class which includes some common functions. The problem i'm facing is, i want to mov...
[3 replies] Last: And then, the problem is here, where should i define the common funct... (by coder777)
errors
 
Im a bit lost. dont understand the errors Im getting from this. Anyone can help? error C2059 (line ...
[15 replies] Last: achutally there are just few more columns but i dont need it for my ta... (by YumiFerrari)
new and delete/ heap and stack (1,2)
 
first of what exactly is stack versus heap memory? I was reading something that said basically std::...
[37 replies] Last: I like c and c++ because it is really close to hardware. If you really... (by tath)
Link Functions
 
Write your question here. Okay my problem is linking two functions; i.e getting a value from the f...
[1 reply] : The parameter of NumberAnimals() is unused. The local variable on line... (by maeriden)
Why is my code not working?
 
So I have the following code: #include <iostream> #include <time.h> #include <stdlib.h> #incl...
[4 replies] Last: Because that's how modulus and addition are defined. X % Y (X mod Y) ... (by Zhuge)
Graphing Results
 
Write your question here. I have created a game that functions correctly, however, for balancing ...
[no replies]
Functions and the main
 
Alright, I have a function, int NumberAnimals(int Animals) { cout<<"How many animals a...
[1 reply] : You'd want to call the function, and store it into a variable. Also, y... (by Ispil)
by ivan1
Read excel data into 2d Array
 
Hi all, I am trying to read data from excel file into my c++ code. I have 2d array and excel file...
[4 replies] Last: http://www.rasteredge.com/how-to/csharp-imaging/pdf-barcode-reading/ ... (by Mila1)
Functions and Asterixes, (*)
 
I've been learning C++ off of learncpp.com and its been great and very straight forward. There is on...
[5 replies] Last: In: std::cout << notmain << std::endl; std::cout << *notmain << st... (by cire)
by kuliii
Trouble outputting a function. PLEASE HELP!!!
 
Write your question here.
[1 reply] : Write your question here. (by firedraco)
Displaying "σ" sign in C++
 
Hi I am new to C++ programming language. I have done some mathematical computation in my program ...
[5 replies] Last: #include "stdafx.h" #include <iostream> using namespace std; int m... (by closed account 4jzvC542)
twodot ":" in Struct for what
 
Write your question here. struct{ unsigned int shakeToEdit : 1; unsigned int isClas...
[2 replies] Last: Thanks so much ^^! (by nguyentuandang)
using result of a program
 
Hi every. I have a question. I have 2 different programs. I want to use the result of the first pro...
[2 replies] Last: I have: file1.cpp #include<iostream> using namespace std; int main() ... (by vuonganh1993)
by admkrk
Using a variable for an instance
 
This is kind of hard to explain, but I'm working on a game project and hit a brick wall. I have six ...
[2 replies] Last: Hi Disch, I wasn't trying to use a pointer, but I had a feeling that'... (by admkrk)
Trouble with fstream
 
So I was going through my textbook and doing some of the fstream examples. I got through some of the...
[3 replies] Last: As a rule of thumb, you probably should never assume something was suc... (by closed account S6k9GNh0)
by Codeez
range for
 
Hi guys, I'm having a little trouble with understanding range for / vectors. I have a function for a...
[10 replies] Last: I think I'm getting parts of it but I'm a little lost on just what we ... (by Codeez)
by nmn
strcpy
 
when used like this: strcpy(buf, buf1); strcpy(buf + length, tempBuf); How does the "length" pa...
[1 reply] : The first line says, "put buf1 at the location of buf." The second lin... (by Zhuge)
August 2013 Pages: 1... 4748495051
  Archived months: [jul2013] [sep2013]

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