General C++ Programming - October 2012 (Page 28)

by paetim
Adding with Arrays
 
I need help with the line that says: cout << "Please Enter 10 numbers (positive or negative)" << en...
[1 reply] : Place this statement cout << "Please Enter 10 numbers (positive or ne... (by vlad from moscow)
String Input question
 
Okay I am building a program that basically asks the user to build a sandwich that they would want f...
[1 reply] : 1) use getline to get the entire section of user input into one strin... (by Disch)
can anyone help me ?
 
For each of the given program segments, read the code and write the output in the space provided bel...
[2 replies] Last: I think you are supposed to solve this yourself to learn something fro... (by Peter87)
Cout << doesn't work within loop
 
Here's a fragment of what I'm trying to launch: for (int i=0; i++; i<=3) { for (int j=0; j...
[6 replies] Last: Oh no, how the ... could I?!.. Well, thanks, Caligulaminus. It must b... (by thestraycat27)
by ekorad
Creating a folder (FULL file path)
 
Hello everyone! I've just started working in C++, so please, no complicated explanations. My ...
[6 replies] Last: I think i fixed it... The problem is that when i declared the string i... (by ekorad)
Help with function programs
 
I have the following program that works great, but I don't know how to set it up using a "main" and ...
[1 reply] : What do you want your function to do? (by pogrady)
How to encrypt strings during build and decrypt after started the program
 
Hi all, I'm working on a program and it contains lots of strings. I wan't to make it impossible t...
[10 replies] Last: Ok, thanks for your help. (by Kitiara)
My_Pointer_substraction
 
Hello. Why do I get 4 printed in the following code snippet? #include <iostream> using nam...
[4 replies] Last: See the "Pointer arithmetic" section of "Pointer craft" http://www.cpl... (by andywestken)
by leoo
Mousewheel check
 
This is what I did, if ( GET_WHEEL_DELTA_WPARAM(WHEEL_DELTA) ) { } But it didn't work, I'm look...
[1 reply] : Hmm, someone? (by leoo)
a program for palindrome in C
 
well i have created a program but my logic is little bad ,, can any one help to improve my logic a ...
[2 replies] Last: getche is not a standard C function. So it is better if you will not u... (by vlad from moscow)
by syifa
can i use nested if-else
 
Round The World travelling agency offered 3 types holiday packages to EGYPT during the school hol...
[3 replies] Last: You will have to use both looping and if-else I guess. Loop to contin... (by codewalker)
remove/ignore getline
 
How do i remove/ignore the "Choice" when user key in "Choice A" or "Choice B" char num ; ...
[3 replies] Last: for getline you can read http://www.cplusplus.com/reference/iostream/i... (by codewalker)
printing position memory
 
hellow, friends... How do I print on the screen the position of an element of a struct. #incl...
[2 replies] Last: webJose, amazing!! I tested with chain of characters and works like yo... (by Summerson Goncalves)
Linked List
 
Hello can you please help me in producing the response for the below question since i have an exam t...
[3 replies] Last: http://cplusplus.com/doc/tutorial/ is the thing you need if you dont k... (by codewalker)
Urgent Programming Help Needed
 
I've started a major in computer science, and I'm having a great deal of trouble in my programming c...
[3 replies] Last: This is a good place to start http://cplusplus.com/doc/tutorial/ (by codewalker)
by Yezman
Pointers + Arrays
 
So, I have been reading over this. http://www.cplusplus.com/doc/tutorial/pointers And have come acr...
[5 replies] Last: @majidkamali1370 use parentheses to output address: cout << &(terry ... (by vlad from moscow)
Where is SFC /scannow log file in XP?
 
I have a question: Where is SFC /scannow log file in Windows XP ? In Windows7 We can Find thi...
[1 reply] : The reason is the it doesn't have the right to do so. See http://ww... (by coder777)
A cry for help
 
Hello, my name is Zac, I'm 23 years old, and I've been struggling to learn programming languages no ...
[13 replies] Last: To get started, you don't need all that stuff. In these Von Neumann l... (by kbw)
Error unqualified id :( help me guys!
 
Here's the code...and I am getting an unqualified-id before '{' toke: #include <iostream> #inclu...
[4 replies] Last: You should swop the call to your returnResult function and the cout im... (by SIK)
by oscott
How to implement my variables into my output file?
 
Creating a program which counts the number of A's B's C's D's E's and F's in one of Plato's works an...
[1 reply] : you dont need the "{" above ofstream newFile; and "}" below newFile... (by codewalker)
October 2012 Pages: 1... 2627282930... 50
  Archived months: [sep2012] [nov2012]

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