General C++ Programming (Page 6)

by Ceset
Interprocess Communication Through Pipes
 
Hi everyone The child process is a chess engine(stockfish), which you communicate using console nor...
[5 replies] Last: Temaran adviced to try some other methods. But just out of curiosity ... (by Ceset)
Why 'cin' takes more characters when not used in loop
 
In the following code if I am typing more than 20 elements then all of them are displyed instead of ...
[2 replies] Last: Well, strictly speaking it's more the case that you should not read in... (by andywestken)
Align a matrix with decimals and negative numbers.
 
Hi, I hope you can help me. I need a piece of program that with a given 2 dimensional matrix, it ali...
[6 replies] Last: Don't bother. I've just figured out how to do it. It turns out, I just... (by Osej Alhasad)
Anyone can help me to sort this code alphabetically ?
 
Anyone can help to sort this code alphabetically ?
[2 replies] Last: you could use a STL-container like std::vector to store the names and ... (by Gamer2015)
Why my compiler skip a cin???
 
MY compiler skip a cin. I am using cin.ignore(); and double cin to stop this. Sometimes works, somet...
[1 reply] : To answer this question, we really need: 1. to see the relevant code ... (by andywestken)
Clarification on random numbers
 
Hello, I have this random number generator unsigned long int next = 1; /* rand: retu...
[13 replies] Last: Haha never heard of FreeBSD ... I can`t read fully the source, but th... (by pacman169)
by Alimoj
Problem with static varibale and default constructor defnied in polymorphic class
 
Dear All users; I am new to C++ programming. I would be appreciative if you help me with solving...
[5 replies] Last: While, Thank you for your reply. (by Alimoj)
C++ Final Project... I need some help!
 
How Can I create a Dinamic Allocation for a Movie Array? How Can i sort a movie file by alphabetic...
[12 replies] Last: Hey Guys thanxx for the support... Now i have another doubt, why my co... (by gvaledon123)
by Gyiove
operator[] and operator[][]
 
Hello everyone! Here's a simple code: int &operator (int in) const { cout << "pos:" << in ...
[2 replies] Last: a map inside of map im stupid, my apologies. this would be my solution... (by Gyiove)
by Aman13
Rolling dice
 
Friends i just wanna rewrite this program using File in c++ #include<iostream> #include<st...
[1 reply] : use a class instead of a struct, all of your data members should be pr... (by mutexe)
Linked List "add" n "remove" for loop ?
 
Hello every1 , just want to ask for a clear explanation about the loop after the else inside the "ad...
[1 reply] : Well, the developer of this code determined that position 1 is before... (by coder777)
by Lauke
Array declaration inside a function
 
Hi guys, is it safe to do stuff like: void func(int v , int size) { int array_local ; for(int i...
[2 replies] Last: In C99, this would compile. It will be safe if the array is small enou... (by JLBorges)
by AmitH
Stop searching by alphabetical order
 
Hi, I have a list<string> of words. I want to check if some word is in the list. So I used the ...
[2 replies] Last: Thank you. (by AmitH)
Good Program for Flowchart ?
 
Anyone knows a program who automatically desings you a flowchart ?
[4 replies] Last: thanx!!! (by gvaledon123)
Help with Arrays?
 
The instructions were: Create a program that will input 10 names of students, each student have 5...
[5 replies] Last: I just realized I did not calculate your averages correctly. I think y... (by Bdanielz)
Please help me Template this project
 
The program that I have created will eather generate a .txt file full of random numbers, or load the...
[no replies]
LINKED LIST - BST
 
can someone give some logarithm for finding the level of a given node..
[1 reply] : http://bigocheatsheet.com/ (by Bdanielz)
PLEASE I NEED THE CODE TO COMPARE WITH MINE. PLS HELP
 
Write a C++ program using functions that accepts a single integer value entered by the user. If the ...
[5 replies] Last: Alright well you edited your post with a new problem. I'd suggest maki... (by Momothegreat)
by t36
Class design: allowing users of a class to change the content of an internal container
 
Hi, Apologies if this has been asked before, I tried to do a search but I don't know quite which ...
[5 replies] Last: If the class person has a (mutable) property name, then Person &muta... (by JLBorges)
by Wi3ard
Combining Random Gen/ Text file
 
What I am trying to figure out how to combine the text file I created and the Random Gen/Array #i...
[no replies]
Pages: 1... 45678... 47
  Archived months: [mar2015]

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