Beginners (Page 3)

g++.exe stopped working
Hi, when I was trying to compile my program on C++, the window respond that a problem has caused the...
[6 replies] Last: Hello world (by Adesola1093)
private object initialization in another class
Why is o/p of this code not calling assignment operator? In class B, A a; should call A::A() an...
[5 replies] Last: @keskiverto thanks for clearing the concept (by aseemgoyal)
Binary Files
Why does this code always out put that file could not be opened ? what's the wrong in this code ? ...
[1 reply] : Chances are the problem is caused by the file not being located at the... (by Ramses12)
String with a space using structers
i want to make the user to type a string with a space. my programm works but without a struct so wh...
[4 replies] Last: @malmsteen Add cin.ignore(10, '\n'); after the cin >> n input to ... (by whitenite1)
by enemy
a.side ??? Is a an object???
Hello! Please, can someone make me clear the construction a.side in next example? Does a not look l...
[5 replies] Last: Hello! Many thanks, think I got it! But still obvviouly not completel... (by enemy)
problme if i change constate with a variable !!
Write your question here. new i have another question if i change number 3 [ for(int x=0; x< 3); x+...
[5 replies] Last: No prob bob (by cactus)
constant objects
Hello everybody #include<iostream> using namespace std; class ColourLight { private: ...
[no replies]
by JFe95
c++ practice turned to frustration
I offered to make my girlfriend a grade calculator for some c++ practice. I've got this far to fin...
[4 replies] Last: Oh wait, Line 26, I see now... (by JFe95)
need help on string objects homework
Line 42: it says "no matching function call to std::basic ifstream char..." and then in the next lin...
[1 reply] : > then in the next line it says "note: candidate is:. keep reading (by ne555)
by new1
how to clear the nested maps
i want to know how to clear the contents in map and list which are in nested like as below can anyo...
[2 replies] Last: thanks for reply, If i use the above , it will only for map2 i.e of ou... (by new1)
C++ Programs
Some programs for creating .exe c++ files and edit?
[2 replies] Last: Some programs for creating .exe c++ files and edit? it is called c... (by Lorence30)
member variables vs member functions
I seriously do not know what the difference is, could anybody please provide a sample as to what a m...
[4 replies] Last: Thank you very much for the help, you cleared up my confusion over thi... (by NookLines)
by AT8795
Writing a Function with an Array
Hello everyone. I was attempting to make a code for a problem that has 2 parts. A: Write a funct...
[3 replies] Last: Ok, show the real code and the exact first error. Note, in your last... (by keskiverto)
Quick theory question about STL algorithms
Hi, so here is the question : How does an STL algorithm take a container as an output argument? I ...
[1 reply] : Note that the question talks about output arguments , not return type... (by Peter87)
Making a Theater Program
Hello, I'm looking for help with creating a program that makes a multidimensional array and the user...
[1 reply] : @azehm628 Not sure what your numbers mean in the array, but here is a... (by whitenite1)
Finding highest/lowest number from an input file
Hello all, I have an assignment that I am needing some guidance on. I need to find the highest/lo...
[2 replies] Last: It would be easier to make two separate functions for max and min, and... (by Arslan7041)
Printing Message log for Flight transaction
I have an assignment involving parallel arrays in which I have to update data of flight transactions...
[1 reply] : Anyone? (by Arslan7041)
error with printing out stars?
the error is in main where i call PrintChar. it says 'h' is undefined but i thought i defined it wit...
[1 reply] : The 'h' and 'w' names are only defined inside the functions 'setHeight... (by ShiroAisu)
by Thecal
Output from array is incorrect. Help please
Thanks for taking the time to read my post. I am writing a program where I read in data from a file ...
[7 replies] Last: Ah, I thought it meant that my braces didnt pair up correctly with ea... (by fg109)
by Bocian
Need help writing class to binary file.
Hello, im trying to write a class into a binary file, although i am getting some errors when i try p...
[3 replies] Last: I was wrong about what problem I thought you would have in using strin... (by fg109)
Pages: 12345... 96
  Archived months: [feb2015]

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