Beginners - December 2016 (Page 14)

About a simple cloud system
 
Hi I have a school project I have a list which is about; 83 usernames 83 passwords and 5 size of file for each user(some of them are 0 and it means no file) ...
[1 reply] : I would pull in the data from where ever you are getting it from and p... (by joe864864)
Need Help PLEASE
 
Good Morning all first of all i would like to say this is a great website, forum, specially if you can get help, Im not a programmer major, i think codeing is g...
[3 replies] Last: Yes, u can just use your first for loop and move all the calculations ... (by joe864864)
File deletes contents after closing program when it should stay saved.
 
I initially had it so that the contents stored in the names & scores files would save even after closing the program. Now, something went wrong and the files de...
[2 replies] Last: I used it but it didn't help. I edited it a bit but now it deletes s... (by icyflamez96)
by osur
Specific reading of CSV file
 
Hello! I have a csv file that has the following strings on it: Full Name, Telephone Number, Email Address. This file will contain incorrect information - f...
[3 replies] Last: Thank you both! (by osur)
by dana18
get a random number
 
how can I return a number between 2 with a probability of 0,5? for example I have 3 numbers : 1,2,3 . if i choose 1 my programme has to return 2 or 3. My code ...
[1 reply] : Two logically distinct operations. First, you want to get either true... (by keskiverto)
Function Error
 
Error : Messages error LNK2019: unresolved external symbol "double __cdecl calc_power(double,double,double,double &,double &,double &)" (?calc_power@@YANN...
[2 replies] Last: @chervil thanks for the reply. i fixed it already according to what yo... (by DesmondLee)
Arithmetic sequence
 
Hey guys, im building a program that recieves 3 numbers,the a1, the difference and the lengh of the sequence.(a1,d,n) I need help with the choosing manue, some...
[1 reply] : You are using = (assignment) when you want == (equality). (by Peter87)
Hangman Search and Sort Algorithms
 
I cannot figure out the search and sort algorithms for a hangman game I am designing. I am supposed to pass a user guess(char guess), the number of valid guesse...
[6 replies] Last: You are very welcome. (by Thomas1965)
Array Allocation (1,2)
 
There are 5 siblings. They are Bob, Charles, Ben, Darve and Jack. The gifts are a rice cooker, a camera, a set of knifes, a smart phone and a tablet. Write a po...
[20 replies] Last: @keskiverto Thanks for the reply. for(i=0; i<limit; i++) { cou... (by DesmondLee)
by VX0726
Linker Command Failed??
 
I am supposed to make a program that inputs user's name, birthdate, and grade (in percent) and display all of that with the grade (letter). It works perfectly f...
[1 reply] : bool verifyString (string c); line 26 vs bool verifyString (char *pass... (by closed account 48T7M4Gy)
Working with arrays
 
Hello. I'm new here. I need guidance with a program I'm working on for a c++ lab. Thanks in advance. The program is quite simple...yet complicated for me becau...
[9 replies] Last: You're welcome. I think it isn't easy to get to grips with this stuff,... (by Chervil)
I get the idea but I'm not sure how to code it
 
Hi I'm creating a program to rent some movies and to return movies with a balance starting at $100. I'm making a main menu for the user to input what choices th...
[15 replies] Last: Can anybody help me please (by AchillesO23)
Second part of program not running no errors.
 
When I run this program it allows me to input the values but stops after that. I cant figure out why it does not run the output to show the results. I do not ge...
[1 reply] : You never call any of your functions from main. You have user input th... (by joe864864)
Searching and comparing arrays
 
Hello everybody, I have simple practice assignment where I have to search an array for the string "Windy". If the array contains the "Windy" then the program wi...
[1 reply] : Are you allowed to use the STL string library? If so, you can use str... (by Tyler T)
How to assign a random value to two arrays
 
I am attempting to assign two random integers to two arrays. I will leave the entire code here, but i left what is specifically in question at the top... I know...
[2 replies] Last: Line 76-77: You're using srand() incorrectly. srand() is a void func... (by AbstractionAnon)
Help Please
 
I was assigned to grab a text file names upquote.txt and turn it contents "a b c d e f" I tried this code here: #include <iostream> #include <fstream> ...
[7 replies] Last: I figure out how to reverse the text with some research: #include <i... (by VerdeHD)
function not outputting as expected when utilizing array
 
Good Afternoon Everyone, I am having issues getting a function to output as expected for a payroll program that I am working on. I added an array so that I m...
[1 reply] : void displaypayroll(Payroll * const e) { const int empl... (by Nico)
by jeg19
x>10 ? y=10 : y=20
 
I am studying past test for my final and one of the questions asks what the output of the following code is. I'm not sure what the expression with the "?" is, a...
[1 reply] : See Conditional ternary operator http://www.cplusplus.com/doc/tutori... (by Chervil)
How to read this information from file?
 
how do i read this information from text file? the first number tells me how many test scores there are and i have to read the names and the scores and find ...
[1 reply] : I come up with this see it #include<iostream> #include<string> #inc... (by bird1234)
Binary Search Tree Delete function issue
 
I am unable to get my binary tree to delete the node properly. It doesnt always find the delete key (even if its there) and i get a memory error when run the pr...
[no replies]
December 2016 Pages: 1... 1213141516... 28
  Archived months: [nov2016] [jan2017]

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