Beginners - October 2013 (Page 27)

by layzer
Sorting Array, finding min, max.
 
Howdy all, i need to find the the min, max, variance, deviation of 16 numbers, and display the numbe...
[3 replies] Last: #include <iostream> #include <cmath> using namespace std; int main(... (by layzer)
Determine if a relation is symmetric
 
Hello all I am having trouble writing a function that will determine if a relation is symmetric. Any...
[2 replies] Last: Any tips as to what I am doing wrong would be greatly appreciated. C... (by Danny Toledo)
DMV Exam
 
Hi, this is my Driver's License exam program. All of the errors my program is throwing in my face ar...
[1 reply] : Line 75: You're declaring an instance of TestGrader with no arguments... (by AbstractionAnon)
Calculate Tensions in Cables
 
Honestly I am yelling for help. I am really lost and frustrated. I just don't understand C++. ...
[1 reply] : It's easier for us to answer specific questions, as opposed to "walk ... (by xismn)
by Ratham
Intersecting 2 Vectors?
 
I have 2 vectors & I'm trying to make a third that only contains the similar elements between them. ...
[1 reply] : No one is going to write your code for you. The example at the follow... (by norm b)
Reading and writing to a file that you don't know the name of?
 
I was wondering if it is possible to find the title of a .txt without it being coded into the progra...
[1 reply] : You'd need to ask the OS via some API it gives you or use a wrapping l... (by Zhuge)
Stacks and Queues
 
Alrite, can anybody please elaborate more on the two concepts mentioned above or if there are any g...
[2 replies] Last: Yes I did, but since this site is just overflowing with knowledge of p... (by willynilly)
volatile
 
Can someone give me an expample when you realy see the effect of volatile keyword? thanks
[11 replies] Last: Man this is so much beyond my understanding ,I'll opened this thread l... (by closed account 28poGNh0)
by Ratham
Vector find algorithm not working
 
I'm trying to make a program that reads a text file line-by-line, breaks it up into words, and check...
[4 replies] Last: So my eyes/brain have failed me. Stuff complies now, will mess around ... (by Ratham)
some info about less,greater and pair
 
map <int, int, less<int> > m1; map <int, int, greater<int> > m1; pair<int, int> /// I kinda n...
[4 replies] Last: I am lazy ,and I am sorry , and thanks for teaching me that (by closed account 28poGNh0)
Structs in Classes
 
Is it possible to create structs in classes, and then inherit from another class. I mean the clas...
[2 replies] Last: THANK YOU VERY MUCH (by willynilly)
advance problem 01
 
int main() { map<int,int> myMap; map<int,int>::iterator iter; myMap.insert(pair<in...
[9 replies] Last: So I think I conculde this topic by saying that in c++98 the only way ... (by closed account 28poGNh0)
Infinite rand
 
So, problem is with this code #include<iostream> #include<stdlib.h> #include<time.h> ...
[8 replies] Last: Thank you. Both of you. So, I had to edit as you said >=0 and in line ... (by Keiji12)
Program crashes!
 
Hello fellow programmers! I am currently working on Michael Dawson's book: C++ Game Programming - Be...
[12 replies] Last: Okay, thanks. (by minuss273)
Errors
 
There is 1 error1 Distance is not defined but why distance has been defined in constructor too ...
[6 replies] Last: thank you (by Sharan123)
error: expected primary-expression before '*' token
 
i am getting an error that i cant figure out; nothing from google and textbook is useless for this. ...
[8 replies] Last: ok ok i got it. thanks so much! love this site!! (by density)
Sin function without using <cmath> sin()
 
Hey, A portion of my assignment has me stuck, we've been asked to calculate the sin function with...
[no replies]
Find second largest number in array
 
Hello, i need to find second largest number in array. my txt file 5.7 -1 8.6 9.2 15.3 17 And I do...
[2 replies] Last: Could you write this code? (by deividas717)
Where to start? - Graphics.
 
Hi there. I am a 15 year old programmer with very little experience. I started programming C++ 4 day...
[4 replies] Last: In addition, if you're looking to make video games then know this, you... (by Uk Marine)
files
 
i want to put two integers output in two different files how i can do it?
[1 reply] : open first file, write first integer to it and close it. do the same w... (by rodiongork)
October 2013 Pages: 1... 2526272829... 86
  Archived months: [sep2013] [nov2013]

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