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

SNMP++ library with QT project
 
Hi all, please, help me with this task. I'm new to C++ and QT. I am making a Network Management ...
[4 replies] Last: I understand it. I mean your generated makefile by QT creator. (by Denis)
recv() in new thread does not block...
 
Hey... Thread-Question again^^... In my chat prog, i am beginnning a thread for every new accepte...
[3 replies] Last: found out what happened... my client did send empty data with getline,... (by Incubbus)
by baross
C++ cin and data problem
 
I am working on a program and I need to call data from a cin...how can I do this without doing a cou...
[1 reply] : On your last output line you forgot a << : cout /*HERE*/ (" ")<<"Pro... (by Bazzy)
How can I relate arrays?
 
For example I have 3 arrays: string studentID = {"P1001", "P1002"}; float studentMark = {78.50...
[1 reply] : Put them in a class or struct. struct StudentInfo { string i... (by Disch)
How to fix this error
 
I keep getting the following error: "cannot convert 'std::string' to 'int' for argument '1' to 'int...
[1 reply] : the error says it all. Your function takes 'int's, and you're givin... (by Disch)
Inheritance program
 
I need help with program. I am new to inheritance and am having trouble figuring out what to do. ...
[1 reply] : Read: http://www.cplusplus.com/doc/tutorial/inheritance/#inheritance (by firedraco)
by Zhuge
Avoiding a long chain of if-else if blocks
 
In a game I am working on, I have had a long chain of if/else if blocks to compare a command the pla...
[4 replies] Last: Right, and I figured that was impossible. For now, I'll just hard-code... (by Zhuge)
by ward
charcter arrays???
 
hello every body Example: if the entered characters are:s d A U M h t I The output will be: Th...
[3 replies] Last: Remember, if the arr[ i] must be in the range 'a' <= arr[ i] <= '... (by Duthomhas)
by Don321
Accessing a derived class member from a base class
 
Hi all. I am trying to implement a simple yet easily extended command parser for AT-commands. I w...
[7 replies] Last: Thanks to everyone who took the time to reply to my message. I decided... (by Don321)
by ulfat
Set Const member value in derived class
 
I want to set the value of a const float in derived class.How can I do this. I have declared it in ...
[6 replies] Last: If the base class is closed and does not give you an approprate constr... (by ShaunCroton)
I want to go into security were do I go?
 
Hi, I want to go into computer security I'm in high school right now and so far I've read the book C...
[3 replies] Last: after reading all this.. anybody will drop the idea of hacking.. heheh... (by writetonsharma)
Displaying marks
 
I am programming a code that will allow users to select four choices from a menu. These choices are...
[1 reply] : I would make a struct containing the data, an identifier (possibly num... (by closed account S6k9GNh0)
by jaaam
C and C++ challenges (1,2)
 
Hello, Just for info I found the C and C++ challenges in this following link http://www.prog2i...
[21 replies] Last: Originally posted by helios: void f(){ int *i=(int*)(unsigned(&... (by Lodger)
by g0dwyn
Filestream Problems
 
Hi everyone, So I've got a FileManager class that is being used to handle all requests for std::...
[3 replies] Last: Ah, good to know. Thanks Bazzy and helios for the help! (by g0dwyn)
Linear Search
 
I need help with an assignment. For one of the question it states "When Find mark is selected, the ...
[3 replies] Last: ID is the student ID that the user enters to display the mark. It cons... (by lebronjames)
Initializing a struct while calling a function (1,2)
 
Suppose I have a struct struct MyStruct { int a; int b; int c; }; And a functio...
[26 replies] Last: Ahh, but it has to iterate through the container and call constructors... (by helios)
Formatting Output File
 
I created a project that will collect a lot of data, save it, and ultimately want to print out the s...
[11 replies] Last: The best solution is to use Excel as an OLE component in your applic... (by Duthomhas)
To find adjacent vertices using Boost Graph....
 
Hi, Dear All, I am beginner in boost graph library. In the graph of nodes (e.g. 1 , 2, 3, 4, 5...
[no replies]
Request ebook
 
I'm looking for a book : Advanced C++ programming styles and idioms Could you share link ? thanks...
[1 reply] : How can you call yourself a netizen and not be able to find an ebook? (by helios)
by Demon
Debug error
 
Hi, this is my first post here and I already have something to ask if anyone can help me. I must do ...
[5 replies] Last: As kbw said, Line 30 filetype = new char[strlen(ft)]; needs more r... (by closed account z05DSL3A)
May 2009 Pages: 1... 45678... 17
  Archived months: [apr2009] [jun2009]

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