Beginners - October 2012 (Page 22)

Stack Access Clarification Question
 
TLDR: Can you copy the value/address of a variable in the middle of the stack if its not removing the element? I've looked at several different online source...
[3 replies] Last: C++ doesn't really have the concept of heap and stack in that context.... (by cire)
display n as decimal, octal and hexadecimal
 
fixed
[1 reply] : http://www.cplusplus.com/articles/oGLN8vqX/ (by closed account owbkoG1T)
by Sathed
Creating a permutation function
 
I'm creating a method to calculate all possible permutations of a string. I know the problem is with my for loop, but I don't know where to go next. I'm not loo...
[2 replies] Last: @tntxtnt: The point is for me to write it myself. (by Sathed)
New programmer, need help!!
 
//Ive been working with functions and this looks to all be setup correctly but the math is wrong, i'm getting random negative numbers as my answers. I just need...
[3 replies] Last: Sorry I'm new on the site but it is fixed now. (by randomnerd865)
need help with component reliability c++
 
It's a problem from the "Engineering Problem Solving C++ 3rd edition" p. 302 #28: Write a program that simulates the deseign shown in Figure 6.17 using a compo...
[5 replies] Last: ok thanks for trying to help guys...I'm working on it now (by Novacain605)
return variable
 
why i get an fatal error with it on my read function? void readRecord( ifstream &inFile , int sizeCourse , int sizeOfStudent ){ Course theCourse; string Su...
[no replies]
Seg Fault on Copy Constructor of Binary Tree
 
So as the title states I'm getting a segmentation fault when calling the copy constructor for my binTree class. I'm not sure why here is the partial code: ...
[7 replies] Last: My suggestion would be to keep the previous version of copy and add an... (by cire)
by khal
C++ Maps
 
Hi, I am having difficultly understanding how to print the value of the vector inside a map. map<string,vector<string> > test; map<string,vector<string>...
[6 replies] Last: Thank You all for the help I understand it now. (by khal)
Help on Project
 
For my class I'm doing a project which is creating a game. We're spliting it into different parts, one of which is a weapons class. Assignment 10, basic Weapon ...
[2 replies] Last: where would I put the declaration? After trying to compile the progra... (by computermajor12)
I need little help
 
done
[4 replies] Last: if you remove the { about int main() that should go away. It's just im... (by crashAndBurn)
I have a working program, now what?
 
I have been writing code for a while, and have made some applications that run fine when I interact with them in the debugging area. But real computers don't lo...
[no replies]
I need help with my password program
 
I got ear Infection and missed two classes, and found out later that I missed alot more then just two classes. Soooo I could use a little help with my while and...
[10 replies] Last: I dont think I learned "for" statements yet, but thanks for the exampl... (by majorursa)
updating array size
 
Please help i need to update the size of my array so that i can add another restaurant to the input. here is my code so far. can anyone help me? thanks a lot! ...
[5 replies] Last: By "Problem Statement", I meant the guidelines that either your instru... (by closed account 3hM2Nwbp)
by jgush3
Function not returning a value
 
My binary function isnt returning value, and I'm not understanding why? Here is the error: error C2561: 'binary' : function must return a value see declara...
[4 replies] Last: once more in hopes of more advice (by jgush3)
loss of data
 
I have a project due in a couple of days an i need help with a couple of lines. my professor says that it is best to use data type int instead of doubles for lo...
[3 replies] Last: yeah i didn't cathch the "warning" i have less than a semester working... (by ortiz go)
What is wrong?? Need Help
 
Hello my objective for this program is to take a data file for input and find the total numbers on the field, the average, and the sum and output it to anot...
[5 replies] Last: Anyone??? (by EasyGoing)
2 Dimensional Array
 
Which is the correct way to create a Dynamic 2-Dimensional array? int **2d() { int **array= new int * ; array =new int ; for(int i=0; i<10; i++) array =...
[3 replies] Last: bump, this fell to 3rd page... and i still want answer (by threeright)
String Function Lengths
 
Hey guys, I encountered a problem with my codes. I am trying to... 1. Receive the entire user input, including spaces and blanks, for example if the input was ...
[5 replies] Last: thanks to the both of you! I was able to get it! this is what I came u... (by taku nishino)
What am I doing wrong?
 
done
[7 replies] Last: Idont have book. If youdont help dont comment. (by dylanlara44)
problem with strcat
 
Hello, I have a problem with strcat and I am not sure why. An example of what I am trying to do might be the following: #include <iostream> #include <str...
[8 replies] Last: Hmm...yeah that is the tricky part... In my task I am not allowed to u... (by zanklob)
October 2012 Pages: 1... 2021222324... 84
  Archived months: [sep2012] [nov2012]

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