General C++ Programming - May 2011 (Page 10)

Coding problem. help plz..
 
Hey guys, I have coded a program which works as a spell checker. Reads a file and checks a databa...
[1 reply] : Like if there is a word, "bee" i want to know a method to ignore the ... (by theonealone)
populating binary tree
 
using the standard template library binary tree, i need to read each line of a text file dictionary ...
[1 reply] : I'm not following. Are you sure you understand how those classes work? (by helios)
Help with Yahtzee program please
 
Well, so far I have just threw this thing together because I wasn't expecting to have to turn it in ...
[11 replies] Last: It looks like the main problem is with how the dice are saved between ... (by closed account D80DSL3A)
by beyond
C/C++ Tutor
 
Hello C/C++ experts. I need tutoring support. The object is for me to learn how to develop a ...
[no replies]
by gizzmo
STL vector
 
Hi, I am trying to do the following with the STL vector. Say we have two vectors, both of the same ...
[13 replies] Last: I did not define operator= . Now it works. helios: Yes, I know it is... (by gizzmo)
Overloading << and [] operators for Linked List class.
 
I'm trying to overload the operator for my linked list class so that you can access an index with ...
[16 replies] Last: Yes. But if you want the default constructor you should write -> Link... (by m4ster r0shi)
java to c++
 
hi i coded a java class, now i need to change it to c++ code, but i am not expert in c++. can any ...
[1 reply] : Basicaly the same way, except you can overload operators in C++ This ... (by Mathhead200)
Casting!
 
Hi everybody, I would like to know if there is a way to cast a char* type in to a class type! H...
[12 replies] Last: BTW, all, constructors should take const char* s. (by Duthomhas)
by suetam
numeros complejos en una funcion cuadratica
 
Hola como estan tengo esta funcion cuadratica. puedo insertar datos para a,b,c. como enteros 1,2,3,...
[8 replies] Last: You have already been given an answer. Use the complex <> class to s... (by Duthomhas)
Updating/Repaiding code for DDoS test lab
 
Hello Everyone, I am working towards setting up a DDoS tool for lab based testing. The tool is base...
[8 replies] Last: I just realized that I had a typo in my last reply. I meant to say tha... (by IDOsomething)
C++ Load Program Issue
 
I'm trying to create a basic console C++ loading program (to be a part of a larger console C++ proje...
[2 replies] Last: Why do you need to add indirection nike that? Just store the colors in... (by Duthomhas)
Programming with Laser Range finder
 
Hello, I'm programming a Hokuyo laser range finder in C++. When the range finder is not plugged ...
[2 replies] Last: lowR is equal to -45 and degree a double. (by amerrill)
Collision Testing
 
I was originally going to post this as a reply to xander333's post about his 2D collision issues, bu...
[14 replies] Last: Okay my code is huge but here's the relevant tidbits excluding physics... (by Disch)
Quick Question Regarding Threads
 
When creating a thread with _beginthread( ) , are variables created on the threads' stack or the pr...
[11 replies] Last: Cool. Thanks! (by webJose)
Typename AND Class in one template?
 
I've been working on a Linked List class in a header file and I'm confused as to how I should procee...
[5 replies] Last: Try compiling this template<class T> class C{ T* c; }; int... (by hamsterman)
returning to my int main()
 
Hey everybody so im trying to write a code for my computer programming final. Im writing a code that...
[1 reply] : If you want something to be repeated, put it in a loop. (by hamsterman)
by xephon
data accuracy specification in C++
 
Hi all, I'm wondering what's the equivalent for C++ for the following situation? printf("%.3f\...
[1 reply] : cout << setprecision(3) << f_num << '\t'; http://cplusplus.com/re... (by Disch)
Organization of Functions...header files?
 
Hi I am a long time matlab user but just getting into C/C++. My question is concerning organizati...
[2 replies] Last: Thanks. The renaming of cpp to h (etc) is a little confusing to me but... (by lando11)
by aryan
vector of maps
 
i am trying to create a vector of maps. ---CODE-------------------------------------------------...
[12 replies] Last: also consider how many maps you expect to have and how small each map ... (by kfmfe04)
assigning coordinates to triangles
 
Hi, I am trying to write a simple program that assigns x,y coordinates to the centroids and angle...
[8 replies] Last: You are absolutely right..thank you so much... (by sanehatter)
May 2011 Pages: 1... 89101112... 32
  Archived months: [apr2011] [jun2011]

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