Beginners - January 2016 (Page 24)

help with removing duplicate words C++
 
I am working on an assignment, it is to read a file, sort it and remove duplicate words and display....
[4 replies] Last: Thanks a lot for this !! (by priya331)
The right approach. struct?
 
So lets say I wanted to have 100+ variables preassigned. So that when we want to call it we can just...
[4 replies] Last: Yes that is what I meant or an array even (by Stalker)
heap
 
dynamic allocated memory normally stored in heap?
[2 replies] Last: That's a very unique question there. Only this forum could have answer... (by TarikNeaj)
big O notation check
 
So I've been trying to understand this big o notation thing. I've read about it and watched videos o...
[1 reply] : Well it's O(bad) now because on line 21 it should be foo , not foo ... (by dhayden)
Question on how to fix my code
 
I have a program that asks for your username then asks for your password, when i compile it, it give...
[3 replies] Last: Hi, how could i prevent it from giving me an error saying that else... (by TheIdeasMan)
by GonlyG
"Zero" output in mortgage calculator
 
Any explanations for "0" output? (the program asks for a loan increasing by an annual interest rate ...
[14 replies] Last: how intriguing.. the other guy's problem solved it... I guess I must h... (by GonlyG)
by GonlyG
Checksum after sorted array
 
After completing the bubble sort array problem (how difficult!) I moved on to a similar problem, wan...
[17 replies] Last: hmm... I got 1299500 with that. Not sure if right or wrong. I have no... (by GonlyG)
by GonlyG
Errors in Fibonacci Sequence
 
Basically, it's fibonacci sequence reversed: which number in the sequence (1 to 1000) is a number in...
[18 replies] Last: huzzah! #include <iostream> #include <vector> #include <complex> #in... (by GonlyG)
Sum of even numbers in 2D array
 
I am trying to sum only even numbers in a 2D array. But I get the sum = 0, what's wrong with my code...
[5 replies] Last: You can use at line 18: sum += arr ; (by elaleph)
Are my systems thingys in c++ or binary I'm confused
 
Can I open programs on my HD from my operating system and see them? Are they written in code or no b...
[3 replies] Last: There's simply no way to just crack open many programs, especially if ... (by Austin J)
Graph
 
Hello. I've got a problem here... So yea, this time i have to make a "tree" and compare few things...
[1 reply] : struct node; struct link// Here's the problem. { int LinkID; ... (by cire)
For and if loop problem
 
I want this code to execute so I get This is working and it seems pretty straight forward to...
[4 replies] Last: You are essentially asking if (i can be assigned the value of 1); this... (by JayBari)
Sorting integers in a text file.
 
Hi! I'm trying to create a program which reads a text file which contains multiple names of students...
[3 replies] Last: Hm... my last reply disappeared into the ether. I would use a struct ... (by booradley60)
Help me out with this program!
 
- solved - - Brandon
[3 replies] Last: Thanks so much, it's a great start to go off of! (by Concordev)
Why my code doesn't work ?
 
Hi! I needed to write out all perfect cube numbers from interval. So I wrote the following code f...
[5 replies] Last: Ok thank you ! I will try to find better solution. (by MagicKriss)
Help me fix this
 
I want to fix this code. I want to know how to use user's input as a condition in the for loop. ...
[4 replies] Last: And how to print out a list that shows every year's interest? ex. 1--... (by code writer)
What is the function of "f"
 
In the code below, In the 8th row, printf ("The Total is %f",f); what is the function of third...
[2 replies] Last: I think you're actually confused about the %f in the first parameter t... (by dhayden)
Insight for soon-future project connecting robot's parts to the code
 
Hi. Well, born on Earth, and learning c++ (had to figure out what's the best language and has big...
[10 replies] Last: Well that's the hard part isn't it? Look up dynamic memory allocation... (by dhayden)
how to use BOOST_FOREACH for map container
 
Hello every one, I would like to know how I can use BOOST_FOREACH for map container. if the map for...
[7 replies] Last: however the below code works too. Yes. It works.. if you want to m... (by cire)
by daym
Some questions
 
Hello, I'm a beginner, I'm fairly 14 years old, almost 15. I've started to learn C++ lately and yeah...
[1 reply] : The windows operating system is something you can talk to in your code... (by Moschops)
January 2016 Pages: 1... 2223242526... 29
  Archived months: [dec2015] [feb2016]

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