General C++ Programming (Page 39)

2D vector display
 
hi. currently trying to make a battleship type game, and have created a vector using user input of '...
[1 reply] : #include <iostream> #include <vector> int main() { std::vector<... (by vlad from moscow)
Need help with last part of code
 
Hello so basically my project goes like this: Write a C++ program that reads in two positive int...
[1 reply] : Please don't double post (by Yanson)
here m would be the first part of decimal point and n would be the second part of decimal point.how can i do that?
 
#include <iostream> using namespace std; int main() { int a,b,m,n; double s; cin>>a; ...
[1 reply] : Is there a question? Please use the code tag to format your code. (by kbw)
by Jijgee
windows socket flag
 
what flags on windows are equivalent the flags "MSG_DONTWAIT", "MSG_WAITALL" on unix?
[1 reply] : There are no equivalents in BSD sockets. (by kbw)
strstream class
 
Hey guys,can anyone help me in describing what strstream classes are ?,Please reply. I also hav...
[2 replies] Last: Sounds like homework. Aren't you supposed to research this yourself? (by kbw)
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 http://thbecker.net/articles/rvalue_references/section_04.html 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 freelancer.com 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)
code
 
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)
Pages: 1... 3738394041... 91
  Archived months: [mar2013]

Cannot post in this page. To post a new message, go to the first page.