Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements

12 Posted Topics

Member Avatar for Duki
Member Avatar for rela

Hi, I could import some numbers from notepad to excel 2010, and after right click the cells were converted to General from scientific format. However, when I drag the notepad file to Excel 2013 they cannot be converted to General format. I tried different ways to convert them from text …

Member Avatar for hassan_16
0
217
Member Avatar for ~s.o.s~

Could you please let me know how I can write this by C++? x[1]:= 0; x[2]:= 10; z[1]:= 0; z[2]:= 20; value[1]:= 20; value[2]:= 50; value[3]:= 10; c:= 10; N:= 2; p:= 3; max sum(r:= 1 to p, c*zz[r]) for r:= 1 to p do { sum(i:= 1 to N, …

Member Avatar for gyno
22
7K
Member Avatar for rela

Could someone please tell me how I can run my C++ code using Command prompt? How should I open it, and what I need to write? And if there are more than one text files in my code including input data, how I can choose one of them to run …

Member Avatar for CodeWarrior14
0
413
Member Avatar for rela

I need to have the same following format of dadat, which are read in a text fil, in output. "Mainnumber" is the first number of each matrix (1,2,3) and for each "mainnumber" (i), the number of rows are determined for each (i) by ("nof_row_per_mainnumber[i]"= numberof_rows;). For every "Mainnumber" (matrix) it …

Member Avatar for tinstaafl
0
265
Member Avatar for rela

I wan to wirte in cout << ... to have the matrix in output in the same format that I wrote it in text file like this: 1 2 3 4 5 2 3 4 5 6 3 4 5 6 7 class Classname { double data[3][3]; public: void Read(char …

Member Avatar for rela
0
2K
Member Avatar for rela

I have a code that read some input data from a text file, and I want to add a loop using WriteModel() to print out the same data like the same format in the text file, can you help me how to do that?

Member Avatar for rela
0
174
Member Avatar for rela

I have to do my project using C++, should I firstly read a book about that and after that write the programming, or it's better to start wtiring my code and solve my problems and questions at the same time?

Member Avatar for NathanOliver
0
193
Member Avatar for rela

I am a beginner, and want to know how can run the code in notepad with visual studio. I tried with a simple code by --<<All Program -->microsoft Visual --> visual Studio tools --> visual Studio command prompmt. The error is: ''fatal error C1083: cannot open source file: filename.cpp: No …

Member Avatar for NathanOliver
0
704
Member Avatar for rela

// How can I rewrite this loop to C++ from C // I dont know how to define vectors x, z, and v! // x, z, and v are vectors, and N is the number of vectors x and z (N=2). c:= 10; N:= 2; p:= 3; b:=5; for r:= …

Member Avatar for rubberman
0
799
Member Avatar for Gimper

// How can I rewrite this loop to C++ from C // x, z, and v are vectors, and N is the number of vectors x and z (N=2). c:= 10; N:= 2; p:= 3; for r:= 1 to p do { sum(i:= 1 to N, v[i,r]) = 1; sum(i:= …

Member Avatar for rela
-2
3K
Member Avatar for dhruv_arora

I saved the C++ code in notepad and saved with ''.cpp'' in desktop, and continued this procedure: Visual studio tools>>-- visual studio command prompt>>-- cl filename.cpp I deal with this error: #fatal error C1083: cannot open source file: filename.cpp: No such file or directory.# Also I tried it with the …

Member Avatar for Ancient Dragon
0
3K

The End.