Beginners - February 2016 (Page 35)

C program that will search all donors with the same type
 
I'm a C beginner I need your help. I have a school project program about BLOOD DONOR RECORDS and I want to store it in files and will display all donors with th...
[2 replies] Last: This is part of my code //donor information struct donor_info{ c... (by DLPineCode)
How to display alphabet base on a number given
 
Hi i am a beginner in c++ i would like to ask how do i display a alphabet base on a number given, the below is my code, i tried to display a number base on t...
[3 replies] Last: Initializing is good and you should do it, but your problem was that y... (by TarikNeaj)
by dana18
polynom
 
i don't know what's wrong with my code. it is supposed to calculate a polynome but the result it's always 0 #include <iostream> #include <vector> ...
[1 reply] : the result it's always 0 look at lines 7 and 9. What happens when mu... (by Chervil)
by plus2
Insertion Sort
 
Hi, this is a program to sort an array using nsertion sort but an infinite loop is created i dont know how. Please help using namespace std; #include<ios...
[1 reply] : Two problems. in main(), the program needs to maintain the size of th... (by kbw)
C++
 
PROGRAM1 As you know any function can be expanded according to Taylor expansion. For example the cosine of x can be written as cos x= 1- x^2/2 + x^4/4! +...
[5 replies] Last: This topic comes up regularly on this forum. Here's a recent post on t... (by Chervil)
program makes c++ slow
 
So I have the following program that makes c++ slower after I run it. I think it happened after I added the NewRapHorner function and the do while loop in the m...
[no replies]
Sorting class array
 
Hello! I am new to c++ and currently learnig about classes. I have an exercise where I am to create a class object (array) that has a the values string name...
[2 replies] Last: Of course! Thank you! (by CaveManFred)
Im new and I need help very bad
 
I need help with this very bad. The professor wont get back to me and I am lost. All the other student aren't able to help me either. I have some code done but ...
[1 reply] : You are required to do: Make a constructor which sets the denominator... (by kbw)
by weee
what is type*& p?
 
what is p in the following snippet? does it have any legit use? void f(type*& p)
[2 replies] Last: http://stackoverflow.com/questions/1143262/what-is-the-difference-betw... (by integralfx)
c++
 
Can someone solve the one errors I am getting: _______________________________________________________________________ 2DVector.cxx:20:10: error: variable h...
[5 replies] Last: 'GetMagnitude': identifier not found 'GetAngle': identifier not found... (by naaissus)
How to make a program keep going after a task has finished? (plus some additional questions)
 
So I've been having fun coding for the past few days and I notice that after I run my program and it does what it's supposed to do, it closes. How do I prevent ...
[2 replies] Last: This code stays open after it runs a task, and runs the same task. I... (by admkrk)
Array and Loop Trouble
 
Need help getting a lot of errors with my array and loop to input different information like Driver name, color, number and lap time. Please I need help ASAP! ...
[6 replies] Last: By any chance is there a way to fix Error (active) cannot open source... (by admkrk)
Beginner looking for help
 
Brand new to all of this, and I'm trying to make two programs, One that stores the integers 62 and 99 in variables, and stores the sum of these two in a var...
[4 replies] Last: Yes, that's kind of what I was telling you. I said that lines 28 and... (by newatthis)
Need help with error prompt.
 
I am trying to make a prompt but I keep getting errors saying type name not allowed and others. I would like to know is this the correct way to go by in making ...
[no replies]
C++ Console Window Font Size
 
I am writing a text adventure game in C++, and when I run it on Windows 10, A console Windows pops up, as normal, running my game. While there is nothing wrong ...
[3 replies] Last: Thanks for the link, Moschops! (by RUNNER PRO AGARIO)
Help with a Binary Search Tree
 
I need help constructing a binary search tree for the following nodes: 14, 2, 1, 87, 32, 112, 68, 31, 61, 22, 44, 34. This is for a homework assignment. This i...
[1 reply] : This is for a homework assignment. This is what I have so far. uhm..... (by TarikNeaj)
Help with coding
 
I wrote all my program, but my output is not how it is suppose to be. its suppose to be like this: #290764 PATEL, ILAXI, DO ADULT/INTERNAL MEDICINE KISHHEAL...
[no replies]
Interaction with pc
 
Where can I find a tutorial on how to make a program interact with my PC? By interact I mean do things like at 15:00 do this instructions... or like l...
[4 replies] Last: I didn't understand anything. I guess I'll just look up more C++ tutor... (by newUser3940)
by rmayer
Assignment statement
 
Hi guys, I just started my degree and would appreciate some help from you. Here is one of the Exercises in my book,I am not sure if its done correct acco...
[3 replies] Last: Suggestion: test the code. Change this line: celsius=(fahrenheit-32... (by Chervil)
by m0bb1n
array declared in header doesn't print anything
 
Hello, I have declared a string array in a header and want to use it in other headers and functions. I used extern and it works for one the headers but for th...
[3 replies] Last: What you have in your latest post should work. This assumes main.cpp,... (by AbstractionAnon)
February 2016 Pages: 1... 3334353637... 46
  Archived months: [jan2016] [mar2016]

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