General C++ Programming - October 2015 (Page 21)

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] : http://mathbits.com/MathBits/CompSci/looping/nested.htm (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
 
EDIT: DELETED
[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)
arrays
 
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)
matrix multiplication
 
I have 2 arrays a & b. They are the same length. I want to multiply one array by the other. I have a...
[5 replies] Last: not with x , the characters to overload are limited. (by Ericool)
Returning char array
 
I have a class which contains these private members: char firstName ; char lastName ; and a m...
[1 reply] : char* getfirstname() const{return firstname;} (by Ericool)
Xcode shows MAX as an undeclared identifier
 
Hello, VS 13 in Windows can run the following program without any error message whereas Xcode in Ma...
[5 replies] Last: Some header included somewhere defined the symbol 'MAX'. Probably a Wi... (by helios)
Transfering Value Between Functions (Begginer question)
 
Hello! I'm working on my first big project (big for me) and I have an issue. How can I transfer the...
[4 replies] Last: 2 Questions. Would the address of the integer variable be where you de... (by Generalbiiff)
October 2015 Pages: 1... 1920212223... 27
  Archived months: [sep2015] [nov2015]

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