Beginners - February 2014 (Page 43)

HELP with assignment about password requirements !!!
 
These are the requirements for the user input password that I have to add to my current codes: 1.The password must be at least 8 characters long. 2.The pass...
[3 replies] Last: you will need to choose a proper destination instead of : ifstream... (by americanxo)
Answers off by .5!! Help!!
 
I'm finding the median, and upper and lower quartiles from a file inputted by the user. Unfortunately, I'm .5 higher on all three values. Below is my code, ca...
[no replies]
Making an application
 
How do i make an app for i-phone or android based platform i have knowledge of c++ and sdl i have a pre-made pinball game can i directly implement the code . ...
[1 reply] : Is having the following criteria mandotary to make an i-phone app To d... (by Sharan123)
how do i get numerical answers in 000.00 format?!
 
Write your question here. #include "stdafx.h" #include <iostream> #include <iomanip> using namespace std; int main() { int a,b,c,d,e; floa...
[2 replies] Last: thanks a lot! (by Rudy Ortiz)
Counting characters
 
How can I search for a single character in a text file and count how many user specified character are in the text file? For example: User input: 'a' Number ...
[3 replies] Last: i think you need to select a proper destination. it should be like. ... (by mickey4691)
Pi approximation.
 
The value of pi can be approximated using a series. pi = 4(1 - 1/3 + 1/5 - 1/7 + 1/9 - 1/11 + ... + 1/(2n-1) - 1/(2n+1)) Write a program to let the user input ...
[2 replies] Last: it does not....i think my code is wrong... It's just supposed to give ... (by mickey4691)
Junior competition challenge question
 
Problem J2: Rotating letters Problem Description An artist wants to construct a sign whose letters will rotate freely in the breeze. In order to do this, she...
[6 replies] Last: Well once again you are doing your conditions wrong if( x !='I'||'O'... (by giblit)
Adding User Text Using OpenGL
 
Hi, I've been looking around the internet a lot, and I can't seem to find anything to help me to add user text into my OpenGL program. I would like for the f...
[no replies]
Operator Overload with Arrays
 
Hello everyone, I am working on a program that takes two matrices and adds them together. My program compiles fine but there is a logical error. I'm confident t...
[3 replies] Last: @Chubbi You're right, that was the problem. Thanks for the response! ... (by BreezedStars)
User Input Filename Help!!
 
I'm pretty sure my code will work correctly, but when I try entering the file names, it says that they cannot be opened! Can anyone help me out?? The user need...
[2 replies] Last: The files exist, but how do i know if I have the proper permissions to... (by giraffe1234)
Advance pattern recognition.
 
Why my code doesn't work? int rgrep_matches(char *line, char *pattern) { /*int num = check_slash(line); int start = 0; char slice_...
[no replies]
Using Null pointers
 
I'm working through some examples and I've reached pointers, I'm kind of understanding. But I am so stuck when it comes to Uninialized Pointers. This is what I ...
[3 replies] Last: Hi, Thanks for the explanations, just looking at from a different angl... (by lorilew)
Creating a list for my favorite games.
 
Hey guys, Well I've been programming now for about a month and this is an exercise in the book I'm reading. It works fine but if I input a string when trying ...
[2 replies] Last: Thanks for that. I was using sleep function before but I forgot to re... (by Sausage)
HELP with if statement coding!
 
Hey guys, I'm new to programming and I need a lot of help! It'd be greatly appreciated if anyone tells me what I should do to make this program work. I have...
[1 reply] : It can help to write out the steps of how you'd solve this on paper fi... (by wildblue)
Please help with cin!
 
Hello I'm new to programming. I'm trying to tell the user to use proper notation but it keeps saying i forgot to use the left and right parentheses even though ...
[2 replies] Last: how do i use cin.get()/ cin.peek() to fix the problem where the progra... (by theguido69)
by Airyk
keep getting an error where it says "Unit" was not declared
 
Everytime i compile my class it keeps telling me that "Unit" and "user" were not declared in this scope and i cannot figure out what the problem is. here is my...
[1 reply] : What and where is the definition of Unit ? (by keskiverto)
Exporting output.
 
Okay, this code works, but I need to know how to export my output information to an excel file or to an .txt file. can someone show me what I need to code and w...
[no replies]
function that returns an array
 
Write your question here. int * before_after_clauses(char *line){ int num = check_slash(line); int start = 0; char slice_before[num + 1]; char sl...
[3 replies] Last: In C++ you can't return an array, let alone return more than one varia... (by Drakkahn)
using cout in sdl
 
In normal c++ i am used to showing output to get an idea what mistake i made in sdl i tried to use the same thing writing cout<<"ERRor in --function()\n"; it s...
[6 replies] Last: Yes exactly what i wanted thank you all :D (by Sharan123)
C++
 
Hi, Can anyone help with this with the error I am getting? #include <iostream> #include <cmath> #define PI 3.1416 using namespace std; int mai...
[6 replies] Last: Just modify the output on the last message I said to your format. (by giblit)
February 2014 Pages: 1... 4142434445... 60
  Archived months: [jan2014] [mar2014]

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