Beginners - July 2009 (Page 2)

Meaning of an error
 
Hi, I am reading deitel and associates' how to program in C/C++... I followed the code that was writ...
[3 replies] Last: Thanks for the fast replies.. i think I get it now :D (by jinxcube)
default mode parameters for open member functions
 
On http://www.cplusplus.com/doc/tutorial/files/ it says: ----------------------------- Each one ...
[7 replies] Last: I wonder how the compiler could recognize the two overloads when passi... (by Bazzy)
by MiaZas
Vector printed in columns
 
I have a vector filled with 52 elements and I want to print them into 3 columns. How would I do that...
[3 replies] Last: It's actually not really that hard. Loop through and just use setw ... (by Tevsky)
Object creation inside swtich statements
 
Is it not possible to create an object inside a case of a switch statement? I tried and got the erro...
[8 replies] Last: MyObj* obj = 0; switch(foo) { case bar: obj = new MyObj( st... (by Disch)
creating a tree pattern using looping
 
I am having trouble trying to create this the way my professor wants. this is what is required from ...
[3 replies] Last: Ok well i just made this program (only using the two conditions from t... (by mcleano)
Printing one digit integers with two digits
 
Hi there, I am trying to write a program in which I need to get printed some integer numbers. Thi...
[4 replies] Last: Aye aye captain! (by mcleano)
How to disregard code.
 
Hi guys, this will sound rather silly im sure but I want to know how do I disregard large chunks of ...
[6 replies] Last: The industry standard way is to use R0mai 's method. C and C++ pro... (by Duthomhas)
First question in a while
 
Aight, so a friend asked me to write an organizer program with the vector class. #include <fstre...
[9 replies] Last: Debugging segfaults is typically pretty easy. What have you learned b... (by kempofighter)
Create button at runtime
 
This may seem a little bit fundamental but I am relatively new to C++ and cannot find the answer any...
[2 replies] Last: Thanks for the help, it was really useful! :-) (by danieljabailey)
string and answers...
 
hey guys ive been reading the pdf tutorial and i checked the "if and else" and i wanted to know if i...
[3 replies] Last: ohh okay i wanted to know only thx for the answer... the then was for... (by shoryuken123)
read input string
 
I hv an assignment to translate words enter by user. I have done some code and it is work to tra...
[2 replies] Last: It really work....ok the code is as below #include <iostream> #... (by yusnita)
Need this C++ program
 
Hello Guys, I am In need of your help,I need to make a program that can store information you giv...
[1 reply] : You can create a class with all the info you need as members, then sto... (by Bazzy)
finding the elements in an array of void pointers
 
Hello guys, how can I figure out the types of elements in an array of void pointers ? Because I ...
[12 replies] Last: Thank you guys. I figured it out. :) Best regards (by cppuser)
Error when overloading operator<< for a template
 
Hi everyone, I'm writing a template Matrix and I want to overload operator<< so that users can wr...
[9 replies] Last: Thanks that makes it clear :) (by wmheric)
Hiding Console Window In Runtime
 
I am working on a project in which there is a login module. This login module is a separate applicat...
[16 replies] Last: Yes exactly - what? (by Mythios)
by Nelo87
Password always accepted.
 
I have to make a program that asks for someone to make up a password. The password should at leas...
[4 replies] Last: I believe the string1.length and other functions are in the next chapt... (by Nelo87)
by burner
errors with volume and area calculator
 
I'm having problems with another calculator I'm writing. I'm trying to have it so that if a user ty...
[5 replies] Last: okay, thanks. I know one says prism and the other says rectangle, cus... (by burner)
by chria
Reading an integer
 
Hi, I have a problem with reading an integer from a user. What I do now is using this bit of code...
[4 replies] Last: Here's something to blow your mind. :-] The template stuff you can ... (by Duthomhas)
Nontype template parameter
 
Hi guys, why doesn't this code compile? template <class T, size_t N> void array_init(...
[8 replies] Last: you can not pass a array to a function, no matter it is a NORMAL funct... (by fetag)
Compiler and Debug close w/o reason or error message
 
Hi guys :D So, I'm writing a simple blackjack card game program, and it's been going pretty well up...
[3 replies] Last: Thanks a ton for the stuff in the first post, it helped a lot! I don'... (by roflwaffle)
July 2009 Pages: 1234... 20
  Archived months: [jun2009] [aug2009]

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