Beginners - April 2013 (Page 60)

by azabla
Creating dynamic file names?
 
Basically, I want to create a file name that contains a variable which I can assign. For example, sa...
[no replies]
Transferring File Contents
 
How can you go about putting the contents of a .txt file into an array?
[2 replies] Last: I am doing a program which requires me to take the .txt file, "phone.t... (by menwithrobots)
Problem with my simple Options Program
 
Hello, I'm new to the forums and c++ so sorry if I seem "special". I'm trying to write a simple p...
[1 reply] : There are a couple of issues here: Instead of using a string to store... (by pogrady)
Game of Nim project. It won't display matches.
 
Hello everyone, I am having one issue with my project. We are making a game of Nim code.I'm 99% d...
[no replies]
While loop issue...
 
I'm doing a bit of homework for my c++ class and this problem came up: use a while loop to sum the i...
[5 replies] Last: Thanks for the help guys! (by ShadowBlades1)
by arashf
Segmentation fault while calling previously assigned values
 
I wrote this code to add and keep new data into a class. class sample { public: int N; doubl...
[10 replies] Last: Fixed version: int main () { int ** a; a = new int* ; ... (by Chervil)
Copying a File's Content into an Array
 
Hello, I am doing a program which requires me to take the .txt file, "phone.txt", take all of its co...
[no replies]
can someone assist me
 
can someone help me with the following: for all of the following use pointers (if necessary) and ...
[17 replies] Last: There's a misunderstanding. I meant what I wrote in the context of gi... (by cire)
quick question
 
what is unique about a template class?
[3 replies] Last: first of all it is code... second of all the whole c++ source file is ... (by closed account Dy7SLyTq)
by Ch1156
Input wont load name and sets money to 0
 
When i go to load my stats it loads money as 0 and doesn load the name, i checked the file and every...
[8 replies] Last: parameters (by closed account Dy7SLyTq)
Reading from text file
 
I want to write a Program that opens a txt file called "text.txt" In the File there will be a word o...
[1 reply] : It would help, if you would show your code. (by keskiverto)
any help would be greatly appreciated
 
I need to write a program that merges the numbers in two files and writes the results to a third fil...
[11 replies] Last: Here is a test program of the function #include "stdafx.h" #include ... (by vlad from moscow)
by zukias
How to save VC++ settings?
 
I've just finished configuring SDL in VC++ and it took a while, I'm wondering if there's a way to 's...
[2 replies] Last: If you have Visual Studio 2012, file>export template. For 2010 you can... (by naraku9333)
How to use graphics on c++
 
Hi everybody! I'm looking for a book to learn how to use graphics on c++ or could someone tell me w...
[1 reply] : idk if there are any books but you could look up a tutorial on opengl ... (by closed account Dy7SLyTq)
by gpfs7
hash table or a heap?
 
i have this assignment but am not sure how to start, would you use a hash table or a heap? Proble...
[no replies]
Saving binary file into an array, data is being corrupted
 
I am working on this assignment, where for this part I am simply reading the file and saving it into...
[4 replies] Last: L B, oddly enough, that is a required code given by the teacher for th... (by Veszafein)
help with function,,{just started using them}
 
this is my code #include<iostream> using namespace std; int main() { int a; a=larger(7,...
[8 replies] Last: *glances to L B* Huh? I guess we could label it as a style preferen... (by closed account 3qX21hU5)
Help! Nested Loop
 
I need help creating a nested loop (it can be a while loop or a for loop) that results in this patur...
[18 replies] Last: True... @Zaita :p (by Sam99)
Moving arrays's value
 
Is here any way to move the value of arrays? Like this, a = 1 a = 2 a = 3 a = 4 and I want...
[3 replies] Last: Actually that for statement is incorrect. First you will be accessing ... (by jlb)
Simple Loop Issue
 
Ok, this is my first post, be easy. I'm quite new to c++ programming. I am trying to make a simple f...
[2 replies] Last: Welcome! // inside while should be accessor func obj.getFeet( ) whi... (by HoneyBoy)
April 2013 Pages: 1... 5859606162... 83
  Archived months: [mar2013] [may2013]

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