home
When I compile this code I get an error"segmentation fault(core dumped)". I see that the error lies...
I've written a program where I want to make the addition and substraction of Strings where all...
How to input char* until enter key in C++ without cin.get, cin.getline, gets? Just using operator...
I am trying to make a program that will convert a String to Binary. To do that I converted the User...
This question already has an answer here: How to use sscanf in...
I'm asking help for the following program, with which I've struggled several hours this...
I'm stuck at some interesting task. I have 3 strings (hello, heavy & word). Need to calculate...
My code seems fine, but I get this warning (warning: comparison between pointer and integer), what...
I am attempting to write a Vulkan application from scratch, and I have been having issues with...
I am trying to get a time-based pooling system with threads. I managed to pull this off using...
How to make the program print "Wrong" when the user enter a character i did not but it in the...
This is my code [NOTE: not the full code, but only these cause problem] #define RNC 3 int main(int...
Lets Say I have 4 strings in a List<string>. I have used x y and z as an example here but...
Say we have the user input a name that is a string "william" and then the user enters the character...
This is what I want to happen: char mirrorWords='x'||'w'; what I want to do with this...
This question already has an answer here: How to create a list with...
String seq="12345"; if(seq.charAt(0)%2==1&&seq.charAt(seq.length()-1)%2==1) In this...
I am trying to solve a program from UVa called newspapers. I know that the easiest way to solve...
This question already has an answer here: Turn std::string into array...
I am in the works of trying to write a program that reads in individual characters and prompts the...
Hi I have been reading for hours and still can't grasp the conversions between { char i...
I've been trying to input 2 char arrays from user. I want to truncate the input characters if...
Been taking some STL c++11 courses and am hung-up on the specifications surrounding char...
Here is the RME for the function I need in C++: Requires: Length of content equals 36 (since the...
so for example does char x = '1'; take less space than int x = 1; or is it the same? ...
I tried to input from a file like this: It's a plain text file on linux called "case1" and this is...
I wrote the following code but I can't seem to convert the string to a char and then search the...
I'm trying to print the characters in this array one by one in a table with 7 rows and 4 columns....
working on a small project and I'm trying to make a 2D array of chars. I've done it with ints...
When the first character of word starts with 'A' or 'a', let the program output the word 'America'....