General C++ Programming (Page 7)

by zinzik
Output in operator for
 
for (int i=1; i<=n; i=i+1) { k=k_0*pow(q,n)-v*(pow(q,n)-1)/(q-1); cout<<"k="<<k<<e...
[no replies]
by CroCo
Sending Data via winsock?
 
I want to send data from a file via winsock. The problem is that the only first line in the file is ...
[2 replies] Last: @SamuelAdams, Thank you for being helpful. I'v solved the problem and... (by CroCo)
by k321
Two arrays into one text file
 
Hey everyone I have a 4*4 array and a 8*8 arays in my c++ program and i would like to save those ...
[5 replies] Last: Sorry, this is what we have done: void UdskrivMatrixA48Fil(double A4 ... (by k321)
by esolve
construct a database-alike table using C
 
I want to construct such a table in my program(linux C): it has 3 items: 1 ip/port pair, 2 a F...
[no replies]
by akku03
Error in program please help..!!
 
I am trying this program for eliminating the vowels from a text. #include <iostream> #include <...
[7 replies] Last: @croco- thanks a lot it solved my problem. I just have one more query ... (by akku03)
Binary tree destructor
 
I am trying to write the destructor for my binary search tree. But I have no idea how to write this....
[1 reply] : If you define a destructor for PersonRec, all you will have to do in ~... (by Peter87)
by zinzik
Combinations
 
#include <iostream> using namespace std; int main() { int n,m,v=1,c1,c2,p=1,k; cout<<"n = "; c...
[no replies]
by zinzik
Loan Repayment
 
#include <iostream> #include <cmath> using namespace std; int main() { double k=0,k_0,v,g,p...
[no replies]
Problem withb accepting char arrays
 
My C++ program never accepts a char array and instead jumps to the next statement of accepting the m...
[4 replies] Last: It worked ! Thank you for your kind support ! (by fanronnie80)
by Aceix
How to make a window always on top
 
Hi all, I want to make a window tgat stays always on top like that of a cybercafe software. A windo...
[3 replies] Last: wxWidgets uses default operating system libraries under the hood. At l... (by modoran)
GMP library memory issue
 
Hi everyone, I'm trying out the gmp library by building a simple pi calculation program (original, ...
[2 replies] Last: seem to have about a megabyte too much of memory at the end of the pr... (by modoran)
by dududu
New Topic STL, CLASSES
 
Please don't write here. We use it for private conversation. Thanks.
[1 reply] : ~♪ (by firedraco)
by Avro1
Find multiple sudoko solutions
 
Hi everyone, I have successfully written a program that can find one sudoku solution using recurs...
[3 replies] Last: My $0.02: a well defined sudoku problem has a unique solution (by ats15)
Trapezoidal method differential equation
 
Hello, I am working on a program to find the value of the current in a coil. This value satisfies t...
[2 replies] Last: A good explanation of what you want is at http://www.swarthmore.edu/Na... (by ats15)
I dont quite understand this Diagram
 
This Diagram: http://i40.tinypic.com/i57oz6.png I dont understand why Class Function Definitions, C...
[4 replies] Last: O ok, thanks :D (by Anmol444)
Adding the results of an incremented value
 
The point of this program is to calculate how many cents the user would have after a certain number ...
[9 replies] Last: You're welcome! (by Rehan FASTian)
Vecotr Manipulation
 
I have a vector of 57 items from an inventory for a grocery store. I ask the user to input a number ...
[no replies]
Classes, STL
 
Questions about Classes and STL.
[7 replies] Last: Comment on a completely unrelated subject that derails the thread perm... (by L B)
program not counting properly
 
Someone please help me fix this!! I would greatly appreciate it. I tested my count funtion. So my co...
[9 replies] Last: Yes, I have string w in struct. (by Stephaniei492)
by yollo
need help to save a matrix and be able to reopen it
 
Hello :) I have this simple code: #include<stdio.h> int main(void) { int mat ,i,j; pr...
[2 replies] Last: well yes Chris, I'v tried, but I just don't know how to save the actua... (by yollo)
Pages: 1... 56789... 78
  Archived months: [mar2013]

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