General C++ Programming - February 2013 (Page 3)

by xsesx
Problems with Median Using Pointers
 
The assignment is to create a program that displays the median of an array using pointers. Assume th...
[3 replies] Last: If you don't delete the array (L20) you will have a memory leak. If yo... (by buffbill)
read txt file with the name is variable???
 
i want to load txt file, but the name of txt file is variale. please hepl me!!! my code is error!!! ...
[2 replies] Last: thanks (by hoanglong105)
Frequent use of M_ for naming
 
I was just wonder if someone would be kind enough to tell me why is it that in books that I have rea...
[2 replies] Last: Thanks for your speedy reply I saw it right after I had posted my ques... (by Stormhawk)
Interfacing Camera to C++
 
I am a student of engineering working on my final year project. Please help me to interface my digit...
[1 reply] : My solution is using OpenCV. This library with hundred of functions wi... (by longnguyen)
error LNK2019
 
I am currently working on an Account login system and when I run the program I receive this error me...
[7 replies] Last: 1. You can't define a function inside another function 2. That semicol... (by LB)
Help c++
 
Write a program that calculates the average of a stream of positive numbers. The user can enter as...
[2 replies] Last: here is what I have now. #include <iostream> using namespace std; d... (by paco12345)
Whats wrong with my node swap?
 
I have a function in my node class of my linked list program, when I call the swapWithNext function ...
[3 replies] Last: You can use the swap function, but you have to keep track of what you'... (by cire)
by shakib
a value of type "" cannot be used to initialize an entity of type ""
 
#include "Deck.h" Deck::Deck() { card = new Card* ; Populate(); } void Deck::Populate()...
[4 replies] Last: Thank you very kindly, your answer is really helpful. (by shakib)
HELP! My computer restarts every time program is compiled
 
Hi! I have a weird problem, my computer restarts imidiately after program writen in dev-cpp is co...
[2 replies] Last: Thanks, upgrading to 5.4 helped:) (by rewriteris)
File Info Search
 
I am looking for a way that I could check the information of a folder and a drive, to show the data ...
[2 replies] Last: If you have a tr2 implementation or can use boost filesystem, the foll... (by cire)
I need some serious help with this
 
Write a program that will ask the user for results of an election. There are 3 candidates that get v...
[11 replies] Last: I appreciate all the help. Thank you everyone for your assistance. (by dgood87)
Save big volume of computation results
 
Hi, I run some computations which give a big number of vectors (let's say 100 vectors, each one c...
[7 replies] Last: Thanks yelnatz and L B. The file will be long, but not very big (below... (by dekeenfrance)
by rudy01
Static vs Dynamic memory allocation
 
Hi, I was just curious if there is a performance difference (e.g access time, speed, ...) between ...
[2 replies] Last: http://www.cplusplus.com/forum/windows/93660/#msg503297 (by kbw)
problem about taking data from web
 
Hi guys, There is a website which consist about over 500 emails in different pages. So it is 1 em...
[3 replies] Last: thank you. that spider thing sounds interesting and useful. what I not... (by morphia)
Sortowanie w C++ Prosze pomocy
 
Mam na zadanie z informatyki posortowac te liczny od 0 do 1000. Nic nie mozna z tego usunac tylko do...
[no replies]
sorting names
 
hey guys !!! i have to sort the students according to their first and last names here is the code ...
[no replies]
alphabetical sorting
 
this is my code: #include <iostream> #include <string> #include <vector> #include <algorithm...
[7 replies] Last: It's far easier to just use forward slashes for file paths... (by LB)
Help to add the loop
 
Can anyone help me when i run my loop display Output 5 4 3 2 1 the sum is 6(the answer mus...
[2 replies] Last: thx (by vatwomen0)
by DavPin
Dynamic memory allocation problem
 
Hello, I've been trying to get around my memory allocation problem for the past hour or so, but I...
[7 replies] Last: Diid not you understand what I said did you? Show the full code that y... (by vlad from moscow)
card dealing assignment
 
This is my project im fairly new and found this and thought id try it, how wpuld i go about starting...
[no replies]
February 2013 Pages: 12345... 43
  Archived months: [jan2013] [mar2013]

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