General C++ Programming - September 2009 (Page 6)

by NGen
Testing Integrity of a Packet
 
I already know how to send information across a network, but I'm not quite sure on how to make sure that the information sent is correctly since I'm using UDP. ...
[7 replies] Last: That's what I thought, I just wasn't sure if a packet would be redirec... (by NGen)
Structs Problem (1,2)
 
Hi there. I'm having a problem with some structs in a program I am writing. What I am trying to do is use pointers to a struct type within a struct that us...
[25 replies] Last: I'm, glad it worked :) (by R0mai)
Streaming input from sound card input
 
Hi! I'm using the structure WAVEHDR and the functions waveInStart, waveInClose etc. to capture the audio from the sound card. I use several buffers, and I have...
[no replies]
DEV C++ VS Microsoft Visual C++
 
I did a code using dev c++ and it works just fine. no error during compilation and it ran well. but when i used microsoft visual c++ (i changed int main into vo...
[3 replies] Last: a=0; b=0; while(a!=(strlen(se... (by closed account z05DSL3A)
sending emails
 
hi, i need a code to send an email with attachment using c or c++. can you help me or post some links. thank you
[2 replies] Last: Which OS ? On Windows, there are at least 7-8 well-known methods (COM... (by george135)
Calculator V2.
 
Ok so this is my revised version of my calculator that you might of seen a few pages back. I was wondering how I turn all this code into a small nice UI for ...
[7 replies] Last: Your code is still very poorly constructed. You should really take all... (by Chewbob)
monitoring winsock buffers
 
Hi everybody, I'm struggled with a problem with winsock. I'm sending data to another application over TCP and after a while a I get the error 10035 by the se...
[2 replies] Last: That's my question. I wanted to look for the winsock buffers, in this ... (by radeberger)
Population Program, need some input
 
This is an assignment for my programming class, I'm looking for some constructive criticism. The exact question is: Write a program that will predict the si...
[6 replies] Last: thanks jsmith and bluezor, both bits of info will help me out big time... (by nickg140143)
by mzd72
Network
 
In last week I asked for a network book and others suggest me http://beej.us/guide/bgnet/ I downloaded the book and read it but in the first code i have som...
[14 replies] Last: so who can help me with cygwin Google (by kevinchkin)
Whats the meaning of the Expression?
 
Can anyone please let me know the meaning of this expression in c language int *x (); My perception for it is x is an array of function retur...
[1 reply] : it says that x is an array of functions returning int pointer. Array... (by guestgulkan)
Error I can't figure out!
 
We are doing a project for my programming class and the assignment is to have a program that calculates GPA by semester. I have the calculations just fine but ...
[2 replies] Last: As firedraco said it doesn't make sense and your also trying to conver... (by arcadiu)
Extra long bitfields?
 
Is there a simple way to (theoretically) create a bitfield that are longer than most datatypes? As in, (for instance, I'll be using one smaller probably) cou...
[2 replies] Last: Wow, I didn't know that existed! Thank you so much! (by demosthenes2k8)
Runtime Error with ifstream
 
Ive tackled every solution I could thing of, but I just cant beat it. My problem is that the ifstream does not load a file when the file exist in the same fo...
[6 replies] Last: Oh wow, thanks for the help! I wasnt too sure about arrays and I thoug... (by murloc14)
Extracting text between 2 tags ??
 
Hi guys, I have a question regarding extraction of text between 2 tags from a file. For eg: i have text file in which tags are defined like,, <name>ABCD</n...
[4 replies] Last: Thanks for the replies guys.......... I have done it using stl and bas... (by herat007)
is my custom transformation iterator ok?
 
Hi all, here's another really weird question for you all. I'm playing around with Unicode encodings (UTF-8, UTF-16, and UTF-32), and I have written some simp...
[4 replies] Last: I've also learned something about std :: iterator_traits . For exampl... (by Duthomhas)
overloading insertion operator
 
I've created an object called Rational Number and I want to overload the insertion (<<) and extraction (>>) operator so I can output the Rational Number object ...
[3 replies] Last: One problem is in your operator+, in computing the resulting denominat... (by jsmith)
Error loading afm character with pslib
 
I have a c example program of using pslib he compile fine but when I execute the program he say: PSLib: Font outline could not be loaded for '/usr/share/texm...
[no replies]
by CD4
pointers
 
Hello, i coded a chunk. the chunk seems to work fine except that the loop doesn't work.I have asked some questions at lines where i have doubt.I will appriciate...
[3 replies] Last: You are creating and modifying a new local variable, not the global ... (by firedraco)
passing data of an object to a function that takes a different object
 
Hello, Let's assume I have a "Vec" class which is a wrapper of std::vector. The only private variable of "Vec" is just a std::vector object. Let's assume ...
[1 reply] : No. The closest thing would be to have an overload that takes an st... (by helios)
Schedulers and Finite State Machines
 
Hi all, I am new to this site, but have visited many times over the last few weeks whenever I needed a question answered. I usually just did a search and fou...
[6 replies] Last: [Some thing] is the devil. *Eyeroll* While that works on certain com... (by helios)
September 2009 Pages: 1... 45678... 14
  Archived months: [aug2009] [oct2009]

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