General C++ Programming - May 2013 (Page 28)

by k321
QR - method
 
I am lokking for inspiration to my c++ program to find eigenvalues for a symmetric vector with QR method. Does anyone have a similar program I can use? I am a b...
[no replies]
This makes no sense?
 
In my book: "Clicking on Finish will create the skeleton for the function definition within the class definition. If you had not checked Inline, the prototype...
[6 replies] Last: So, the text from my book makes no sense, because from the code provid... (by Anmol444)
millisec counter
 
hello! iam doing my final project. and i've to write c++ code as distance relay.in this code for example if the certain condition comes true after 1800 millise...
[3 replies] Last: my project about distance protection for power transmission lines whic... (by aymanalamin)
by catus
a little function
 
hi all. i wrote this int crea_vett ( int vett , int size ) { int indice; int poss = {1, 2, 3, 4, 5, 6, 7, 8, 9}; srand( time( NULL )); f...
[3 replies] Last: This code is wrong indice = rand()%9 + 1; while ( poss == 0 ) indi... (by vlad from moscow)
Junk
 
Deleted post.
[5 replies] Last: #include <iostream> #include <string> using namespace std; string mys... (by CroCo)
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<<endl;} If this is operator for whereas n is typed months, k...
[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 send. Client #include <iostream> #include <winsock2.h> ...
[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 arrays in one textfile. How do i do that.
[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 FIFO queue pointer, 3 a process id or thread id my program...
[no replies]
by akku03
Error in program please help..!!
 
I am trying this program for eliminating the vowels from a text. #include <iostream> #include <vector> #include <ctype.h> bool isVowel(char c, int indx...
[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. I have tried ----------------------- delete root; and delet...
[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 = "; cin>>n; cout<<"m = "; cin>>m; k=3; for(int br=1;br<=k;br=b...
[no replies]
by zinzik
Loan Repayment
 
#include <iostream> #include <cmath> using namespace std; int main() { double k=0,k_0,v,g,p,q,n; cout<<"Taken money for the credit = "; cin>>k_0; ...
[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 marks . It neither displays the name.Can somebody solve my pr...
[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 window that cannot be closed, minimised, deactivated, etc... with...
[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, I know!). On a million digits of Pi I've debugged the progra...
[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 recursive backtracking. Now, I have to find all sudoku solutions. ...
[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 the following equation: y'=sin(2t)-[(e y -1)/(e y +1)] wh...
[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, Class Definition and Global Constants are repeated... Can an...
[4 replies] Last: O ok, thanks :D (by Anmol444)
May 2013 Pages: 1... 2627282930... 47
  Archived months: [apr2013] [jun2013]

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