General C++ Programming (Page 3)

by new1
file modification in c / c++
Hello , i want to modify the file contents using C++ here is the below sample prog. #include <s...
[2 replies] Last: yeah i got it , i just misplaced my input text file i had a doubt , ... (by new1)
Help with Airplane Reservation Project
Hello everyone, I'm currently working a project for class and I am stuck. I am a complete newbie...
[1 reply] : Duplicated Post. (by chicofeo)
cout.rdbuf() and printf()
I assigned a char buffer to cout in order to speed things up. And as expected it was extremely effic...
[8 replies] Last: Ah, you are right. I need to fix that too. Behavior of different calls... (by MiiNiPaa)
Help with implementing 3 functions for a problem that can be solved with just 1
Hi all, I'm new to the forum! I was wondering if someone could point me out with the logic my code. ...
[2 replies] Last: Ericool : Do not suggest non-standard functions when there is a perfe... (by MiiNiPaa)
Help with a for loop segmentation fault in my code.
Write your question here. I'm writing a program in c++ which reads an outside weather file with 365...
[1 reply] : Line 25: hottest_index is not initialized. Hint: It contains garbag... (by AbstractionAnon)
by belop
help with myn program!!!
Write a program in C++ which adds, subtracts, multiplies, divides and perform exponentiation on two ...
[1 reply] : What's the problem you are facing , hope it is displyed what you enter... (by new1)
Having some difficulty understanding file io
An interactive C++ program whose input is a series of 12 temperatures from the user. It should write...
[5 replies] Last: This is more updated code this actually runs and subtracts the program... (by edjohnson35)
by css416
Functions with Arrays
SAMPLE DIALOGUE: Type a string: abcde ojkl Encrypted: *bcd# +jkl Task is to replace all lette...
[3 replies] Last: What about arrays? Have you discussed arrays yet? Some professors talk... (by YFGHNG)
C++ "compiler" speed enhancements
Hi, it would be great to have a tool that enhances C++ compilation time, breaking it down to funct...
[2 replies] Last: interesting. Did not know about Ch. It seems to be a good tool to get ... (by gregorsch)
by JLGo
Matrix 2D array
Hi all, I have trouble in display my matrix program. All the data entry are displayed in line.. ...
[1 reply] : (by mutexe)
Needs help with validation
Hi guys, I need help with this programming assignment!! #include <iostream> #include <stdlib.h> #i...
[5 replies] Last: I provided you with a link on how to do it. That page includes an exa... (by AbstractionAnon)
help with importing into multiple arrays
I'm working on creating a program that will read a file with three lines of data. The lines are a st...
[1 reply] : firstly, use code formatting (<> to the right of the edit box) The fo... (by Jaybob66)
error C2678
[6 replies] Last: Why did you delete your post? You've basically destroyed any possibil... (by MikeyBoy)
When there is nothing to return from a value-returning function!
Consider this, guys.
[16 replies] Last: An exception should never be thrown and caught in the same scope, that... (by LB)
Hey y'all, I need some help I am supposed to count the number of words and letter in the array and...
[7 replies] Last: Yes please use code tags when posting codes. If your input isn't guar... (by arzhon)
by BH11
Storing user input
I understand the concept to make a code to ask a user to input variables, but how would i go about t...
[1 reply] : Vector, array, or list. Take your pick. Or if you wanna be fancy schma... (by YFGHNG)
by keeep
CCC Othello Problem
Been stuck trying to complete the 2006 problem 5 for 3 days, so i decide to suck in my pride look at...
[no replies]
float, double
for the number "3" are floats always denoted by 3.0 (plus) f .... = 3.0f are doubles always...
[1 reply] : The type of a floating literal is double unless explicitly specifie... (by JLBorges)
header and math.h file
I've been experimenting with namespaces. Everything has gone well, and in the process a problem jump...
[6 replies] Last: OMG I thought for whatever reason it was 4 * 50 sorry... pow(4,50)= ... (by technologist)
How to declare a function
Hi! I'm new at C++ programming. I'm trying to declare a new function in my program, but I can't sol...
[1 reply] : Possible answers: int main(){ int NiterMax=10000; // numero ite... (by sergiofevr)
Pages: 12345... 30
  Archived months: [aug2015]

Cannot post in this page. To post a new message, go to the first page.