Beginners - May 2010 (Page 31)

function does not take 0 parameters
 
void breakdown(double change) { double q1=0,q2=0,q3=0,q4=0,q5=0,q6=0,q7=0,q8=0,q9=0,q10=0,q11=0,q...
[5 replies] Last: What exactly is the use for this? (by MottMan)
by tysonc
Loop problem
 
for (loop = 0; loop < (seqread - 1); loop++) { if (name == Datalist .Name) { difsearch1 = loop...
[4 replies] Last: You are right... as you can see I used getline() to get name. I got t... (by tysonc)
iostream and #include question
 
I'm trying to compile the following code, where I include the boost graph library #include <...
[4 replies] Last: It sounds like boost/graph isn't in any of the default locations your ... (by Albatross)
Cin.get() Problem
 
I made this program that tells the user if the number that was inputted is prime or composite. At th...
[8 replies] Last: I found a bunch of bugs and fixed them. Here is the new code: #inc... (by MottMan)
by tysonc
Diff Function
 
I'm writing yet another function that would determine how many characters in the first string must b...
[5 replies] Last: Try just looping over the smaller string's # of chars, then after you ... (by firedraco)
linked lists... pointers
 
Hi! I got a question... Ive been programing on java for a while and i kind of got adapted to it.....
[4 replies] Last: I know... I mistyped... Sorry. Sorry for all I write wrong Im out of ... (by jorge12745)
Pointer Wont Print out to Console
 
Hi I am trying to make a program that returns a substring of a string if it is found. The cout state...
[2 replies] Last: Thanks for the links. I am doing this exercise just to learn pointers.... (by alMarshy)
by SoloXX
Reading words from a file; display to console
 
Hey all, Need a little help for this final part of my console program. I'm in my 7th week in my C...
[5 replies] Last: You can actually use the same kind of loop to reverse your words that ... (by Popasquat)
extern trouble
 
Hi. I'm writing a horse racing analysis program. Here is my code that is giving me trouble: note ...
[1 reply] : In one of those, the functions, distance needs to have another extern... (by Albatross)
by EEVIAC
<ctime> sample program
 
Could anyone explain this sample program to me. I can't see how the while loop works, in this inst...
[7 replies] Last: nevermind I get it thx everyone (by EEVIAC)
by ollie
Trying to calculate Delaunay triangles
 
I am trying to calculate delaunay triangles using the following process: • x,y data is projec...
[no replies]
by Nikoru
Question as to why something works :P
 
#include<iostream> using std::cout; using std::cin; using std::endl; int main() { int...
[13 replies] Last: Ok, here's another breakdown for you, Nikoru. First of all, putting... (by packetpirate)
starting C++ .. not a total code "noob"
 
Hi, I'm starting to learn C++, but I'm not a total newbie to programming -- I've done Python quite ...
[3 replies] Last: From my experience, i've learnt that trying to port code from one to a... (by AngelHoof)
by tysonc
Looping across strings
 
I need to take a small string (for example: "FK3I) and convert it to "FKIII". As you can see, when ...
[15 replies] Last: Or a completely different approach: string RLEdecode (const string& ... (by guestgulkan)
by tysonc
Missing type specifier
 
Here is my function definition: int search(const string& searchfor, const Protein Datalist , int l...
[2 replies] Last: Yes it is... (by tysonc)
4-Variable Karnaugh Map simplification process (URGENT!!!)
 
This is a homework due in less than 48 hrs... please help ~~ here's the description: ...
[2 replies] Last: i tried... is there any source file missing? coz i cannot compil... (by rachel0630)
Swapping pointers
 
Could anyone teach me how to swap 2 pointers/ correct my mistakes Employee *staff for(int i ...
[4 replies] Last: You could not use a pointer to a temporary Employee at all. Just decla... (by imi)
Array Ouptut Question!
 
Hi, I was actually trying the arrays lesson for tutorials here. The following is the code th...
[10 replies] Last: I thought using <vectors> might be a possibility..... (or at least it... (by blackcoder41)
Program closes down too soon
 
I´m doing a small exercise from a book I have. The purpose of it is to add together two numbers tha...
[4 replies] Last: Working fine now. Thank you. (by Shapeshifter878)
While Loop
 
Ok I got my read file to read. Now for the last problem I am haveing a problem with my while loop......
[3 replies] Last: heres an updated version I'm having a problem when it runs to the end ... (by IsisV33)
May 2010 Pages: 1... 2930313233
  Archived months: [apr2010] [jun2010]

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