General C++ Programming - February 2010 (Page 16)

vector:erase iterator requirements
 
In the two forms of vector::erase: iterator erase(iterator position); iterator erase(iterator fi...
[4 replies] Last: That's a question for the c++ committee. (by jsmith)
What is the source-code to find the sum and avg of given numbers using arrays?
 
i want a program in c++ to find the sum and average of given numbers using ARRAYS. Please kindly ...
[4 replies] Last: -) it's <iostream> , not <iostream.h> -) it's int main() not... (by Disch)
Problem with header inclusions
 
Hi, When I include the same header file of my own project in more than one code file (.cpp), it g...
[2 replies] Last: a thanks! (by magnificence7)
Network programming with SYSTEMC
 
Hi I am a newbie to systemC i have to program an IP based system using systemC, i Have some idea h...
[no replies]
BTREE CREATION
 
I am trying to create a B-tree, but actually the problem with the B-Tree creation is that I need to ...
[1 reply] : The simplest solution: place all nodes in an array, and instead of usi... (by Abramus)
return value
 
If you have a function that returns a value, and you use that function like: int i = function(); ...
[1 reply] : Yes, it is copied (by hamsterman)
What is a Scope?What r the Scope rules?
 
In C++ what is meant by a scope? what are the scope rules of C++?
[1 reply] : Please google. Fin. (by closed account S6k9GNh0)
How to find the image of a given number?
 
In cpp, how to write a program in c++ to find the image of a given number? Please kindly respond...
[3 replies] Last: At least your honest... You need to elaborate because that alone wi... (by closed account S6k9GNh0)
return reference of pointer
 
In what situation we want to return a reference to pointer instead of a pointer?
[3 replies] Last: From what I know, a reference is simply a covered pointer. Passing a p... (by closed account S6k9GNh0)
I need to get this material, where can i find these?
 
This is the syllabus i am assigned to learn: Message Passing: Object oriented software develo...
[1 reply] : All of these have to do with a style of coding which has a standard ca... (by closed account S6k9GNh0)
What is the answer for this question?
 
"List and explain the syntax of input and output statements used in C++." Please kindly atleast p...
[1 reply] : http://cplusplus.com/reference/iostream/cout/ http://cplusplus.com/re... (by kevinchkin)
by JFloyd
Timer
 
I'm looking to make a timer, that after a set amount of time will cout a message. #include <iost...
[5 replies] Last: http://cplusplus.com/reference/clibrary/ctime/clock/ (by Mythios)
Recursive binary search algorithm
 
Hi I trying to write a recursive binary search function. The program was is almost done however, whe...
[11 replies] Last: I just wanted to show you how to translate plain english into C++ code... (by jsmith)
by Tommy
Get numbers from string?
 
Hi everybody! Anybody knows how to get numbers from a string and put them into an array? The leng...
[1 reply] : Refer to this artilce: http://www.cplusplus.com/articles/numb_to_text/ (by mcleano)
passing tuple to a function
 
Hi Guys, I want to pass tuple as a function argument. Do I have to specify the exact contents of ...
[7 replies] Last: Thanks so much PanGalactic. That's exactly what I was looking for. (by kevinchkin)
do..while loop being ignored
 
Hello,this program works great except the do..while loop..I want this loop to run in the main functi...
[7 replies] Last: thankyou nilesh (by pedr020)
by KeliJo
Prompt w/in a function header?
 
I have a assignment and the professor provided us with the four functions we need to include. 2 void...
[2 replies] Last: Well that is alot simpler than I thought. Thank you so much. (by KeliJo)
Disk Reading
 
I am writing a kernel for my future OS. What is the code to tell the computer to read the disk with ...
[3 replies] Last: Also http://wiki.osdev.org/Beginner_Mistakes (by chrisname)
My little test pong game
 
Could someone take this code: http://pastebin.com/f5adcc5d2 and see if it compiles on a Windows com...
[4 replies] Last: *bump* (by closed account S6k9GNh0)
February 2010 Pages: 1... 1415161718... 21
  Archived months: [jan2010] [mar2010]

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