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

Plot -.-
 
I dont know how to use plot funciton can some1 please give me a tutorial with plot (a large explanation) if is possible ?
[9 replies] Last: I'm not sure what Ch's dependencies are, but I'm getting the feeling t... (by Albatross)
non-member operator function
 
My question is: how can we make an operator function, which is not a member of a class, access private data members of class or do manipulations on objects of c...
[3 replies] Last: No, that's because only the implementor of the class can decide which ... (by Bazzy)
by rissa
problems in running my program
 
#include<iostream> #include<cstdlib> using namespace std; void pilih(char, char , int, int); void display(char ); void isi(char*, int, char, char ...
[3 replies] Last: #include <iostream> #include <string> using namespace std; cha... (by rissa)
operator overloading '<<'
 
how do we overload << and >> operators in c++?
[3 replies] Last: Take a look at that link as it has source. (by MottMan)
How to declare and use a pointer to a member function?
 
Basically, I have the following code: a struct with a quicksort method using cmp1 for comparing. I would like to add a parameter to qsort so I can use it with e...
[2 replies] Last: Thanks a lot. (by maxmeier)
by Rares
rares_stelistul_rulz@yahoo.com
 
Heloo! I have a problem ,my teacher will give me a 10 if I make a program to vote a site(at a particular time),this site: http://www.arboreleanului.ro/voteaza.p...
[2 replies] Last: rares im from romania too, im in 9th grade in Oradea, but if you reall... (by jumper007)
solved (1,2)
 
I try to do a C++ program to solve any Grade 2 Ecuation. (I used Dev-C++ 4.9.9.2) The code is: #include<iostream> #include<cmath> using namespace std;...
[24 replies] Last: It tells that it expected a 'primary expression' before '-'. mate, ... (by jumper007)
Double to String
 
Got confused with atof, is there anyone someone can give me the missing line double I, String amthankful, //assuming i've already error checked the abov...
[6 replies] Last: I'll link this anyways: http://www.cplusplus.com/articles/numb_to_text... (by Bazzy)
STL programming in c++
 
Hi, I am trying to learn STL . I have went through the tutorial which proivde me info about STL. I feel it would be much better if I do some programming of d...
[1 reply] : http://www.cplusplus.com/reference/stl/ (by Bazzy)
image png
 
hi i want to convert image png 2D to matrix 2d en c++ ?
[4 replies] Last: tres rigolo, hyper utile aussi! (by sargon94)
<Bad Ptr> error
 
Hi everyone, I have the following loop that reads line by line from a file: string node_string=""; char node_char_array ; stringstream ss; char line...
[2 replies] Last: This is how the file looks like. I need only the first word to be read... (by Ana Developer)
Secret number guessing program
 
Hi, I am trying to make a program that has a secret number and then the user has to guess that secret number by entering a guess for the row and a guess for the...
[4 replies] Last: so, did it help? (by blueberry)
File not being created.
 
Hey all, I'm new here. I'm writing code for a project that interfaces a piece of hardware. My problem right now is that I want to save the data I get from the p...
[2 replies] Last: Nevermind, I figured it out. Basically, adding in the extra fstream:: ... (by WarPhalange)
Concise Way Of Checking Many Conditions
 
Hi, Sorry in advance if someone has already asked this question, but I was unable to find anything pertaining to the subject. I am wanting to check a vari...
[4 replies] Last: Thanks for that guys. Much faster than the way I would have been doing... (by zlifanar)
pointer work
 
hi guys. Here I have a problem with my pointer work. I just started the pointer and can't figure it out quickly. So guys I need your help and really appreciated...
[3 replies] Last: thank you hamsterman for helping me out. i figure it out. thank you on... (by bshrestha)
Double free or corruption error
 
I'm working on a project for which I'm trying to implement a vector class, but upon execution I keep getting the error message "double free or corruption (fastt...
[7 replies] Last: If you are on a *nix system, use valgrind (you may be able to use it o... (by kfmfe04)
comparison of floating point values
 
//code int testFunc(double value) double test = 0.0; if(val<=test) std::cout<<"Both are Equal"<<std::endl; /// The if loop may result to tru...
[2 replies] Last: Also ensure that floating point is really what you want. Depending on... (by kfmfe04)
Push String in Stack?
 
I want to push strings in stack indexes like 2."where" 1."are" 0."you" how can i do this kindly tell me
[2 replies] Last: http://cplusplus.com/reference/stl/stack/ Does this help? -Albat... (by Albatross)
C++ Read CSV file and do calculation
 
Pls help... I'd need to read in a csv file (pls see below example) and need to calculate the sum/average of column 3 and 4 based on some condition e.g. for Jun ...
[no replies]
parallel programming on clusters
 
Hi all I am a Ph.D student of Physics and recently a cluster of 32 nodes has been installed in my department. Since I am a senior and do a lot of programming...
[2 replies] Last: You may find the following book useful: The Art of Concurrency: A ... (by closed account z05DSL3A)
October 2010 Pages: 1... 1415161718... 23
  Archived months: [sep2010] [nov2010]

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