Beginners - March 2012 (Page 36)

Help with my linked list please!
 
Ok, so I have to make a linked list for my school assignment and i can't use the std lib to make it....
[1 reply] : First things first. Little bit confused as to what you want here. Yo... (by MrHutch)
Boost Iostream reading many files in a folder
 
Hello I'm trying to read a folder for its files using boost iostreams this is my current code ...
[3 replies] Last: If textfolder is a folder in your current directory then use: "./text... (by Stewbond)
Sample of Multidimensional Array
 
Hello Guyz, I just want to share this code that I made. Please feel free to comment. Thanks :D ...
[3 replies] Last: Thanks for the link sir... i have removed the system("pause"); ... (by csaavedra)
different approach to present code
 
I have to write this function int cppfsm::updateState(int& state, char c) { int inState = s...
[no replies]
Returning containers from functions (memory issue)
 
Q1. Consider the code snippet int foo(vector<baz> & rick) { int num; vector<baz> local; //...
[8 replies] Last: Thanks! I did not realize I had not understood references!! That exam... (by DexterMorgan)
[Linker error] undefined reference to `binarySearch(int*, int, int)'
 
#include <iostream> #include <fstream> using namespace std; void bubbleSort (int arrayone , doub...
[1 reply] : the "account balance.txt" file contains account number(numbers),name,a... (by andrix10)
Passing Class Objects Into Another Class Object Without Knowledge of the Passed Object
 
I have the following situation: I have 2 classes that are not related to each other. Call these ...
[6 replies] Last: Awesome! Thank you! (by skyline01)
by arooj
getline function problem
 
I have this problem with the getline function where the output is clumped together: This program...
[1 reply] : It seems like there is something still left in the input stream that i... (by georgewashere)
by arooj
getline function problem
 
I have this problem with the getline function where the output is clumped together: This program...
[7 replies] Last: Visual C++ and GCC handles sync() differently. GCC's sync does not dis... (by Peter87)
Question on transform()
 
For transform(b, e, d, f) Can the destination d be the same as b? Thus making transform have the f...
[2 replies] Last: Thanks!!!! (by DexterMorgan)
Tic Tac Toe (Artificial Intelligence)
 
Can any one please help me that how would i do artificial intelligence in tic tac toe game to make c...
[8 replies] Last: Seriously, why don't you check out the MiniMax algorithm? Its easy, bu... (by Pravesh Koirala)
Writing a program to handle ticket sales...How do I initialize this multidimensional array of structs?
 
Hi, total fresh n00b to c++ here. I'm trying to solve a problem to handle ticket sales for a show. ...
[1 reply] : Somthing like this ??? #include <iostream> #include <string> #includ... (by Subzero030201)
Loading a 1-D Array
 
I'm not sure what's exactly wrong with this code. We're suppose to open a file and take the numbers ...
[2 replies] Last: Thanks! It seems to have worked...dumb mistake on my part. (by RawrDuy)
BinarySearch and pointers
 
Hi, my problem in this program is that I don't know how to use binary search in this code : #in...
[no replies]
sizeof
 
Hi everyone. Here's my code. My question is included in the comments: int array ; int*ptr; c...
[13 replies] Last: Okay, I just decided to use Peter87's advice about using the vector cl... (by CJC0117)
Problems in cmath?
 
Building my first real Win32 app, and I ran into like 100 errors in cmath for some reason. I don't e...
[1 reply] : Nevermind, got it figured out (by ResidentBiscuit)
by Mithz
What is the difference between these two?
 
I have just begun learning c++ and what i have learned online and what i have learned from a book ar...
[5 replies] Last: Thanks for the help you were all helpful! (by Mithz)
overloading ostream template trouble
 
I am currently learning about data structures. I haven't had much trouble up until now and I have l...
[no replies]
array with rand number
 
Hi, I have this assignment I am working on. "Simulate the rolling of five 6-sided dice, storing eac...
[3 replies] Last: if statements are a great thing to do, this is a function that will do... (by ui uiho)
Win32 typedef'd types
 
Ok so I've been working my way slowly through learning some Win32. I'm just following MSDN right now...
[5 replies] Last: Eh I actually just did this for (LPCWSTR)"Test Class\0" not givin... (by ResidentBiscuit)
March 2012 Pages: 1... 3435363738... 71
  Archived months: [feb2012] [apr2012]

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