Posts by Anderson Mendes • 21 points
5 posts
-
1
votes1
answer75
viewsQ: Implementation in Car class objective-C
I have this code and I would like to know if this way of implementing is valid in objective-C. @interface Carro : NSObject @property (copy, nonatomic) NSUInteger ano; @property (copy, nonatomic)…
-
-1
votes1
answer649
viewsA: Edit word files and convert to PDF php
directory=$1 filename=$2 extension=$3 SERVICE='soffice' if [ "`ps ax|grep -v grep|grep -c $SERVICE`" -lt 1 ]; then unset DISPLAY /usr/bin/soffice -headless…
-
0
votes2
answers4889
viewsA: I want to save the information to a . txt in c++
int main() { std::string input; std::cin >> input; std::ofstream out("output.txt"); out << input; out.close(); return…
c++answered Anderson Mendes 21 -
1
votes2
answers729
viewsA: How to fill datagrid in a form with fields in another form C#?
DataGridViewButtonCell b = new DataGridViewButtonCell(); int rowIndex = MainTable.Rows.Add(b); MainTable.Rows[rowIndex].Cells[0].Value = "name"; Thus?…
-
0
votes1
answer1608
viewsQ: Fill values in a vector and ask position and values
public class teste4 { Scanner op = new Scanner(System.in); int[] vetor = new int[10];{ for (int i = 0; i < vetor.length; i++) { System.out.println("Digite o valor da posição " + i); vetor[i] =…