Beginners - October 2013 (Page 31)

Class c++
 
Hello guys :) I hope you are having a great sunday!! :) I have a c++ homework for tommorrow that i h...
[1 reply] : One of the rules is don't post homework. If you have a specific questi... (by vasilenko93)
Is this a bug with GCC?
 
How can the presence of an ofstream data member of a base class prevent the casting to a subclass? ...
[7 replies] Last: > Yes, mea culpa. std::ifstream is not no-throw-move-constructible. ... (by prestokeys)
help with i/o binary
 
hello everybody i'm trying to write/read some simple binary files in my aplication. i'm able to do ...
[18 replies] Last: oh, i see. so, any hint on how to safely store floats across different... (by Stauricus)
linker problem
 
hi, i have been bashing my head against a wall for a while trying to work out this "undefined refere...
[1 reply] : Hi there, Is the (template) definition of operator>> in the header fi... (by closed account o3hC5Di1)
by Sandz
Help needed
 
Hi, I needed some help to confirm my answers. Please help me check whether my answers are correct. ...
[1 reply] : Hi there, Please don't ask us to correct our homework, that could be ... (by closed account o3hC5Di1)
Invalid Operands to Binary Expression
 
I have written this code as an assignment wherein some computations are done after the user enters a...
[1 reply] : Hi there, Try using double quotes around your day names: day=="Su"... (by closed account o3hC5Di1)
switch case error
 
Here is my code : //swich.cpp //using swich statement #include <iostream> using namespace s...
[2 replies] Last: Ohhhhh very damn stupid of me !!!!!! :( @Mobotus thanks for pinting it... (by closed account 4jzvC542)
delete error
 
it shows running error when i use delete memory but i dont know why please help int main() ...
[18 replies] Last: like now value is deleted why does it show adress shouldnt show junk ... (by Disch)
by tce19
Loops and Iteration Structure
 
****Please Help...edit the program, complete the blanks***
[1 reply] : Here is the answer, though giving you the solution won't help you pass... (by Stewbond)
Sum up and Average
 
Hi guys, I am just a beginners at C++ and I wrote this small code and I am trying to sum up the numb...
[3 replies] Last: #include <iostream> #include <cstdlib> #include <ctime> using namespa... (by Chriscpp)
preprocessor
 
Why do we need to write #ifndef ANYTHING_H// #define ANYTHING_H #endif in wrapping the class i...
[3 replies] Last: in all three .cpp files that needed the header files functions prototy... (by Sharan123)
by Mayah
Collect and output statistics using constructs
 
Hi everyone! I am completely new to C++ programming and am having some difficulties structuring ...
[2 replies] Last: Hi rodiongork, Thanks so much for the reply! I'm a little confused as... (by Mayah)
Modified MAZE problem
 
There is a matrix which contains white cells(represented as 1) , black cells(represented as 0) and o...
[1 reply] : hi (by dayanand)
Not sure where to initialize
 
Hey guys! I can't figure out where or what to initialize min and max to in order for this program to...
[2 replies] Last: At the start: int min; // Set to BIGGEST possible value. ... (by Chervil)
by sea711
Segmentation fault (core dumped)
 
Help - Segmentation fault (core dumped). I am going to try to comment out line by line to fix. I wis...
[9 replies] Last: What everyone is saying is that you have declared variables but not gi... (by Manga)
by Xyexs
Code clean up in visual studio?
 
Soooo... in eclipse juno i usually format my code (fixes all indentaion,missplaced whitespaces, unus...
[3 replies] Last: I have Eclipse Kepler running on Linux, which does C++. HTH (by TheIdeasMan)
I'm going to start to learn C++
 
I have good knowledge of HTML and CSS. I have basic knowledge with Javascript and PHP. Is this the e...
[4 replies] Last: Thank you all for your replies. I look forward in learning C++. (by jibberjabber82)
array size = declared int variable?
 
Is it possible to make an array size change with a int variable? Say: I have a program that wants m...
[3 replies] Last: you gotta create a new array and copy the old one into new one. someth... (by threeright)
Appending pointers and arrays
 
Hello, so I've been having trouble finishing this code as I'm not entirely sure how to go about the ...
[3 replies] Last: char* stringCat1 (char *str1, char *str2) { int strLen1; ... (by threeright)
new int question
 
Hi everyone, I don't understand these two line: [ int* outcomes=new int ; outcomes ++; ] ...
[4 replies] Last: thanks a lot. (by sarra16)
October 2013 Pages: 1... 2930313233... 86
  Archived months: [sep2013] [nov2013]

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