Beginners - October 2014 (Page 53)

by Reiv63
Getting Scanf
 
Please help, im trying to get the answer and when the answer is true, it will print, otherwise false, i dont know what im going to do, i cant ge the right if st...
[4 replies] Last: note: #include <conio.h> won't run on cpp.sh web site. (by closed account 1CfG1hU5)
7 / 11 dice game. while loops and with points and stuff
 
Write your question here. So i have this project where in we are to make a 7/11 dice game. Somehow, i just can't get it :< #include <stdio.h> #include <iostr...
[no replies]
Output last name of first name
 
I have to create a program where I ask the user for a full name, then find the last name and print it out using the members of <string> #include <iost...
[10 replies] Last: another error: Debug assertion failed! program: c:\ file destination ... (by alex067)
hourglass made out of "*" with an odd number inputs
 
I'm trying to write a code for an an asterisk hourglass, the constraints are that the user enters the number of asterisks for the top row and how many rows from...
[no replies]
Function not working correctly
 
Well, i'm back... already. Have to expand on the previous program and make it accomodate 3 users. This is what I have so far. The first two methods appear to wo...
[1 reply] : #include <iostream> #include <string> using namespace std; int Nu... (by Culbrelai)
How to open a file and verify its open.
 
I never see "file open" What am I doing wrong? Using Xcode 6.0.1 Thanks fstream nameFile("Users/Adam/Documents/MoviesCP.txt"); if (nameFile.is_o...
[6 replies] Last: TC is on a Mac (despite the interesting directory layout), so I don't ... (by Zhuge)
by drk97
Cipher in C++
 
hey guys! i wish to write a simple cipher decryption code, but since i am new to programming, i have no idea how to do it. Any help would be appreciated!
[4 replies] Last: do web search for idea cipher. idea.c and idea.h this is also inside... (by closed account 1CfG1hU5)
String and Array of Characters
 
Hey Guys Can you help me make a Program, Cause this is very hard for me as a newbie. So the program would be like this. Whenever i Entered a Word, for example A...
[4 replies] Last: This? template <class RandomAccessIterator, class RandomNumberGenerat... (by keskiverto)
by Jhub
someone explain encrypting keys?
 
Hello, I am trying to incorporated into my program a way for the user to enter there own key to encrypt to. right now I have it encrypting and decrypting to a...
[7 replies] Last: Its hard to do it without a specific pattern ._. I know there's anothe... (by LendraDwi)
Passing unknown Array to Function by reference
 
Hey there. I have spent a good hour trying to figure this out - how do I write this function (at top of code - insertionSort) that allows me to pass an array...
[2 replies] Last: (1) In the C language, arrays are by default passed by reference, so t... (by TheKingOfTyrants)
future value formula
 
I am a complete beginner so I'm not sure if I'm doing this right. My code keeps giving me 0.00 as an answer so my formula is probably the problem. Please help. ...
[no replies]
Odd functions
 
So i'm studying this SFML book, And this is a section that confuses me quite a bit, i know what it does, and what every thing means, its specifically the syntax...
[1 reply] : Well, it actually isn't using it for inheritance. That is actually an ... (by Ispil)
by BC300
Error Message/Printing a single linked list backward
 
Hello. I'm trying to print a single linked list backward. I can't run it since I get an error message. Also, I want my list to be:3, 12, 26, 34, 55 and print b...
[no replies]
Help with basic Carpet pricing program?
 
Hello. It's nice to be here. I am trying to create a basic program that will calculate the cost of carpeting of a simple rectangular room. This assignment is...
[10 replies] Last: In the beginning of your program you are asking the user to input the ... (by Mogwai82)
by CDavis
program to compare C to C++
 
I know I put a post up before on this but here is all the rest so I have an assignment were we have to have the program look at some lines of code and pick out ...
[1 reply] : As a next step, try writing functions that indicate if the line is any... (by dhayden)
What is wrong with my code?
 
Dear Friends, I have written a Euler method code to calculate the integral of x''=6*x^3 from 5 to 8 with step size 1.5. the final answer should be 3597 but i...
[no replies]
Are constructors only useful to call private members of a class?
 
The title is pretty much self-explanatory. Are there any other uses for constructors?
[2 replies] Last: Ok just making sure (by SomeAmazingGuy)
Having problems with my code
 
i've been having trouble trying to build a multiplication table because it cuts some numbers (compile the code and you'll see) #include <iostream> #inclu...
[3 replies] Last: Done: #include <iostream> #include <iomanip> using namespace std; ... (by MrBents)
program has stopped working
 
I have this kind of problem: 1.Program open file called "abc.txt". 2.In while loop i save each line from file abc.txt to variable text and then, from text to Ar...
[3 replies] Last: i <= ArrSent.size(); If your vector has size of, say, 2, you will t... (by MiiNiPaa)
Need some "Proof-reading" to this code, help please :)
 
What you are about to see is probably the most inefficient code and disorganized for a beginner, however, i need your help to proof-read this? if thats even a t...
[1 reply] : 0) You are definin your array as containing 9 elements but generating ... (by MiiNiPaa)
October 2014 Pages: 1... 5152535455... 70
  Archived months: [sep2014] [nov2014]

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