Beginners - June 2010 (Page 20)

Exceptions in Constructors
 
Say if two constructors throw exceptions, then the compiler calls terminate()... meaning it doesnt k...
[2 replies] Last: Ok, that section doesn't help answer the question. I think the ques... (by jsmith)
nOOb trying to learn C++ with MS visual studio.
 
I'm reading some tutorials on C++ and I'm having problems right off the bat. I'm just trying to ...
[4 replies] Last: Thanks guys! especially for all these fantastic links. I am capable of... (by avocadobaby)
Program won't wait for input ??
 
Hello again, i've a simple little program below that compiles ok and seems to work. Basically it ask...
[3 replies] Last: Here is the program doing the same task .... #include <iostream> ... (by systempause)
pointer
 
Hi . what is my error in program #include <iostream> using namespace std; int main() { ...
[4 replies] Last: Ok.I can try...Thanks.. (by systempause)
Weird compiler error?
 
There is nothing wrong with the code but the compiler throws this error: 1>arrfun3.obj : error ...
[8 replies] Last: In summary: Your declarations and definitions have to be of the exact... (by magnificence7)
by geoff
Reading/Writing binary records
 
Hello, I need to write my own file format, for storing vertices and the like. I've been googling ...
[1 reply] : Fixed, stupid thing to do. I was opening and closing the log in the fo... (by geoff)
Is it possible to have stl containers as default parameters
 
class ABC { ABC(int i,int j=0); } The above code takes j as a default param...
[12 replies] Last: Thanks firedraco & Albatross If my understanding is rite about the... (by karthick88)
Calling window codes
 
So what I did is make a form in Visual Studio, and I want to copy and paste it into a dll I am makin...
[1 reply] : Like, I figured I could use Form.Show or FormShow() which ever one it ... (by C to the UNIT)
Is it possible to assign null value as the default value for a default parameter
 
consider the following prototype void function_name(std::string str1 , std::string str2=...
[3 replies] Last: I think I asked a dumb question. There is no way of assigning a nu... (by karthick88)
by k1313
Self-starting program???
 
hi, i'm fresh in c++. i've just finish my first "big" program :). is it possible to make it and save...
[6 replies] Last: As I said, you need to link the CRT statically. See http://stackover... (by Athar)
Error with MessageBox on console.
 
I've been getting this problem with my program. Every time I run it, it continually pops up blank m...
[3 replies] Last: The file_exists () function should return bool . That'll fix it. ... (by Duthomhas)
Adding linear linked list capability to an existing program.
 
For my final program for my CS class, I am supposed to convert this program I already wrote which is...
[2 replies] Last: OK, we actually did learn about LLL, we just never saw a complete prog... (by rylarson)
how to show the user the list of book from which the user want and....
 
#include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv ) ...
[4 replies] Last: can u help me to modify it by using vector that have mentioned to me..... (by beginner01)
c++ needs some feed back :)
 
An object of class LabMetaData has the following attributes: Lab Number - A whole, positive numbe...
[2 replies] Last: well for my lab it asked me to "In this lab you will create a new clas... (by jade777)
Can this be done any cleaner/more efficient?
 
I made a small database and it works perfectly, but is there a way to make it cleaner? include <...
[8 replies] Last: Well, I post because I like helping people, not because I like posting... (by m4ster r0shi)
by wtf
Something strange...
 
Why does the following code compile? int fuck ; fuck[-2000] = 3; cout << "fuck[-2000] = " ...
[4 replies] Last: Probably it had not as much to do with the fact that it's less out of ... (by Albatross)
ASCII code
 
hello for all I want to know what is the ASCII code for Enter ?? and how to use it in any program ...
[7 replies] Last: http://www.cplusplus.com/forum/articles/7312/#msg33734 (by Duthomhas)
by neeko
Stack around variable corrupt
 
My program keeps crashing during cleanup (return 0;). The error message I am receiving is; "Run-T...
[2 replies] Last: Edit: Nevermind. I figured it out. Just another dumb mistake of not de... (by neeko)
type conversions
 
The book I'm learning C++ with briefly (as in a couple pages) talks about using the typeName (val...
[2 replies] Last: So, typeName(value) creates a variable (basically) of the type you spe... (by Kieth89)
by Frouge
Easy answer needed!! Will not allow input
 
I am very new at C++, but I have perused the forum and saw only one similar quesiton. I am writing ...
[4 replies] Last: Everyone, thanks I ended up commenting out "//" anything with the nam... (by Frouge)
June 2010 Pages: 1... 1819202122... 26
  Archived months: [may2010] [jul2010]

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