Beginners - May 2011 (Page 30)

by ascii
project euler 4
 
can anyone else tell me if this is right for project euler problem 4? i have to find the largest palindrome that is made by the sum of two three digit numbers....
[6 replies] Last: hehe there you go :) (by ascii)
by mobat
Questions I'm not sure of.
 
I need help on these 3 questions im stuck on. 8) Discuss how the following input problems can be resolved: a. The user typing an out-of-range value ...
[8 replies] Last: dont just post answers coder777, doesnt help. (by ascii)
by zeus
Anyone fancy marking my work?
 
I read the first couple of chapters of the tutorial on this website about 5 years ago. Wrote a console program which works out the day from a date. Then didn't ...
[4 replies] Last: I hate the use of goto! It is awful! It makes a program's code hard ... (by webJose)
How do I Dynamically Allocate Memory for a 2d char array.
 
I understand how to dynamically allocate memory, I am just getting a little bit confused when it comes to doing it for a 2d char array. How do I go about doing ...
[5 replies] Last: No problem AndrewGary . Did I answer your question? (by Mathhead200)
Void/While/if help. :P!
 
Elo, need some help. #include <iostream> using namespace std; void print(); int main(){ int x; cout << "Hello, enter the number 5"; cin >>...
[10 replies] Last: Like if you get it wrong (Not == to 5) it randomly turns on the loop. ... (by kong288)
Problems opening a binary file
 
I have written a program to keep a movie record. All functions work as desired except the function that i wrote to erase a record. I have been debugging and fo...
[5 replies] Last: Thanks. I'll be fixing it now. Hopefully, i won't find any more erro... (by Teru XD)
Having a little trouble for my final game project
 
the game im making is a dice game where you play against 5 computer players. There is 12 rounds and each round you use is 2 dice and the best of that round gets...
[4 replies] Last: You should work more on formatting.. Here (your code): #include <io... (by hamsterman)
Pointers in an external function not working as they should?
 
Hi. Im trying work with pointers and failing a little, although I've made strides recently. Is there a reason that a code similar to the first example would n...
[5 replies] Last: You are a legend. I've been struggling with that problem for so long a... (by chr15chr15)
by Spada
header and source
 
Forgive me for the trivial question but i'm a new in c++ world. I have finished to read a beginner's guide of c++. There is nothing regarding how do i have to ...
[1 reply] : You can simply use the #include "somefile.cpp" procedure. (by Ramses12)
Invalid Input leads to Infinite Loop
 
Hi, I've a simple menu on my program, and it prompts for an int value. If a letter or string is entered, the program goes into an infinite loop. I was ...
[5 replies] Last: int menu() { int choice; cout << " **** MENU **** " << end... (by webJose)
Vigenere Cipher Trouble
 
Hi all, I coded a working Vigenere Cipher today. All seems to be in working order. A feature that I'm looking to implement though, is that if a space (or ...
[7 replies] Last: I`m just a newbie but have you thought if it is posible to assign a s... (by strashko)
by tayf
little help please :(
 
hello guys ı have a problem.problem is ı should do even and odd number checker after that ı will enter a variable first a =5 .this checker will check a =5 it...
[3 replies] Last: ı m sorry this question is not true but ı cant delete (by tayf)
cin << troubles
 
Hi there, can anyone help with this, im making a very simple program for practice and am coming up against a problem that I've seen other people have had also, ...
[11 replies] Last: massive apologies for being an idiot, i just got it:) Man, I'll only m... (by jonathantopf)
calcualtions in multidimentional arrays
 
Hello my friends I know that my problem must solved here or at least you well give me a recommendations : My problem is How I use multidimensional array in calc...
[7 replies] Last: this my code #include<iostream> #include<cmath> using namespace std... (by abu Alhassan)
searching in a file
 
I'm trying to make a simple program which searches for a certain record in file but some why it the search member function doesn't produce any output can any bo...
[3 replies] Last: Yes I see. The problem is on line 33. There you add '\n'. But when rea... (by coder777)
equations
 
having trouble with a question Write a C++ program that calculates 1/(1 × pow(2,3) + 1/(pow(2, 2) ×pow 3, 3) + 1/(pow(3, 2×pow (4, 3) + ... + 1/(pow(...
[3 replies] Last: Do both work? Also, is badsum different form sum ? I suppose you shou... (by hamsterman)
Programming Project - Difficulty with Reading a File
 
Hello! I'm having major problems with my last function. The function is made so that when a word breaches the character count of 72, it takes the word and puts ...
[1 reply] : If you want to read and write then use fstream instead of ifstream. if... (by coder777)
by zz77z
check if there are a frequency number in 2D array?
 
hi i have a 2D array 9x9 that represent Sudoku that hold onley a number from 1 to 9 in each cell how to write one or more functions to check whether the ...
[11 replies] Last: i have a problem if i tried to check this row : 5 3 4 6 7 8 9 1 2... (by zz77z)
I'm new here,Please allow me to post in Support
 
What is this? This is not a programming site!!
[no replies]
by Eyad
HELP PLEASE
 
For example; if i wanna divide 89 / 25 so the answer is 3 and the remain is 11. how can i get this answer using for loop? in other words I want it to be dis...
[3 replies] Last: Thx guyz (by Eyad)
May 2011 Pages: 1... 2829303132... 48
  Archived months: [apr2011] [jun2011]

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