Beginners - April 2016 (Page 32)

by teok
Read from file specific words/strings.
 
Hello, Im trying to write a program that lists only the users names which are stored inside a text ...
[1 reply] : You can read the input one chunk at a time. So read everything, and ju... (by Moschops)
Please explain recursive function
 
I understand the concept of recursion, and have written a couple simple recursive functions. I've co...
[4 replies] Last: Thank you both! That really helps. I thought I understood before, bu... (by mgoodall)
Problem with Linked Lists - values passing/insertion
 
Task is to put Linked List 'l1' content into Linked List 'l2' at any position. For instance, l1 list...
[4 replies] Last: I keep forgetting you're passing a pointer to L2. This code should be ... (by closed account D80DSL3A)
Presentation heading.
 
Good morning to everybody. I'm new here. I'd like to present me first than post anything. I'm ...
[no replies]
Find what data type typename is
 
So I want to create a priority_vector class which is like priority_queue for vectors, but, in order ...
[2 replies] Last: Thanks, it worked. (by jgg2002)
Trouble with infinite loop
 
Can someone help me fix my infinite loop #include <iostream> using namespace std; cin>>...
[3 replies] Last: Chervil Thank you that worked. (by Batman93)
Pointer Issue
 
Hey guys beginner here. Error is "left of '->next' '->ID' and '->name' must point to class/struct/un...
[1 reply] : Error is "left of '->next' '->ID' and '->name' must point to class/s... (by integralfx)
Friend Classes
 
I can't figure out what I'm doing wrong. It says I put too few arguments but I did the same thing f...
[2 replies] Last: Thank you. But what does the & do and is it possible to do it without... (by joshuatz)
by BdQ
[Error] no '' member function declared in class ''
 
I've been stuck on this problem for a while. The program compiles if I remove the definition of Vide...
[4 replies] Last: In your VideoTape.h, line 73: RelationType VideoTape::ComparedTo( /*... (by xismn)
by wolfv
One unique static variable for each class, in otherwise identical classes
 
There are several classes that are identical, except for one static variable which must be unique fo...
[10 replies] Last: If there are many states, and most of them are DefaultConstructible ,... (by JLBorges)
Class that handles String implementation
 
I get the following errors: IntelliSense: no operator "==" matches these operand types are: cons...
[no replies]
How to label arrays
 
Hey guys, i have a question about labeling arrays. So my assignment is to create an array, and its s...
[2 replies] Last: Someone told me that i could make it into a loop, and represent the nu... (by ZackTheBlack)
Is it best to master a language, or to just be proficient in several languages?
 
I'm just now finishing up my data structures class, and I'm stuck with two options. 1. Continue to s...
[2 replies] Last: I've been able to find job opportunities for a few years with a strong... (by binary10essee)
Delete
 
Delete
[2 replies] Last: To give you an idea: #include <iostream> #include <random> #include ... (by chicofeo)
I cannot seem to find the formula for this problem.
 
So we are supposed to convert 453456 seconds into years, days, hours, minutes, and seconds. Howev...
[2 replies] Last: I ran into another issue... years = secDis/ yearsSec; secRemA =... (by monrelle)
HELPPPPPP
 
When i compile this happenes can anyone help Enter the lines of poetry you want 8 A gawl-dern o...
[no replies]
by Kedi
using the srand function
 
I am using Code:blocks 10.05 to compile my programs. I cannot seem to understand why code blocks doe...
[9 replies] Last: Yes jgg2002. Thanks (by Kedi)
read file into a array
 
I have file that has number and words and all ends with a -1 how would i go about putting it into a...
[1 reply] : There is no something like in programming. What is the exact format... (by keskiverto)
Program not counting numbers right
 
The program asks you to enter random numbers, then it will output the numbers from greatest to least...
[1 reply] : I took your code and added some "print array" for debugging. (The "RNG... (by keskiverto)
April 2016 Pages: 1... 3031323334... 43
  Archived months: [mar2016] [may2016]

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