Posts by miloski • 73 points
4 posts
-
1
votes2
answers69
viewsQ: Make sure the entry doesn’t happen again, numerically and within a range?
I am programming a game of old. When the user chooses the house where he will mark his symbol (X or O), I need to ensure that: The input value refers to an empty box (which has not previously been…
-
3
votes1
answer113
viewsQ: How to set a pointer as the default parameter in C++?
I am "programming in C", but compiling using the extension .cpp and the g++ to have some facilities. My goal is to make a program that receives a starting salary and calculates the final salary…
-
0
votes1
answer241
viewsQ: How to catch the line below (next line) in C?
Good morning people, I have a file that contains several lines, among them the following: REMARK Evaluations: CoarseFF Proper-dihedrals Coarse Atomic Repulsion Coarse Compaktr Hbond_Strands…
-
2
votes1
answer472
viewsQ: How to sort a column of a file without ordering the rows?
I have a file that has three columns, and several rows. The second column is composed of numerical values, and I want to reorganize it, in ascending order, but without affecting the previous column…