Beginners - July 2014 (Page 21)

Trouble pulling names/grades (seperate files) and printing to a third file? File is blank.
 
I'm trying to pull names from one file, grades from another, and printing both to a third file. I've...
[4 replies] Last: Thanks everyone for your help. I ended up deleting the files and recre... (by LunaCaelum)
Function Overloading
 
I'm not able to call the proper overload for a certain function. Here are the prototypes for the ...
[5 replies] Last: Peter - No syntactical errors are present in the code. giblit - yes, t... (by billywilliam)
HW ?...almost there....I think
 
Write a program with 3 functions: void input(int vals , const int MAX, int & size); void maxmi...
[4 replies] Last: Thanks very much (by burton1995)
by nebel
What's a good way performance-wise to read in words from a text file while ignoring the punctuations?
 
Hello, I have a text file which contains words and punctuations like ,.:"... I want to get each word...
[8 replies] Last: The Windows API (most of it) is designed to support characters encoded... (by JLBorges)
STL Sort Algorithm
 
I'm writing a program to read a sequence of doubles into a vector, prints the values, the sum of the...
[5 replies] Last: Yep (by Peter87)
Please Explain Constructors, Destructor, Public And Private
 
Hi Everybody, I have to read about Constructors, Destructor, Public and Private. I don't understand ...
[2 replies] Last: The constructor is what is called when you construct a new object. The... (by giblit)
by xx1182
Extract Character from file
 
Oki, i'm using fstream.getline to extract characters from a file. Now, here's the problem: Sup...
[2 replies] Last: If the line contains more than the buffer can hold you'll also need to... (by jlb)
ios::app and ios::_Nocreate not going alone ?
 
Hi, I'm trying to open a file with ios::app, but without creating it if it doesn't exist. What is wr...
[5 replies] Last: I tried some kamikadze stuff and it worked this way : fstream file("l... (by Guzfraba)
Can't find minimum (C-Program)
 
I'm making a program in which user enters the number of pancakes eaten by 10 people. Then the comput...
[5 replies] Last: Well, at least have a go, show the code for your attempt and we'll tak... (by Chervil)
Using switch case with letters instead of integers?
 
so I needed to write a program that kept date on entry(part of a diary) and instead of writing if st...
[1 reply] : While someone said something about using a hash... http://www.cplus... (by closed account z05DSL3A)
by xx1182
Callbacks wtf?
 
I'm currently working on a c++ class using a c library. I've heard that c++ doesn't automatically ca...
[1 reply] : error cannot convert void to void O_o You might want to re-read tha... (by cire)
pointers in c++
 
I am studying pointers in C + + and in my book there is a paragraph that explains what values ​​...
[3 replies] Last: Study linked list and you'll understand everything (by Uk Marine)
by gingy
Ifstream Always Failing To Open A File
 
I'm currently working on a game that essentially uses ASCII characters to create the level for a top...
[11 replies] Last: I also included <cstdio>, which uses printf. I generally try to use ... (by jlb)
by Nanyo
Small bug
 
Hello when I start the program little bug is occurring. Some ideas? Thank you in advance! By the ...
[7 replies] Last: Thank you! (by Nanyo)
Errors: expected identifier and others
 
I am trying to teach myself to program in C, I do not understand the error's that I am getting. I am...
[1 reply] : char = (orange + int); 'char' is a type. You cannot assign to a typ... (by keskiverto)
calling function issue
 
Im having issues with outputting the doSomething(pX); #include <iostream> using namespa...
[2 replies] Last: oh thank you. (by cplusbeginner89)
by Sgreen
Simple array issue
 
Hello, I am to sort an array. I want to call this function to auto-input these preset integers into ...
[8 replies] Last: int size; int array ; this is not valid c++. To do it this w... (by giblit)
Why does this code work? (question about cin)
 
When I run the program, and I enter 1-2 (no spaces), I guess the program understands 1-2 is '1','-',...
[1 reply] : How does cin know where input starts and ends? The extraction operat... (by jlb)
by dgsm98
Game programmibg libraries
 
Okay, so ive been learning c++ the last week with the book "C++ without fear" and so ive always been...
[6 replies] Last: If i was going to use an engine, id use unreal 4, its fantastic graphi... (by dgsm98)
Noob question about which program you use to create C++ software.
 
I have been learning Unity and C# but I'd like to ultimately focus on C++. I really like the way ...
[2 replies] Last: Giblit hate to be the guy to correct you, but I have seen a LOT of g... (by AceDawg45)
July 2014 Pages: 1... 1920212223... 43
  Archived months: [jun2014] [aug2014]

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