Beginners (Page 70)

Hospital Billing System using Classes
 
I'm not sure where I am going wrong. Of course the code is not complete but this is what I have thus...
[14 replies] Last: Got a little busy but I will be testing this today.. I will post when ... (by dub1987)
Hangman Game Problem
 
Hello, I am making a hangman game where the user can enter a single letter guess or whole word gu...
[1 reply] : You can try something like this int main(){ string name; /// Create... (by Hp of Legend)
Loops converting underscores back to spaces
 
The assignment is to create a program to ask for a college name, and use underscores in place of the...
[3 replies] Last: To start with , try understand how to access individual characters in ... (by andy1992)
by jhkim3
A question regarding the swap ()
 
I am trying to input three parameters for the swap() since the book that I am currently is utilizing...
[1 reply] : is the swap that takes 3 parameters a user-defined function that then ... (by mutexe)
by meifly
selection sort algorithm
 
it keeps saying that 'error expected initializer before 'void' how can i make it work? and how ca...
[1 reply] : You need to implement main: int main() { int arr = { 4, 6, 1, 7 }; ... (by coder777)
by meifly
selection sort
 
it keeps saying that 'error expected initializer before 'void' how can i make it work? and how ca...
[1 reply] : You missed {} after main () I also hope you aren't attempting to de... (by andy1992)
Having Problem in Width Specifier
 
Having Problem while using %*d Width specifer I want to make a program of output like * **...
[1 reply] : forum is removing spaces! i want like this 4spaces * 3spaces ** 2 spac... (by Razaf1420)
Using Functions in Math Program
 
Below is my code. My math program basically consists of a do while loop that allows the user to inpu...
[13 replies] Last: Honestly man I didn't even know that the order mattered when calling t... (by UGAman22)
Beginner std::cin question/problem.
 
In the code below the first thing the program will do is ask the user their Username. I have an IF s...
[6 replies] Last: > I guess it doesnt need to call guessNumber as it's already assigned... (by ne555)
do-while loops to stop with a char
 
I would like to make my do-while loop stop using a char. is that possible or should i use just a whi...
[5 replies] Last: This could be a solution. #include <iostream> using namespace std; ... (by Jacobhaha)
Creating more than one record in binary file using a structure
 
I'm trying to write a program that keeps records in a binary file. When I write more than one record...
[2 replies] Last: You need to move line 60 to right after line 70. That way after you r... (by dhayden)
using sscanf and fgets
 
I'm trying to use fgets and sscanf to get up to 20 numbers from a user in one line. I tried doin...
[1 reply] : Try: int num = scanf("%f %f %f %f", &floater , &floater , &floater , ... (by ShodanHo)
How to pass different number of flags to function
 
Hi everybody I put several checkboxes on the form to test function. Each checkbox represent one F...
[4 replies] Last: Pass a list of structures/classes with whatever data you want. eg: s... (by ShodanHo)
by Thor66
Classes/member functions
 
Can anyone help me with writing this program that allows the user to rent things, return things. I n...
[1 reply] : Start with a class named "rentBox", and build it from there. This que... (by JayZom)
How to compare two different data types
 
I have to compare the contents of a char array to a string. I have to use an if statement to see if ...
[3 replies] Last: First, what forces the use of a char array? One can do input to std::... (by keskiverto)
User-defined functions
 
It errors. Error 1 error LNK2019: unresolved external symbol "char __cdecl price(char,int)" (?pric...
[5 replies] Last: should call price(sprice, slength); instead after defining the decl... (by bonho)
by Ziggy8
Help using .find_first_not_of to check true or false.
 
It runs well now but my I only have 2 problems... 1.even if I press Hi1234 still shows that i need ...
[4 replies] Last: No worries I already worked it out , thanks anyway :) Heres the code s... (by Ziggy8)
Homework help please
 
Hi, First let me start off by saying this is a homework assignment. It is my last one and I'm st...
[5 replies] Last: EDIT : nvm I fixed it but need help calling the functions so it doesn'... (by greeneyes1234)
Where should a function prototype be located?
 
Write your question here. This question has no code as well.
[1 reply] : Anywhere before where the function is being used. Generally prototypes... (by ModShop)
What should the name of your file be to make use of the make command?
 
Write your question here. This question obviously has no code. I know that it touches on makefiles....
[2 replies] Last: Thank you very much! (by brandontuley43)
Pages: 1... 6869707172... 91
  Archived months: [nov2014]

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