Beginners (Page 3)

Using ctime to measure the time for quicksort
 
Hey guys, I'm trying to figure out how to use ctime in order to measure the time that it takes for q...
[12 replies] Last: @trevormoon, does your quick sort program run correctly? the code you ... (by anup30)
can someone help?
 
how to implement the main queue functions Enque() and Deque() using two stacks S1 & S2? You allow...
[3 replies] Last: Something like that? #include <iostream> #include <stack> template<ty... (by MiiNiPaa)
Modifing a class instance from the class itself.
 
How can i modify a specific instance of a class using a function in the class itself? What i mean...
[2 replies] Last: Thank you so much! I tried something like that but i used CLASS* a ins... (by Funkist)
my assignment
 
hi guys.. i have a case from my lecturer ==== Yummy Delivery Pizza is one of the famous pizza...
[2 replies] Last: Use switch inside anothe switch: switch(choice) { case 1: int pi... (by Funkist)
stopping multiple assignments
 
I have the following code: char hit; // taking char insted of int because it will get com...
[1 reply] : Make hit an int and use cin.fail() to check if the player entered or n... (by Funkist)
what will happen to pointer after set to NULL
 
class A{ private: int i; public: A(){this->i = 2;} void hello(){printf("hello is %...
[6 replies] Last: functions are not in heap or something. They are functions. Part of th... (by MiiNiPaa)
string::erase()
 
Hi guys! Sorry for my Englisg Faced with such a problem: given a string. It is necessary to put of a...
[4 replies] Last: Thanks a lot for your answers! Problem is fixed andy1992, interesting ... (by igoreshka3333)
by Ion93
Payroll Class with vectors
 
Hey guys I'm writing a Payroll class program to calculate gross pay Write a program that process...
[4 replies] Last: yea just saw it now. Thanks ill work on it and get back to you still a... (by Ion93)
by jdmic
Playing with templates
 
Hi, Is there a way to limit a template to a supported type list ? Look at this example below. I ...
[5 replies] Last: Thank you guys !!! I need to look at <type_traits>. Usefull stuff in... (by jdmic)
Program for outputting an int in english
 
I'm supposed to write a program that takes in an integer and outputs the numbers in english. IE: 932...
[2 replies] Last: agh thanks (by Cheetofingers)
Do you think this program will find the multiples of 3 and 5 in 1000?
 
I just want to make sure this program does exactly as it was intended to do. I'm trying to find all ...
[1 reply] : looks good, though line 16 and 17 are a waste. (by Esslercuffi)
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 arriva...
[1 reply] : In your for loop you are updating "endtime." Since you keep subtractin... (by danghotties)
Hollow rectangle shape
 
Hey all so I got my code written for a hollow rectangle but its not exactly giving me the correct wi...
[2 replies] Last: Make a function that draws a rectangle void drawrect (int height, i... (by andy1992)
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...
[5 replies] Last: Only initialize your variables if you're not going to immediately us... (by TheIdeasMan)
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 n...
[6 replies] Last: Thanks for the help man, I finally got it figured out //calculate ... (by MrBond90)
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 ...
[1 reply] : There if (v1 == 0) in ascii 0 is null character and inside c string... (by LendraDwi)
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 ...
[4 replies] Last: I was just wondering if there was a way to make just one set precision... (by daniel66)
How to create objects using a variable.
 
Hello everyone. I embarked on creating my first console application using classes. I simplified my...
[7 replies] Last: Hi, A couple of other ideas: 1. Provide a member variable which is t... (by TheIdeasMan)
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 t...
[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 ...
[1 reply] : It seems to me that you close the file before you process it. You need... (by ats15)
Pages: 12345... 76
  Archived months: [sep2014]

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