Beginners - February 2009 (Page 3)

if/else issuses
 
im having some issues with a program im trying to make to do my physics equations easier (what the teacher doesn't know... :P) im trying to make the code have t...
[2 replies] Last: OMG wow, thank you...i just now realized that i tried that before, but... (by obct537)
Function call not working correctly
 
I am working on a project with a function. There is an 'If else' that uses a calculation from my function to determine which substance it is according to boil...
[11 replies] Last: LOL! wow. ...thank you all. It works fine now. :) (by Cpluswhat)
bit-shifting
 
Hey, I wrote a little program that encrypts textfiles. It has the name "bitshift" and it accepts parameters from the command line (program itself,source text...
[12 replies] Last: Your code works! Good. You learned something! Outstanding. Things ... (by Ganellon)
by masiht
C++ structure chart
 
Can anyone please tell me how to draw a structure chart for c++ programs ? and give me some tips on that .Please give me some links for structure charts. ?
[no replies]
Declare an itearator
 
Hi, I have a question.I have to make a class and this class should have a static iterator variable so I can call it as classname::iterator.How can I declare ...
[13 replies] Last: Hi ! You need to have two "standard" classes, a "datas" class and a... (by Fififox)
Switch in a Switch problem
 
Hello and thank you for reading/responding.i keep geting this error on my IDE (dev C++) "duplicate label 'case 1'" i assume it is because I put a switch case in...
[2 replies] Last: Thanks for the help! i can't belive i missed something so obviuos and ... (by luigiking)
by masiht
question about programming
 
When I write a prgram the result comes hello worldpress any key to continue How can I print just hello world and no press any key to continue It would be a g...
[6 replies] Last: Hi to all, I am a baby programmer, plz I need some one who can just st... (by Goodybub)
different ints in array
 
I have an int myArray , and I want to insert a little code to check and make sure that all four items in the array are different integers. I want to avoid th...
[2 replies] Last: After the array is created: #include <set> if( std::set<int>( ... (by jsmith)
ordered pairs, triples, etc
 
How can I declare an ordered triple (or pair, or 4-tuple, etc.)? For now, all I need to do is to take user input for six numbers, display them as (x,y,z) (a,b,...
[2 replies] Last: boost::tuple for a general n-tuple (it might be limited to 9) bo... (by jsmith)
permutation problem
 
I'm probably overlooking something obvious. This program should generate all permutations of 3 numbers, as inputted by a user. It works fine if I put the nu...
[5 replies] Last: Yes that works. (by jsmith)
Structure Charts - Conventions and Symbols
 
Hi, i need to find a list of what symbols and conventions there are for c++ program structure charts. I did have some (maybe all) of them but lost my uni no...
[no replies]
by Mav22
question about loops
 
I have an assignment that I need to take a number divide it by 2 till it reaches 0, but the assignment wants me to state how many times the number was divided t...
[3 replies] Last: he means the number that the variable you are using is initialized to.... (by mcleano)
HOw to do matrix??????????
 
for example, if i want to perform matrix multiplication over 2x2 matrices: ( a1 b1 ) x ( a2 b2 ) = ( a b ) ( c1 d1 ) ( c2 d2 ) ( c d...
[2 replies] Last: hi... how to make a C++ matrix??that has a multiplication and addition... (by josephmerz)
Trying to Learn
 
the following is my code #include <fstream> #include <iostream> #include <cstring> using namespace std; int main() { char str ; char name ...
[1 reply] : And.......... http://www.cplusplus.com/forum/beginner/1/ (by closed account z05DSL3A)
Set input stream delimiter
 
Hello, I want to be able to read data from cin in the following format: 07:00 where 07 is hours and 00 is minutes. If instead of the : character there was ...
[3 replies] Last: Thanks for the answers! Bazzy, that works just as I want it to. I ... (by whatsoever)
C++ books
 
Hello, i am beginner in C++, i already read Bruce Eckel book-"Thinking in C++" can you advice books for futere reading? thanks preliminarily, thnak you! P...
[5 replies] Last: You can go to netbks.com and download all of the C++ ebooks (by netwizard)
by wretch
small C++ compiler for practicing
 
I want to practice my C++ at work on my lunch breaks. I use their laptop which is pretty much locked down, although I can load up moderately sized files from a...
[4 replies] Last: One thing I forgot to mention: installing MinGW using the installer re... (by helios)
by Lejar
'cin' alternatives
 
Hello. My question involves cin as a way to gather user input. When I run the program below and press backspace to inter input, the keystrokes previously presse...
[no replies]
How do I see how stdio, say,works?
 
I'm trying to find out what the stdio functions look like, so I opened the .h file and started reading. The only useful thing I found, though, was the function ...
[8 replies] Last: Nah, don't bother. Compilers (specially proprietary compilers, but com... (by helios)
Is this Expresio Valid
 
Heelo, I am new to ths forum and site, I am confussed with a book Called > Programming with C++ by D Ravichandran,2005 edition in this book a Program has a an...
[3 replies] Last: Thanks for directig to a useful page, but Iwant to know that weither ... (by Shanpav123)
February 2009 Pages: 12345... 22
  Archived months: [jan2009] [mar2009]

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