General C++ Programming - July 2013 (Page 10)

by jfrahm
program output that doesn't wait for replies but still captures them
 
I am trying to write a program that can communicate over a very latent internet connection involving...
[5 replies] Last: Brilliant. I'll start there. Thanks! (by jfrahm)
by vRltwE
Trouble debuging
 
Please watch http://www.youtube.com/watch?feature...&v=Mj43Q_zbe6Y. What may cause the segmentati...
[no replies]
Problem with loops and void
 
Greetings, this is an assignment which the purpose is too calculate an angle value in form of trigon...
[2 replies] Last: Thank you! :D (by shrayder)
The use of Iterators instead of Indexing
 
I was reading the Wikipedia article on Iterators and found this: An iterator may allow the con...
[6 replies] Last: IMO the main strength of iterators is it brings you closer to containe... (by kevinc)
by tee360
Classes, dynamic arrays, constructors, and overloading
 
Okay here is what I'm tasked with: Imagining vectors were not defined in C++ ... Define a cla...
[16 replies] Last: Yea, never tested that function. That's fixed, however in my most rece... (by closed account N36fSL3A)
general
 
what does this mean ? int (*cmp)(const char *, const char *));
[3 replies] Last: and it is definition.. you have assign cmp before you make call using ... (by kulkarnisr)
by ajh32
Socket help required
 
I'm just trying to write a simple check that we are able to connext to a remote host via an internal...
[3 replies] Last: Apologies, I missed that. I'm unsure about this too. May be a bit abo... (by MrHutch)
Operator Overloading Using a Friend Function
 
What is the role of friend function in this program? Is it even executed here? Thanks, pintu ...
[2 replies] Last: the friend declaration in the class allows the function loc operator+(... (by Christian99)
output unusal format for text file
 
Hello everyone, Bit of a problem, I'm trying to output the data from my code into a particular form...
[1 reply] : You could use the ofstream header. when you create the ofstream objec... (by Christian99)
by A S
Debugging problem
 
Hello my friends , my problem isn't in the code syntax because it is comepletely fixed , but th...
[2 replies] Last: Status 0xc000013a is STATUS_NO_MEDIA_IN_DEVICE. Make sure that your d... (by JLBorges)
very noob question - sorry
 
Hi , if i define num variable as global like below , each array element's value is '0' .However...
[5 replies] Last: and also some people might say that global variables aren't good styl... (by MikeyBoy)
by nkhau
Can someone guide me how to correct this program.
 
1. Airline Reservation System Green Dot airline has just purchased a computer for its new automated...
[2 replies] Last: http://www.cplusplus.com/forum/beginner/1/ You're posting way too muc... (by MrHutch)
Parallel computing tech
 
Hi, I recently followed some online documents about parallel computing in C++. However, it seems ...
[no replies]
strstream is it safe for using
 
Good morning all, Is it safe to use use strstream. I just googled it, and most of them are saying t...
[5 replies] Last: Thank you all :-) (by kulkarnisr)
std::unordered_set::find
 
Hi, I have a question about searching in a std::unordered_set: I'm storing custom classes in my s...
[no replies]
by Daleth
Extending a STL algorithm
 
This is more of a critique request. I wrote a version of find_all() which searches through contai...
[5 replies] Last: I would declare the algorithm the following way template < typename I... (by vlad from moscow)
Convert pointer object to plain object in c++
 
Hi, I have pointer object and i have to assign to another variable ( new object ). But if i change a...
[5 replies] Last: You will have to show your entire implementation of the class. Yes, ... (by abhishekm71)
by frnick
C++ help
 
Hi . I need help. It's a simple plane seat booking system. Let's say this are the available seats :...
[4 replies] Last: Oo. I'm stucked here goes my program so far : int main() { const in... (by frnick)
Read string in file and add count
 
Hi i'm looking for a program to read a file to look for strings and add a count. kill.log in th...
[7 replies] Last: my string::find returns 0 or 1. No, it does not. Please reference ... (by cire)
by warice
Array
 
Hi I would like to ask if anyone knows how to solve the problem. How do I get a certain row like ...
[no replies]
July 2013 Pages: 1... 89101112... 34
  Archived months: [jun2013] [aug2013]

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