
please wait
entime is going into negatives. help please |
i wrote some code to generate jobs at intervals of 5,10,25,30 seconds the jobs 5,10,25 can be arrival times of + / - 1 and the arrive time of 30 is + / - 5. the... |
Nov 2, 2014 at 7:14am
[1 reply] : In your for loop you are updating "endtime." Since you keep subtractin... (by danghotties)
|
by MrBond90
Hollow rectangle shape
|
Hey all so I got my code written for a hollow rectangle but its not exactly giving me the correct width and height I input. Any ideas? for(int a=0; a<Heig... |
Nov 2, 2014 at 7:06am
[2 replies] Last: Make a function that draws a rectangle void drawrect (int height, i... (by closed account SECMoG1T)
|
by qingcheng
still have no idea how to call function
|
working on my project which reading the file to get weight and height and do max and min and average my teach required to use call function when I set the imple... |
Nov 2, 2014 at 5:21am
[5 replies] Last: Only initialize your variables if you're not going to immediately us... (by TheIdeasMan)
|
by MrBond90
find average of numbers generated by for loop
|
Hi so I have to output all numbers between 2 numbers a user inputs. I used a for loop to do so but now I need to figure out how to use those numbers from the fo... |
Nov 2, 2014 at 5:06am
[6 replies] Last: Thanks for the help man, I finally got it figured out //calculate ... (by MrBond90)
|
by pel1993
hey having trouble understanding wha the program does
|
i know that the password can't be less the 13 but is the username in asII form i don' get the point if the first few if Thanks int main(int argc, cha... |
Nov 2, 2014 at 4:59am
[1 reply] : There if (v1 == 0) in ascii 0 is null character and inside c string... (by LendraDwi)
|
by daniel66
Trouble with if statement within a switch case.
|
I am trying to write a looping switch case. You have four separate payroll options, each with their own steps. Once you are done with one person's payroll the p... |
Nov 2, 2014 at 4:53am
[4 replies] Last: I was just wondering if there was a way to make just one set precision... (by daniel66)
|
New Help Moving out of Main using Functions |
Hi everyone, I'm only one month into learning c++ and need some assistance. Main point: I need to move as much as I can out of main and utilize functions. ... |
Nov 2, 2014 at 3:10am
[12 replies] Last: Thank you everyone for your help. I got this up and running finally..... (by dontmakeascene320)
|
I/O GPA Calculator -- Need Help Promptly Please |
This is a previously posted Topic, no one would reply, so please excuse my repetitive post. Here is the original post. Please help me. This program is due tonig... |
Nov 2, 2014 at 2:01am
[1 reply] : It seems to me that you close the file before you process it. You need... (by ats15)
|
by Masada
Copy constructor and Operator overloading
|
I don't really understand how to implement these functions. I have everything else working but these. Here are the instructions for this project: Implement t... |
Nov 2, 2014 at 1:55am
[no replies]
|
by PATBALM
Why is my code only putting out the last function?
|
Hi, my code is supposed to read data from a text file and make it into a linked list. There are 6 different choices that are chosen by the corresponding value r... |
Nov 2, 2014 at 1:00am
[11 replies] Last: All right, i'll try spacing out those and see if that fixes it (by PATBALM)
|
by MrBond90
while loop help
|
Hey I'm having trouble with figuring out while loops for my homework. I suppose to prompt a user for a number for height between 3 and 10 (inclusive), and a num... |
Nov 2, 2014 at 12:58am
[4 replies] Last: Hey thanks man that works pretty well. Gonna work on it some more matc... (by MrBond90)
|
by camwhyy
Game replays and wont quit!
|
Hi! For a class that I am taking we are supposed to make a guessing game that creates a random number between 1 and 1000 and we have to guess it. I have used al... |
Nov 2, 2014 at 12:41am
[8 replies] Last: Now that I look more closely it looks like the OP wanted to check for ... (by kevinkjt2000)
|
by qingcheng
how do I call my function?
|
My project has requirement for building implementation function there is one function called void function(float *a, a_count) I think a is a array and how to ... |
Nov 1, 2014 at 10:56pm
[1 reply] : function( h, i ); (by Esslercuffi)
|
by srscode
Memory allocation
|
Hello i am currently learning about the heap memory or the free store, and was wondering in what situations do you need use dynamic allocation? I understand wha... |
Nov 1, 2014 at 10:25pm
[11 replies] Last: Thanks, makes more sense now, i'm gonna bookmark this page. ^^ (by srscode)
|
by poseidn
void
|
if i remove void from a function will it still work? |
Nov 1, 2014 at 10:07pm
[4 replies] Last: You need to include void in a declaration & definition, but not when y... (by srscode)
|
by sarah01
Run-Time Check Failure #2 - Stack around the variable 'nJ' was corrupted
|
please help me.. whenever i run the program,it always shows "Run-Time Check Failure #2 - Stack around the variable 'nJ' was corrupted" i had no ideas why th... |
Nov 1, 2014 at 9:41pm
[3 replies] Last: thank you very much MiiNiPaa!! it's work!! Great!! (by sarah01)
|
by drax
elements in vector
|
I need help with iteration of vector. How can I erase element from the vector if there is already the same element in that vector? Any help would be much a... |
Nov 1, 2014 at 9:18pm
[15 replies] Last: Code Block is not a compiler, it is an IDE. The compiler included in ... (by keskiverto)
|
by painith
Overload operator[] function trouble
|
Hi i am having trouble writing this function: int& ArrayVector::operator (int index) It must do the following Return reference to index-th element of th... |
Nov 1, 2014 at 9:07pm
[no replies]
|
Program Help. Constructors, String, Linked List |
Help with voidPrint() |
Nov 1, 2014 at 9:06pm
[15 replies] Last: add2last () // is a function you seem to have defined You add a singl... (by closed account SECMoG1T)
|
Not getting my expected output |
I'm not getting my expected output and have no idea where to begin with fixing the code. When I compile and run the code it outputs: Area of the rectangle is: ... |
Nov 1, 2014 at 8:55pm
[4 replies] Last: Just an example how you can use inheritance properly (Uses C++14): #i... (by MiiNiPaa)
|