[try Beta version]
Not logged in

Beginners - February 2013 (Page 43)

How to read vectors into a hash table
 
How would one go about reading in a .txt file into a vector into a hash table?
Feb 12, 2013 at 5:55pm
[no replies]
Stackoverflow in recursion. How can I fix it?
 
Hello there ! I'm following an algorithms course, and as you know, a primordial algorithm is Merg...
Feb 12, 2013 at 4:27pm
[3 replies] Last: Could you please explain to me, where is it that I'm returning things... (by cire)
How to
 
How do you delay a program before moving on, here is my code #include <iostream> #include <fs...
Feb 12, 2013 at 4:10pm
[10 replies] Last: Doh sorry about that ;p (by closed account 3qX21hU5)
by s1l3nt
My Receipt Program
 
This is my receipt program finished. It runs and everything seems to be ok with every option that yo...
Feb 12, 2013 at 3:58pm
[1 reply] : A couple of things, first you have functions that you told the compile... (by jlb)
Histogram/loop issues
 
Trying to take my gradeScale array, which holds all the grades the user enters, and create a histogr...
Feb 12, 2013 at 3:53pm
[4 replies] Last: I'd say that on line 56 index < * gradeScale is wrong (supposed to ... (by coder777)
Reference Variables
 
The question is part of a programming lab and my code is wrong but I do not know why. Can someone te...
Feb 12, 2013 at 2:19pm
[7 replies] Last: Again, thanks! I will most likely have additional requests although I ... (by gdookie)
Printing one character in a string
 
Hello there! I encountered this problem during a technical interview. In the question, a string ...
Feb 12, 2013 at 2:17pm
[12 replies] Last: Thanks spot3! it's not the same as the program I saw but at least now ... (by Darth Bater)
Temperature conversion program.
 
I need help again guys. I am working on a program to convert temperatures. This is what we are suppo...
Feb 12, 2013 at 1:55pm
[5 replies] Last: Don't forget, the compiler is there to help you. Currently, the code p... (by Chervil)
TRouble with cmd
 
im trying to run this simple program, and ran into a classic problem of having my contol terminal sh...
Feb 12, 2013 at 1:21pm
[4 replies] Last: How about setting a breakpoint on the return 0; line, then run to th... (by Lodger)
stuck in operator overloading
 
#include<iostream> #include<string.h> using namespace std; class string1 { char *p; ...
Feb 12, 2013 at 1:14pm
[2 replies] Last: The copy assignment operator shall be a member of the class. So instea... (by vlad from moscow)
Help with Integration function (1,2,3)
 
I need to write a program to use the area of rectangles and/or trapezoids to find the area under a c...
Feb 12, 2013 at 1:13pm
[53 replies] Last: I'm glad that you've got this working now - that's good to hear. Ther... (by Chervil)
Random command
 
How do I make a "random" command, I want to make a program that says a random colour, please help.(T...
Feb 12, 2013 at 12:41pm
[6 replies] Last: Thanks for all the help (by Code Apperentice)
File Opener
 
I'm making a new program that when the user types a path to the file, it will open it, bu i'm having...
Feb 12, 2013 at 12:10pm
[5 replies] Last: Thanks a bunch!(I'm not sarcastic, seriously, it worked!) (by Code Apperentice)
c ++ functions
 
i want to write a function that would get a copy of an array and go through it to see which of the...
Feb 12, 2013 at 11:19am
[4 replies] Last: @parham93 So taking into account the previous code you can easy wr... (by vlad from moscow)
Question with drawing right triangles
 
I'm trying to draw a right triangle to the console using asterisks. I've found several examples of h...
Feb 12, 2013 at 10:57am
[1 reply] : this code uses the identity of similar triangles. of course the triang... (by gelatine)
Help with getline
 
Hello guys My problem is everything is working but only my char array is not outputting for some re...
Feb 12, 2013 at 8:56am
[3 replies] Last: make it return char* or, better const char* (by MiiNiPaa)
by gladi
what does this function mean?
 
Hi everyone, I have this function I did not understand it and I don't get the condition in the if s...
Feb 12, 2013 at 8:14am
[3 replies] Last: The function can be rewritten much simpler bool DateAndTime::leapYea... (by vlad from moscow)
by gladi
What does ? in if statement
 
Hi Guys, Can you please help me with issue. I would like to know what does ? symbol in lines (78 an...
Feb 12, 2013 at 8:07am
[2 replies] Last: Thank you TheIdeasMan I got your point. (by gladi)
by DELB
Explain this code to me please :)
 
// // main.cpp // Critter Farm // // Created by Jacob Jones on 11/02/2013. // Copyright (c...
Feb 12, 2013 at 6:21am
[12 replies] Last: ostream is a class for writing output to a stream. cout is a stream - ... (by jim80y)
Assignment help
 
while (grade<=100 && grade>=0) { cout<<"Grade: "<<endl; cin>>grade; counter++; sum+=g...
Feb 12, 2013 at 5:39am
[2 replies] Last: You were right!! Do while loop worked! I didn't know it would make th... (by misslittle1)
February 2013 Pages: 1... 4142434445... 67
  Archived months: [jan2013] [mar2013]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.