General C++ Programming - May 2010 (Page 11)

using list class.. stuck...
 
Okay.. so I have a list <wordListType> dic ; and class wordListType is defined as follows: ...
[1 reply] : If you've ever tried to implement a linked list or thought about what ... (by kbw)
by indigo
winsock client server
 
I have a client program and a server program that runs on winsock. When i run the server and in the ...
[10 replies] Last: Yes, now i can send data fine from any computer :) (by indigo)
by AegonT
Build Error 1
 
Hey fellas, I'm using Dev C++ and building a very basic networking application, just to get acqua...
[1 reply] : Not from that information. Can you post the sode and the makefile and... (by guestgulkan)
Can anyone please tell me where the error is?
 
void EnumDiv(int size, int result, vector<vector<int> > &store) { for (int i = 1; i <= size;...
[1 reply] : vector<int> store = new vector<int>(); C++ is not Java. vector.Add(... (by helios)
event
 
Can someone explain to me the details about the "event" keyword? I am confused with this code (ev...
[2 replies] Last: (*event) is different from "event" right? from (*event).event. If I'm... (by olredixsis)
Calling a function
 
Can anyone assist me calling this function to compare and then display teh returned values. map<...
[no replies]
how to check if a file is empty or does not exist
 
im trying to create a program the asks the user for a file name and then opens it and if he enters t...
[3 replies] Last: Yes, you are mixing two variables. A more correct way: ifstream ... (by Duthomhas)
Comparing values of two maps.
 
Trying to compare the prices of the bids in the two maps.Sellers map and the buyers map. Conditions ...
[11 replies] Last: the honest fact is that this is and assignment due today!I done the al... (by gnwillix88)
returning an int vector
 
I've created a class Vertices that returns an int vector that corresponds to a collection of vertex ...
[6 replies] Last: Ah, well then, you are still declaring an extraneous local variable on... (by Duthomhas)
where can i get resources on algorithms
 
Hi,all i like programming but it seems that every time it is how-to-programme (i.e algorithms) t...
[4 replies] Last: thank you all. it might take quite a long time to digest those all. (by sysabod)
Problem with Class Template!
 
hi everybody! i don't know what's wrong with this class template declaration! #include <iostream>...
[2 replies] Last: thank u very much! i really appreciate you! (by hamed2005)
C++ matrix library
 
I need to perform some calculations with matrices (a vector multiplied by a matrix, access to specif...
[3 replies] Last: What engine does matlab use? Maybe if I use its same engine.. (by paulnoel33)
quicksort algorithm
 
Hi, I wrote a quicksort algorithm that takes two RandomAccessIterators and sorts the array. The f...
[1 reply] : Yes. However, the call doesn't make for all containers. For example, s... (by helios)
Typecast cross-platform compatability question
 
Hi, I'm just curious as to if the following statement could possibly be unsafe/undefined behavior/et...
[4 replies] Last: er... I guess technically that's safe but it won't print "5" like you ... (by Disch)
Keystate "in" an other window?
 
Good morning, community I was searching around but couldn't find anything. I'd like to "receive" ...
[2 replies] Last: Okay, thank you. (by DarkDragon1993)
passing vector from one class to another (1,2)
 
I am still trying to pass the vector from the Base class to middle class which has to pass it to a f...
[30 replies] Last: Thanks a lot for the efforts and time! (by gnwillix88)
Bug in GCC or am I just missing something?
 
Alright, I've been defining a templated Matrix class with some basic matrix ops and I've noticed som...
[3 replies] Last: I just installed Visual C++ 2010 Express Edition to test the code with... (by closed account 1yR4jE8b)
Warning - declares a non-template function
 
Hello experts i get strange warning message/ cont.h:8: warning: friend declaration `bool operator...
[1 reply] : You have the friend statement inside of your class, and the operator i... (by closed account 1yR4jE8b)
how to arrange this data?
 
hi guys...i'm a new member here..i have a problem in my work and i hope anyone here can help me. ...
[2 replies] Last: thanks master. i already try ur idea code into my others data...it's w... (by sitikhadijahali)
[C] getchar() returns too quickly
 
Hi, I am trying to get user input through getchar(). However, it seems that the second time I call i...
[4 replies] Last: Keep the console open long enough to see your program's output http:/... (by Duthomhas)
May 2010 Pages: 1... 910111213... 22
  Archived months: [apr2010] [jun2010]

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