Beginners - March 2010 (Page 16)

iomanip problem
 
Here the code and the output but it doesn't make sense... cout << endl; cout << "Coke...
[3 replies] Last: WOW... LOL I can't believe that I missed that... I was reading what yo... (by OnymousIllusion)
by opsarc
File input reads in gibberish after file.
 
#include <string.h> #include <iostream> #include <fstream> using namespace std; int main(int ...
[3 replies] Last: - Why would null termination even matter in this case? You should stil... (by Computergeek01)
Question about Functions
 
In my book, all throughout the Function chapter, when they call a function that was previously decla...
[2 replies] Last: I know that it doesn't have to have the original name of the vector in... (by bustaballs)
by timmyd
manifest and .exe issues
 
I am using Visual C++ 2008 Express for a programming class. When I try to do a build, I get an erro...
[2 replies] Last: Did you try doing a rebuild? That has helped me with that problem befo... (by Zhuge)
Very simple test of calloc() and free() failing
 
Hi, I've just been introduced to dynamic memory allocation, so I've written a small test to test out...
[2 replies] Last: These help a lot: http://www.cplusplus.com/reference/clibrary/cstdl... (by Computergeek01)
Char type
 
Is there a way to test if a value is an integer or character. Basically, I need to read a data fil...
[2 replies] Last: I would use isalpha or isdigit. (by Jahmbo)
Understanding function call
 
Hi there- Can someone tell me what this means? It is defined within a class. int Num (void); An...
[3 replies] Last: The (unsigned int) is explicitly typecasting the variable 'Num' to be ... (by sammy34)
by Jahmbo
question on pointers & functions
 
Greetings. I'm working on a program to Encrypt/Decrypt/Crack Vigenere Ciphers. So far I am up to...
[no replies]
for() statements problem
 
hello. can u give me the code for this output: * *** ***** ******* ********* usi...
[18 replies] Last: thanks mathes. now i know how that happen. i'll mark this as finis... (by ecomoda)
by billy1
very confusing program
 
I have been doin this calendar program and I am completely stuck on how to finish it.i have put what...
[no replies]
by michy
string clear()
 
hi there, today i learn a new simple code: str.clear(); but when i execute the program i get ...
[1 reply] : You have to post your code. (by jsmith)
by Metzer
Linked List with Different Class Objects (Not using STL)
 
Hi, Im having trouble with making a Linked List, using different Class Objects (Inherited objects), ...
[4 replies] Last: anyone? it involves run-time polymorphism but im not too sure how to ... (by Metzer)
Program works on my pc fine but it doesnt run on other pcs
 
So i built a programme and I can run it whitout any problems but whe i run it on another pc it shows...
[3 replies] Last: Rycul (29) Feb 14, 2010 at 2:08pm I had the same problem a while... (by twitty51)
True Function Type?
 
Hello all, I have to admit,the cplusplus website is definitely the site to hang out at ;) I'm ...
[13 replies] Last: @Duoas: multi-paradigm is an understatement lol. @chimera: That's ... (by wolfcry)
Finding Errors
 
I've just begun learning C++ got some problems with error finding... I know there are some error...
[4 replies] Last: I've learnt a little about C last term and this term we're going on t... (by rachel0630)
whats the difference between int i=5 and int i(5)
 
Is there any performance difference between above statement. int i = 5; int i(5); Does ...
[2 replies] Last: No. They are both the same. int i = 5; // implicit constructor notat... (by Bazzy)
String storage - which part of Memory
 
When I run the program below, I am getting a run time error "Access violation writing location 0x011...
[7 replies] Last: @guestgulkan Thanks for your explanation I was not sure myself abou... (by Danielsson)
How come this won't work? variable = letter
 
do { cout << "Does your hotel have a 13th floor? (Y or N) "; cin >> floor13; } while (fl...
[4 replies] Last: Cool , got it working , thanks a bunch ! (by whitesnow)
by kana
Accessing Friend Class
 
Hello, Code snippet below: class A{ public: void func(void); } class B{ public: ...
[4 replies] Last: Right, you can directly access private variables from a friend functio... (by yoked88)
Operator overloading
 
Would anyone mind explaining this? I get overloading the extraction, insertion, and binary operaotr...
[6 replies] Last: Clarified, thanks for the help guys, I got it! (by yoked88)
March 2010 Pages: 1... 1415161718... 34
  Archived months: [feb2010] [apr2010]

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