Beginners - August 2008 (Page 8)

Problem passing a value -argument-
 
okay, so iv tried to pass the argument, of allowing my array from main to work in my function buy_it...
[3 replies] Last: Line 6 should be something like this void buy_items(string invento... (by anilpanicker)
combination digits "12345"
 
how many times a combination digits "12345" appear in the range of 0 to 50000???? is this posible?...
[3 replies] Last: Yes, if you just want the total number it is 4* 4!=96 ! is called fac... (by anilpanicker)
by kwesi
Why are the files not identical
 
The files outputfile.txt and outputfile2.txt are supposed to be identical. Can you please tell me wh...
[8 replies] Last: Use .eof() to disambiguate between failure and EOF. A simplistic exam... (by Duthomhas)
negative x for jacobi
 
Dear all, hope you could help me verifying my code. Because my result of x's are negative. I want ...
[no replies]
by etoile
C++ with GUI
 
Hi, I am a IT student. I have been learning C++ programming since last 6 months. I learned a lot wi...
[2 replies] Last: I really appreciate your help. Many Thanks for fast reply as well. :D (by etoile)
If Else If
 
Ok this program is supposed to be a POS program in a paint shop. There's a section where I am using ...
[12 replies] Last: Hmm, I did what you suggested. Thanks a bunch, it works fine now, as y... (by toshiro)
++m and m++ are different in terms of run time.
 
How could ++m and m++ are different in terms of run time? and could even have a long code like ...
[3 replies] Last: thanks for answering my question guys.. ive learn alot of it.. and ... (by cuering)
Dev-C++ not working (1,2)
 
I'm running Windows 98 (just to get that out of the way). Hello again, I snagged a copy of C++...
[24 replies] Last: ^Sounds good. I'll be asking for some general instructions in a month... (by sdkelso)
update: Sorting using virtual function? is it possible
 
void the initial post!
[2 replies] Last: I am still using dev c++. My class assignment is to create a payroll w... (by tdigdug)
SOLVED - Pointer passing
 
Hi all, I'm having a problem with passing pointers to an array of long integers to a function which ...
[3 replies] Last: And interestingly, the if-statement never gets executed (I traced it),... (by toshiro)
by tlpog
int ten digit limit?
 
A problem from a beginner's howto on C++. Using g++. #include <iostream> using std::cout; usin...
[1 reply] : That's it exactly. The largest value an int can hold is 4294967295, ... (by Duthomhas)
Looking for a better way to handle instances
 
A friend showed me how to create instances something like a year ago, but my style of handling them ...
[1 reply] : Thats an implementation of the Singleton design pattern. It's still us... (by Zaita)
by zmoney
Dynamic Ofstream Filenames
 
Hello, First off, I want to say that this website is amazing and has been a invaluable source of le...
[2 replies] Last: Ack! Don't do that! Just use a stringstream. (That is what it is for.)... (by Duthomhas)
understaning and passing arguments
 
okay, so iv tried to pass the argument, of allowing my array from main to work in my function buy_it...
[1 reply] : You have declared string player_inventory ; in main() so the s... (by anilpanicker)
Cannot understand the references and documentations
 
I've been using Java for the past 3 years but I'm a total beginner with C++. I just can't seem to...
[5 replies] Last: http://www.boost.org/doc/libs/1_35_0 :) (by Zaita)
by kaisin
how to freeze frame using WindowsMediaPlayer component
 
okie i need help in this, hopefully the experts here can help. backgrd: i need to play a vide...
[1 reply] : hi problem is solved. i realised that i should not used OpenAVIFile to... (by kaisin)
How do I access aligned bit data of different types?
 
I wasn't even sure if the topic question is right...but here's my question Say I have object: ...
[4 replies] Last: Nope. 255 equals 1.0, so I need to divide by 255, not 256. (by helios)
primary expression before else
 
#include <iostream> #include <string> using namespace std; int main() { string accountNumber; ...
[3 replies] Last: Aakanaar 's article about conditions being true or false will explain... (by Mitsakos)
changing icon
 
After compiling .exe file , how to change it's icon?
[9 replies] Last: ok.. then yea.. simply change the icon in the resource file and re-com... (by Aakanaar)
continue statement
 
void func(){ //do stuf continue; } int main(){ for(int i=0;i<10;i++){ i...
[1 reply] : nope, sorry. You'll need to continue from inside the loop itself, in t... (by Aakanaar)
August 2008 Pages: 1... 678910... 14
  Archived months: [jul2008] [sep2008]

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