I am trying to create a program that shuffles a deck of cards in character array form. Here is my code. Problem is that it compiles with "illegal star ...
I am trying to create a program that shuffles a deck of cards in character array form. Here is my code. Problem is that it compiles with "illegal star ...
I'm trying to get a custom string repeater to work in C. It works for some input, and in other cases, it appends unwanted characters. It seems to me m ...
The above sample of code reads input from a file, integers, via the command line and stores them into an array. How can I modify the code so as it r ...
Now that the Read::chars iterator has been officially deprecated, what is the the proper way to obtain an iterator over the chars coming from a Reader ...
I have seen this asked 2x, but the correct response I need has not been addressed. In this assessment, you will design and code a Java console applic ...
Here's my issue I'm running into. I'm reading in lines of text from a file, but only trying to read in lines that aren't consecutive repeats. Here's ...
Currently, my C program, alter.c, successfully creates a char array, a, from text files invoked using command-line arguments. However, I want to alte ...
Disclaimer: I'm quite new to C and to programming in general so this question may show a lack of basic knowledge. I'm trying to store a set of temper ...
Having a string (any string). It may not contain numbers; How can I store the integers contained in that array into an ArrayList. Tried to But ob ...
I want to extract relevant strings/chars from specific indexe in a txt file. I know how to read the text file line by line but i need help with extrac ...
How do I replace ) when it comes after 1, 2, or 3 digits (not chars, and without removing the digit(s) themselves)? ...
I have grabbed from a file source a column that suppose to be a DATE not more longer than 8 chars in a NVARCHAR(50) staging field. Now when I try to c ...
I would like to copy only certain data from an old array of chars to a new array of chars. This is what I have thus far: I only want chars in the n ...
I need help with char array. I want to create a n-lenght array and initialize its values, but after malloc() function the array is longer then n*sizeo ...
I am about to create the two dimensional array from string: So the array will ilustrate this matrix: But how can I do that using Java 8 Streams, ...
I'm trying to write a code that take a string : (7+5)*(6+9) and return the string : 7*6 + 7*9 + 5*6 + 5*9 my algorithm is to create 2 char arrays (for ...
I'm trying to count vowels in a certain string inputted by a user. So if there are 6 A's in a sentence that the user inputs via a console.Readline(); ...
I am currently learning SML functional language and I am trying to make a function that takes a list of characters then it searches for any white spac ...
I'm currently using switch statements with c++, I worked through some examples and used an independent example to finish with. The example I chose was ...
I have the following piece of code: I use a while loop here since I sometimes need to skip a char in chars. However, this gives me the following er ...