Beginners (Page 57)

by xsxsux
Password validation help!!!!
 
I am currently working on a password Validation program. It requires: at least 8 digits long, at lea...
[7 replies] Last: Ok, that's another solution. You are wasting some memory but if you do... (by minomic)
by Daviid
Displaying items in a vector?
 
I have a Vector of an class called Zombie. im trying to read out the next instance of Zombie every t...
[1 reply] : I'm not sure I understood the question... Do you want to access a part... (by minomic)
by Nezar
a file of ints
 
Hi, the question is : in what file format should i store a bunch of ints in order to be able to ret...
[1 reply] : You can simply use a .txt file for the numbers. Then the code could be... (by minomic)
by xsxsux
Wondering if this works...
 
I am writing a program of checking how many vowels are in one word and the uppercase vowels in that ...
[4 replies] Last: Thank you very much! (by xsxsux)
Storing the input in the same variable the second time fails,
 
I am writing a simple program to check if the input is an integer greater than 0. I have noticed tha...
[6 replies] Last: Oh right, you need to ignore it. Basically it will erase up to 10000 ... (by EssGeEich)
by Immo
Program from C++ Primer not compiling?
 
I really have no idea what the problem is as Visual Studio doesn't find a problem with any of the co...
[no replies]
How to use sizeof()?
 
Where would i use sizeof() in my program? Would it be in the main body or in my function store_name?...
[3 replies] Last: That has nothing to do with sizeof . If you have an open array of o... (by Duoas)
error ISO C++ forbids...
 
Greetings, My professor is allowing an extension for me to work on this and said he will help me ...
[10 replies] Last: I may leave it out and toy with it later so that I can turn the progra... (by Scythifuge)
Why Is My Function Returning 0?
 
The program simply multiplies us_dollars * rate, and always gives me zero no matter what! priv...
[3 replies] Last: For starters that's not even standard c++ looks like c++/cli or c++/cl... (by giblit)
passing 2d arrays and counters
 
Hello! I am very new to C++ and have been assigned a game of life project. My problem is that my nei...
[no replies]
Programming the computer to guess and improving the program.
 
I'm almost done with this program that I made. All I want to know is what are the many different way...
[3 replies] Last: So, I've been fixing some errors inside my program and I was wondering... (by deathslice)
how to read each line of a file
 
I have this program that takes employee information and outputs their paystub to a file. My code is ...
[no replies]
Why alltime output 0?
 
#include <stdio.h> #include <math.h> int main() { int n; scanf("%d",&n); wh...
[1 reply] : In function 'int main()': 12:23: warning: format '%lf' expects argume... (by keskiverto)
How not to do cryptography
 
I am trying write a simple program to encode something using SHA-3 and the crypto++ libs. I have not...
[4 replies] Last: Since you are only hashing a single string you can use CalculateDigest... (by naraku9333)
by Czar05
How to delete a local dynamic object in a function?
 
I have declared a dynamic object in a local class function. The problem is I am using new to declare...
[5 replies] Last: You would indeed, but not until your LinkedList object goes out of sco... (by mutexe)
Payroll Program
 
Hi im trying to make a payroll program that calculates gross and net pay given the hours worked, wag...
[no replies]
Dynamically allocation of bitsets
 
Hi, I don't have any idea why my program crashes. Is this the wrong way to dynamically allocate a b...
[4 replies] Last: > bitset<400UL>& coord = *(new bitset<400UL>()); that's a leak.... (by ne555)
HELP QUICK
 
Could someone explain to me what is going on?? #include <iostream> 2. using namespace std; 3. ...
[5 replies] Last: void voodoo(int* X, int* &Y) //X=px, so X->x Y is a synonym for py. ... (by dhayden)
Display highest number
 
I am new to programming and im stuck on a part of my program where i have to display the highest num...
[6 replies] Last: // DisplayHighestNumber.cpp #include <iostream> using namespace st... (by patriic48)
task
 
easy task : input : limit number until it will write these numbers. output = 1 2 3 5 8 13 21
[1 reply] : Looks like a Fibonacci sequence with the first "1" missing. What task... (by cnoeval)
Pages: 1... 5556575859... 88
  Archived months: [nov2014]

Cannot post in this page. To post a new message, go to the first page.