Beginners - November 2011 (Page 52)

user defined function help
 
Hey guys, I'm a beginner at C++ and was trying my hand on a few assignments...i've reached a poi...
[2 replies] Last: Thanks for the link..will read it..I'm just really confused...the prog... (by Gdisarray)
by ale
reading file into a 2-d array
 
i got a maze program to do, and we are supposed to read a maze from a .txt file and i have no clue o...
[8 replies] Last: @Onions: He did give an example :P Right in the OP. @ale: Since it's ... (by BlackSheep)
by gladi
Binary search Tree
 
hi guys, can you help me with my code I have a problem with my function it is not print the number ...
[1 reply] : Duplicate thread: http://www.cplusplus.com/forum/general/54439/ (by shacktar)
Having trouble reading from a text file
 
I created this function to read line entries from a text file. I created a for loop using the “stu...
[2 replies] Last: @Andre Ekblom You get the number 4 printed, because the cout prints i... (by whitenite1)
by N8byte
fstream and string
 
Hey guys, I've used C++.com's reference quite a few times and I usually don't ask questions unle...
[1 reply] : For the file name, fstreams take in a const char* as a parameter in ... (by shacktar)
help with structures
 
Assume that type Money, a structured type with two int fields, dollars and cents, has been declared....
[1 reply] : I would start with reading up on functions. You should have dollar an... (by Andre Ekblom)
Dynamic memory allocation help
 
Hi everyone, having some problems with my homework assignment. Assignment is as follows: Write a ...
[1 reply] : In main, after you double the array, you're printing the old array but... (by shacktar)
by koha23
Need help with this
 
#include <iostream> #include <iomanip> using namespace std; int main() { float celsius, fahr...
[1 reply] : You created a project without clicking the empty project box. Right c... (by Andre Ekblom)
Words in a sentence into a separate parts of an array
 
I am looking to take each word in a sentence and put them into an array and then print each word on ...
[no replies]
C++ and Mysql.
 
Hello. I'm using VS2010 Premium, in french yes sorry :P After using the MSI to install mysql c++...
[no replies]
by lirik
Help with factorial!
 
Hey guys, so I'm trying to make it so that my factorial variable chooses the number of the cust vari...
[7 replies] Last: Haha don't worry about it, all good :P (by lirik)
Functions with Arrays: Sorting ints in Ascending order and deleting a duplicate
 
Here is the problem: Write a full program that reads in an arbitrary sequence of integers from the ...
[no replies]
Checking string against words in a file problem
 
#include <iostream> #include <string> #include <iomanip> #include <fstream> #include <vector> using...
[7 replies] Last: Clearing it solved all the problems. Thanks. However, I realized the... (by JamesGold)
by cam155
while loop program help
 
hi for a school c++ project i have to make a program that's a while loop that asks for an integer re...
[1 reply] : Two things stand out with this problem. 1. Obviously, a while loop is... (by Maese909)
Trouble opening saved arrays
 
I am having a lot of trouble saving and then opening arrays Save by: #include <iostream> #inc...
[2 replies] Last: Awesome! well... mostly. Its working on some of my programs but not on... (by Nathan McCleskey)
StringStream Not Reading But Once
 
What I'm Trying To Do: 1. Read CSV file into string 2. Iterate string and replace commas found...
[no replies]
Quick help for assignment due at 12 tonight! "Identifier Not Found"
 
Sorry for the demanding subject and short notice. I completely forgot I had a project due today at 1...
[7 replies] Last: thank you stewbond. That was a brainfart on my part. It actually is wo... (by Adrian10988)
by st0rm
Reading a random text line into array
 
Hello, I have some problems with my school project. I am trying to make a simple hangman game, but I...
[6 replies] Last: Thank you very much :) it works. (by st0rm)
by gwiz
Not sure how to title this
 
Hi, I'm reading Charles Petzold's book on windows programming 5th edition. I'm reading chapter 2 abo...
[5 replies] Last: Ok thanks a lot guys, appreciate it so much! (by gwiz)
by Funkme
Reading a file.
 
Hello, I'm making a text based game to gain some experience in c++. I'm currently working on a kind...
[no replies]
November 2011 Pages: 1... 5051525354... 65
  Archived months: [oct2011] [dec2011]

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