General C++ Programming - December 2012 (Page 26)

How do I get in to list that is in a list!?
 
srand(time(NULL)); int rand_cust = 0; list<cash_register> l1; list<cash_register...
[3 replies] Last: Thanks for the answer! I have one more question if want to loop throu... (by dasmonk)
Why do i need to use cin.get twice ??
 
Hey guys, i was writing a very simple program and came a across an problem. In order to stop my prog...
[1 reply] : cin >> b; This leaves extra junk in the buffer. Try inputting 2xyza... (by firedraco)
I need help sorting by Last Name my Linked List
 
This is what I have for now. I need to : 1.Modify function Find() to locate a person by last na...
[no replies]
Loading .obj file in OpenGL
 
Ok so I have made a basic parser and loader for a 3d .obj file made in Blender. I know that the code...
[1 reply] : Here is the .obj file that I am using. Sorry about not commenting the... (by Jayhawker07)
Void Function Arrays
 
Hi Guys, Need some help and keep getting stuck. Need to populate an array using srand() and ...
[1 reply] : This line right here: return fillArray; ends your main. Nothing ... (by pogrady)
by beeb
Function call not working
 
I'm trying to call this function that will ask for the user input and return it back to the main() i...
[3 replies] Last: Hi :-) a function in C/C++ can't return more than one value (Lua can)... (by rzed)
Binary Tree
 
I am a little confused about how to draw a binary tree using Pre-Order Traversal, the root would be ...
[2 replies] Last: So given these numbers: 47 43 20 24 32 44 35 , how would the tree look... (by t2nator)
by beeb
Possible? Using a variable w/in a if statement outside the statement
 
Is it possible to access a variable that has been assigned a value within a if statement to used out...
[1 reply] : Obviously, you can. You probably mean a variable that has been declar... (by Athar)
Problem with pointers (inherited classes)
 
Hello again. In my project, AnyObject is the basic class containing a destructor and a constructo...
[13 replies] Last: struct node { AnyObject d; node *ls; node *rs; }; To expoun... (by cire)
by Smac89
Extend an array
 
Trying to extend an array by creating a new array and filling that array with values from the previo...
[8 replies] Last: @helios, thanks man, you have been helpful (by Smac89)
by bear24
Merging and sorting
 
I am new to C++ but I have a basic understanding of most of the concepts. My assignment is to create...
[no replies]
by gal064
sophisticated problem
 
hi, I came across with sophisticated problem. I need to build pattern to string that built lik...
[1 reply] : Since you don't know how many ranges there are, you have to populate a... (by Cubbi)
Errors
 
If there is a need to post the full code, please let me know. i have posted only the error code whic...
[4 replies] Last: #include <iostream> using namespace std; int main () {unsigned long... (by Adelina2297)
help with graphics programming
 
Hi all, I'm looking for some decent coders (ideally software engineering, or a computer science maj...
[8 replies] Last: I see to be having trouble signing up for aim. Do you have a gmail or ... (by xDarkShadowKnightx)
PLZ HELP Delete a element in a list
 
Ok I want to delete a element that cotains a artist that write in but how will i do that? ...
[3 replies] Last: Thanks!! (by dasmonk)
Recursion Function
 
I've looked at some tutorials online but I still can't figure out how this is evaluating to 341. If ...
[4 replies] Last: Once i = 0, it stops calling itself (that is why there is no tryit(-1)... (by ModShop)
Emulater type program?
 
Hi, I want to make a program for my (way younger)brother that only lets him open up programs that...
[no replies]
Static Member variable: pointer to static member function of another class
 
I have two classes that I want to be able to communicate. Rather than using friend methods, I want t...
[no replies]
Can someone help me???
 
I cant seem to figure out how to make this lab work.... these are the instructions here is a link...
[7 replies] Last: NVM I DID IT!!!!!!! WOOT WOOT!!!!!!! at least i believe i did. it comp... (by stansmith)
Enumerated types and functions
 
Using the code that i will post below i need to add in certain functions that I will list in a momen...
[1 reply] : #include <iostream> #include <string> #include "main.h" #include <std... (by RogerWang)
December 2012 Pages: 1... 2425262728... 43
  Archived months: [nov2012] [jan2013]

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