Beginners - October 2017 (Page 14)

Help with Gross pay
 
I need help with this when i do the problem for homework everything works find except the total gros...
[5 replies] Last: There's an example in the tutorial: http://www.cplusplus.com/doc/tutor... (by Chervil)
by Backx
stuck on initializer problem with assignment
 
Hello! I have to make an assignment that can code and decode an input text file. I'm at the early...
[7 replies] Last: Wow Andy thats alot of thought you put in there, thank you very much. ... (by Backx)
why this coding dont work
 
when i input 1 hrs and 0 mins, sec. it come bk 1, but it should be 3600 #include <stdio.h> #i...
[2 replies] Last: printf("Enter a Number of hours: "); scanf("%d", &hr); printf("E... (by Golden Lizard)
Initializing a struct array
 
Hello, I am having trouble initializing a struct array. Here is a simplified version of my code: ...
[3 replies] Last: Thank you very much for the help! (by skipper)
by chuvak
Printing errors
 
Say I have the following constructor: Date::Date(int yr, short mt, short dy) { errCode = 0; ...
[1 reply] : If you want to abort the loop if errCode is anything other than zero,... (by Repeater)
by Bopaki
There is something seriously wrong with my C++ compiler today
 
In everything program that I try to compile I get there errors: Even with a simple one line program...
[1 reply] : reset your compiler to default in settings. ensure that it is reading... (by closed account 1vf9z8AR)
DUNGEON CRAWLER(whats the problem?)
 
Write your question here. #include <iostream> #include "windows.h" #include <time.h> ...
[1 reply] : What's the problem? You tell us. Does it not compile? If so, what ... (by AbstractionAnon)
Reading File Output HELP
 
The code below reads my file that has 5 names. How would I get the output to show all the names and ...
[4 replies] Last: #include <iostream> #include <fstream> #include <string> using namesp... (by lastchance)
by Efalir
How to used a integer in a loop if
 
Hi all, i need to add another possibility In the code ( cf below) . There is 3 cases here : - ...
[11 replies] Last: Hi Handy Andy, Thanks for your answer! It works well ;) HI Jonnin, Th... (by Efalir)
Math tutor program
 
I have been able to get the program to put out the random numbers for the addition problem and tell ...
[14 replies] Last: Thanks So Much. This is really what I need (by jessicawhite)
Help with hot plate
 
Hello, For my class we are doing a hotplate lab. The part I am having trouble with is reading in a ...
[1 reply] : The code you have above runs and gives a plausible answer. So your pr... (by lastchance)
confusion about parameter name
 
the code says that I omitted some parameter name, I checked nut couldn't seem to find the problem. ...
[1 reply] : You need to go back and read up on defining functions. Your secs fu... (by Duthomhas)
Cannot initialize reference in a function.
 
I am stuck when trying to initialize my double variable in my function transaction(drink, int, doubl...
[5 replies] Last: I have figured it out. thank you all for helping me out. I will post w... (by hunt555)
by SasuKe
Search Function
 
I have to create a search function for a binary tree. The tree is given below: 5 4 8 11 13 4 7 2 1 ...
[2 replies] Last: ok I've modified it and now it's returning the left nodes correctly. H... (by SasuKe)
while loop
 
i have to create a code that will take the sum of the numbers between 0 and any number. example 0 to...
[6 replies] Last: So I only changed two things from your most recent code(see bold text)... (by femtopwn)
When using commas in commandprompt, it goes crazy.
 
So, I'm making this calculator that can calculate everything from addition to squareroots and logori...
[1 reply] : You want to change the locale. https://stackoverflow.com/questions/... (by Hippogriff)
by MadEye
Rectangle Area using functions
 
There is s silly mistake in my code, i cannot find it for the life of me. As of right now it only re...
[3 replies] Last: Thanks so much guys! Can't believe i missed that lol (by MadEye)
convert a fasta file into a pair with T1 and T2 being strings
 
Should be a simple problem. I have a fasta file with n rows, and now I need to put it in a pair with...
[1 reply] : I fail to see how that may work for the second line, as you are just r... (by ne555)
Missing brace somewhere and cant find
 
Im getting an error on visual studio that the left brace on the very top is unmatched at the end of ...
[5 replies] Last: Don't indent your code. That superfluous white space is not understood... (by ne555)
by jsbd29
Please can someone Help me with my first function program
 
I need to Create a function inVowel to count the number of vowels the user entered.Can someone help ...
[4 replies] Last: thank you! (by jsbd29)
October 2017 Pages: 1... 1213141516... 33
  Archived months: [sep2017] [nov2017]

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