General C++ Programming - November 2011 (Page 29)

Windows / Sockets
 
hello. Having a small issue with my sockets. I'm trying to complete my server <-> client connectio...
[no replies]
negative power function
 
Hi people!!! Appealing again for your help. I have an assignment to write a RECURSIVE power funct...
[11 replies] Last: But If I put those lines it gives me the correct output. Impossible. ... (by helios)
by pjasan
password
 
hello can somebody help me? i do a console aplication(object orientaded programming) and i n...
[1 reply] : http://www.google.com/search?q=site%3Acplusplus.com+password+asterisk+... (by Duthomhas)
by Wigen
Compiler error
 
Hi all, Can anyone help me to understand why i get the compilation error C2109: subscript require...
[2 replies] Last: So, how you declare a static vector of type boolean of size given by s... (by Wigen)
C++ test, help!
 
I have went through the following question, requiring the number of arguments from a member function...
[10 replies] Last: :-) (by superjack)
Using virtual functions to draw figures, does this make sense?
 
The book I'm using wants me to make a Figure class that has functions erase() draw() and center(). T...
[no replies]
error c2228 from use of object pointer array
 
I'm currently making a program that would run a video rental store that first reads a file and popul...
[no replies]
by smock
Reading lines in file
 
Hello, I'm running a program that reads lines from files. The program gets the total length of th...
[5 replies] Last: hamsterman's method actually works. some variables in my program were ... (by smock)
Trouble comparing two string arrays
 
Alright everyone, I'm having trouble making c++ compare two string arrays. It compares them once, c...
[no replies]
by Jarr10
Code output
 
Can anyone tell me what this code outputs? int main() { int test=10; do { ...
[1 reply] : prog.cpp: In function ‘int main()’: prog.cpp:14: error: base ope... (by Caligulaminus)
destroying/deleting buffers at exit
 
I'm experimenting with OpenAL and SDL. In OpenAL, you create buffers and Sources, and there is a fu...
[1 reply] : When you exit, should you first delete your buffers and sources, or d... (by Disch)
by Tatipu
Removing Punctuation marks? leading/ending Punct.
 
I'm supposed to write a function that removes leading and ending punctuation. Like -- Because, ...
[no replies]
shuffle a vector
 
Hi, Is there a way to shuffle a vector deterministically? That means that Every time I run the...
[1 reply] : One of the templates for random_shuffle allows you to pass a function ... (by Zhuge)
by Tatipu
Help reading multiple inputs...
 
Alright so I'm supposed to do something like this: cout<<"Please enter some sentences below. A wo...
[6 replies] Last: As much as I'd love to learn about vectors, because my Prof hasn't cov... (by Tatipu)
cin.get() not working as it is supposed to
 
In the following function definition, the compiler is not pausing to take the user input 'c'. Howeve...
[6 replies] Last: thank you @bluecoder, I literally used your loop except that I declare... (by orchids16)
reading from file
 
Hello, when i try to use the down mentioned code to read from text file "sample below" the code doe...
[no replies]
please help me debug this round robin implementation
 
This is the code for implementing the round robin algorithm in c++ I am trying to display the list ...
[no replies]
question about virtual apstract class.
 
hi, let's suppose you have one apstract class named class A: class A { }; ve also have t...
[no replies]
Trouble with 2d arrays
 
So I'm taking a matrix from a file. 5 6 R F F F F F F F F F F F R R R F F F F F F F F F F F F ...
[1 reply] : I think this will solve the problem for(i = 1; i < d1; i++) { for(... (by bluecoder)
Array boolean help
 
Hello I am new to c++ programming and know of the basics but i would ask for some advice on this mat...
[1 reply] : Why burger1 , burger2 ...etc. you can do it in another way also . no... (by bluecoder)
November 2011 Pages: 1... 2728293031... 47
  Archived months: [oct2011] [dec2011]

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