I have a string that is concatenated inside a loop , I wanted a new line with the concatenated values to be created for each loop .
Here is the code I'm using:
mensagem ="";
for (int i = 0; i < titulosReceber.Rows.Count; i++)
men...
I have a variable that is a vector of char, and in this vector I need to insert a number that is an integer, fetching it from another variable:
int quantidade;
char id[3] = 'p';
For example, if the quantity is 2, I need the string id to be...
I'm not understanding a simple comparison I'm making, but it's not running as I think it should.
Situation
I ask the user to enter the name of the person, and capture with String nome = scan.next();
And sending to this function...
I've created an algorithm that simulates a stock of a DVD sale. It stores name, price, and quantity. It has some functions and enters them, one that informs the quantity and the price of a specific dvd and it is in that I am having problems....
My reading has been set to the point of comma, but he is reading every field
to the end of the line when you read the string. The code is read correctly, but only in code.
#include <stdio.h>
#include <string.h>
struct setorEletron...
I have a database with thousands of rows, but in one of the columns the data looks like this:
XLOCAL
Estirão do Equador, Rio Javari (04°27'S;71°30'W)
Alto Rio Paru de Oeste, Posto Tiriós (02°15'N;55°59'W)
Ipixuna do Pará, Rodovia Belém-Brasíli...
I have a string that receives an input value from the keyboard and a file that contains a string. What I need to do is compare the string typed with the file string and see if they are the same, but I went to see what kind of string the file was...
If I have a list of string objects and want to concatenate all these items, how do I do this?
For example:
row1 = ['___', '___', '___']
I would like to print: '___|___|___'
I've been able to do this, but it's not very p...
I have a string _Users of type List , it contains several lines.
Each line consists of an integer and a comma-separated string (usually just a string): ID (numbers only), name (letters and numbers ).
What I'm trying to do is...