General C++ Programming - October 2014 (Page 6)

Binary Search Tree help
 
Hello, I am fairly new to C++. I am not going to lie and say this is not an assignment. Iam sorr...
[no replies]
How to overload [] operator to write for a class.
 
How would I overload this operator so that it will work for my class. eg class String { pub...
[4 replies] Last: Interesting. Thanks (by zoran404)
by krad23
Function that returns the max of a variable number of scalars
 
I need to create a function that takes as an input a variable number of scalars and returns the bigg...
[8 replies] Last: #include <iostream> #include <string> #include <type_traits> templat... (by JLBorges)
Finding max and min from integers in text file
 
Hello I have a predicament trying to read integers and placing them into an array and finding the ma...
[2 replies] Last: I hope it will help you http://www.cplusplus.com/reference/vector/vec... (by Observer)
UNIT
 
in my exercise, i found that there is a new datatype called "UNIT", i wonder whether it is unsigned...
[11 replies] Last: i typedef it and it run nomally (by nightmaregiba)
Creating a Program to Search an Index File Using the Command Line in Linux (1,2)
 
I have code that creates an index file created from a data file of records. #include <iostream...
[28 replies] Last: Never mind, I'm dumb. Fixed it and it's working perfectly now. Thank y... (by HiTechRedneck3)
someone please help me! (1,2)
 
I don't want process to arrive into the device (printer, disk, cd/rw) if no processes exist, like if...
[24 replies] Last: Are you trying to simulate the scheduling queues in a computer? You d... (by pheininger)
by nived
Reading integers from file and storing into array prob.
 
My main issue is that when I store just one value into a simple integer variable, it gives me a big ...
[5 replies] Last: Ohh, found it out. I wish my teacher actually went over this haha. I h... (by nived)
Print 10 Integers per Line
 
The code I have is below. Im able to print them all onto one line but I need to print 10 per line se...
[1 reply] : Basically check if the current is 10th and if true put a newline after... (by Jezze)
by judo11
How do I sort names and grades in C?
 
How do I sort names and grades in C from highest to lowest? John 91 Joseph 92 Mary 93 Jake 94...
[2 replies] Last: http://stackoverflow.com/questions/6105513/need-help-using-qsort-with-... (by keskiverto)
linked list copy constructor help!!! urgent
 
Here is my code it runs but after display result, it announce error template <class T> class ...
[2 replies] Last: it run!!! (by nightmaregiba)
Application tab in Window Task Manager
 
I just want to know 1)does task manager application tab always shows those applications which have...
[no replies]
help decode
 
Can someone try to explain this step to step? #include<iostream> #include<ctime> #include<cstdl...
[1 reply] : 01 02 03 05 08 13 21 34 55 89 01 01 01 02 03 05 08 13 21 34 Basica... (by poteto)
Running Program/Applications APIs?
 
Hi all I am searching for a way/api through which i can get list of Applications as showing by task...
[3 replies] Last: Thanks both of you mutexe and ahcfan. i did lot of googling on the sa... (by IamSumit)
Reading values within set range
 
Is there a way to read values within a set range in c++? For example, if you have a,b,ab,ac and y...
[no replies]
by nomnum
Random If statement returns!
 
Hey everyone! My code to a specific function is below. As a foreword: The goal is very simple. ...
[4 replies] Last: Gotcha. Thanks for the information and hastiness! Much appreciated. (by nomnum)
Store address of objects...
 
Hi at all! I'm new on "game programming". And I might say that I am a newbie! I'm using the SDL libr...
[1 reply] : Just a little thing first: Rather than your manipulation of size that ... (by TwilightSpectre)
Algorithm for C++
 
Your program must allow the user to input values for n, a, x and c. Your program will then perform t...
[5 replies] Last: Step 1: Start Step 2: Declare variables a, b, c, D, x1, x2, rp and ip;... (by jxm9459)
Still not getting it
 
If I am to write a client function that computes the sum of integers in the aBag, is an array used i...
[2 replies] Last: THANK U CODER777 (by dgriffin66)
linked list copy constructor
 
is my copy constructor for linked list right?? LINKED_LIST<T>::LINKED_LIST(const LINKED_LIST &...
[10 replies] Last: Generally the code looks pretty good. I do have a couple of comments,... (by doug4)
October 2014 Pages: 1... 45678... 38
  Archived months: [sep2014] [nov2014]

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