General C++ Programming - April 2013

Instancing a Class via Constructor
Have a nice day! I found this community maybe 2 years ago, but recently I've decided to register. T...
[7 replies] Last: Thanks a lot! I finally understand this... hehe that's because I prefe... (by Celeste Belrose)
trouble sending messages to client and server
hi guys, i`m having trouble sending messages from my server to a client. I`m doing a udp client ser...
[no replies]
by rs2991
STL list of STL vectors
1. Implement a code that begins with the following user interface: Please choose from this menu (G) ...
[1 reply] : Okay, done... Now what? (by Lachlan Easton)
What does this mean!!
On page 4 here at the very ending it ...
[2 replies] Last: Oh ok thanks :D (by Anmol444)
Convert std::string to char*.
Is there anyway to convert std::string to char*? Like: std::string x="hello world"; char* y=x; ...
[6 replies] Last: Thanks Disch. (by usandfriends)
Trapezoidal Method
An electric coil with a non-linear magnetic characteristic is excited by an alternating voltage volt...
[no replies]
weird struct definition
I am deciphering someone else's code which contains the following block (in an .h file) struct Q...
[3 replies] Last: This kind of defines is usually for building a dll. The thing is that ... (by KRAkatau)
help me please in c code
hi i need to code by c language for limited integration. e.x : i want to integrate the functio...
[7 replies] Last: Please go to for that kind of services. This forum is f... (by KRAkatau)
Array of Linked Lists - Please Help!
So far, I've figured out how to get strings from a text file and put them into linked lists, but I'm...
[no replies]
Problem with "class bernoulli_distribution"
hi, im trying to use "class bernoulli_distribution" to simulate the number of detected particle c...
[7 replies] Last: #include <iostream> #include <random> #include <ctime> #include <ioma... (by JLBorges)
I need help writing this program. Write a task that will perform some of the functions performed...
[1 reply] : so u need help for which part? (by codeback99)
by Katt21
Lottery Program
I would appreciate it if someone could help me figure out how to keep the i variable on line 48 from...
[1 reply] : I believe that This will fix your program : #include <iostream> #inc... (by JaKnierim)
Please help. Homework with Arrays.
Hello so basically my project goes like this: Write a C++ program that reads in two positive inte...
[2 replies] Last: I had a friend help e with that line, but i thought it was off to. Sho... (by Jose94ji)
Function that stores a number into an integer array?
I'm writing a function that stores a number into an array. If the number is greater that the lowest ...
[3 replies] Last: void InsertNumber(int List , unsigned int Size, int Number) { //... (by pogrady)
i need help making a black jack game
i have a program done that will randomly pull the cards from a standard deck, this said i'm drawing ...
[4 replies] Last: #ifndef BLACJACKPLAYERS #define BLACKJACKPLAYERS //holds the cards ... (by pogrady)
by jadch
how to generate 3 random numbers between 1 and 6 using a function called generate_rand
im trying to generate 3 random numbers between 1 and 6 using a function called generate_rand.. but ...
[6 replies] Last: thank you problem solved (by jadch)
Traversal in Binary Search Tree
Hi, guys I need a help with traversal of binary search tree. In my header file there is a function ...
[1 reply] : Never mind, I did find the solution and it works now. (by nfoster3)
Fix "does not name a type" without forward declaration (1,2)
I've got a base class, and five classes that inherit from it using public BaseClass . In each deriv...
[31 replies] Last: [quote=trojansdestroy]what is useful about a function that only accept... (by Peter87)
by Progg3
Link-List with Nested Classes
Hi, I asked for help on the forum earlier, I have since solved the original issue. I need a l...
[1 reply] : Nevermind people I'll RTFM. Just done a bit more reading online about ... (by Progg3)
how to connect to the router using the WPS protocol
Hello friends. I own a code written in c++ that is used to connect the router using the WPS protocol...
[1 reply] : Nobody can help me? you just have to modify a bit the code.. (by soundmaster)
April 2013 Pages: 123... 53
  Archived months: [mar2013] [may2013]

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