Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
character-array
- Page 1
Character array
Programming
Software Development
16 Years Ago
by Himerz
… letters[]); const int numLetters = 11; int main() { char letters[numLetters]; //
character
array
char cont; do { cout << "Please enter up…those letters into a uppercase format. Input: numLetters, letters[]
array
. Output: The
character
type in uppercase format. Asumptions: that they enter in…
Re: Character array
Programming
Software Development
16 Years Ago
by Himerz
…letters[]); const int numLetters = 11; int main() { char letters[numLetters]; //
character
array
char cont; bool contProg; do { cout << "Please… letters into a uppercase format. Input: numLetters, letters[]
array
. Output: The
character
type in uppercase format. Asumptions: that they enter in…
character array
Programming
Software Development
14 Years Ago
by heena sharma
how to reverse a string in
character
array
without using string functions...
Re: character array
Programming
Software Development
14 Years Ago
by Ancient Dragon
One way to do it is to copy the string backwards into another
character
array
.
Character Array to character pointer.
Programming
Software Development
19 Years Ago
by Vagabond
… CalcBackground; .....[/CODE] I need to change char DisplayBuffer into a
character
pointer instead of a
character
array
. Many Thanx
Character array convertion
Programming
Software Development
15 Years Ago
by Teethous
…]Hey everyone, I am having a problem with converting my
character
array
. The program runs, but in the display box I get… (); // creates an object of random char secondLength[]= new char [5]; //
array
for five characters int number = 0; // variable for number generated…
Character Array Initialization
Programming
Software Development
14 Years Ago
by dansnyderECE
I'm trying to copy a string into a
character
array
to be used in .write(). Here is a bit of …
Re: Character Array
Programming
Software Development
13 Years Ago
by siddiqui_1985
… times or 50 time) i the the limit of my
character
array
. thanks again
Re: Character Array
Programming
Software Development
13 Years Ago
by WaltP
… times or 50 time) i the the limit of my
character
array
. thanks again[/QUOTE] I guess my questions are: 1) Why…
Re: Character array
Programming
Software Development
16 Years Ago
by WaltP
…-strings is that they end with a '\0'
character
. You have defined the
array
to be 11 characters then ask for 11…
Re: Character array
Programming
Software Development
16 Years Ago
by Himerz
Sorry people but I cant use toupper() function. The way I have it is the way the assignment asks. I need to display the
array
like so: If I entered 'adsgehd,' it would display: lower case: adsgehd Uppercase: ADSGEHD
Help with folding a character array please
Programming
Software Development
20 Years Ago
by nailzfan
… time posting. Okay, I'm reading a
character
array
from a .dat file. The
character
array
has 6 elements and I'm supposed to… fold the integer values of the
character
array
. The professor wants us to pair up consecutive indexes and… table. Could someone please tell me how to fold the
character
array
in this manner? Thanks.
cin of multi-dimension character array
Programming
Software Development
15 Years Ago
by shaynerossum
… trying to input to a multidimensional
character
array
. The error occurs on the second
array
. I tried to understand the problem…as one and enter an applicable
character
array
it returns to main and outputs that
array
. I've tried to Google … curious of how to do this with an actual
character
array
and I have never used the string functions before.…
Re: Converting String to Character Array in C
Programming
Software Development
14 Years Ago
by Narue
… I want to Convert it to
character
array
.[/QUOTE] To what end? What does a
character
array
have that the string doesn't?… where the last
character
is '\0' and "
array
" could be either an actual
array
, or a simulated
array
. I'm assuming…str)[/ICODE] won't work like it would with an
array
, nor would [ICODE]&str[/ICODE]. [QUOTE]If …
Reversing a two dimensional character array
Programming
Software Development
15 Years Ago
by krishnchaitu
… language code for reversing a two dimensional
character
array
. a two dimensional
character
array
is sent as a parameter to a …function which in turn returns the reversed char
array
. kindly… please give the answer with a two dimensional
array
only and also only in C language. Please…
Efficient way to take input of a character array using scanf
Programming
Software Development
13 Years Ago
by iamcreasy
…is the most efficient way to take input of a
character
array
or string of 25 ASCII characters using scanf? They …are not formatted, just a sequence of
character
. i.e. ABCDEFGHIJKLMNOPQRSTUVWXY One more point is that, after… input I have to find a sequence of
character
within this string, so it there any benefit in …
How to define hex character array in C?
Programming
Software Development
14 Years Ago
by mktr
… have a simple question: I want to define a hex
character
array
in C, but I don't want to have to… unsigned char in[16], out[16], state[4][4]; // The
array
that stores the round keys. unsigned char RoundKey[240]; // The…(Nr); // The encryption process is over. // Copy the state
array
to output
array
. for(i=0;i<4;i++) { for(j…
Converting String to Character Array in C
Programming
Software Development
14 Years Ago
by waqarafridi
… I want to Convert a String on UNKNOWN size to
character
array
. Explanation: I have a file in JAVA that sends some… is a Constant String, I want to Convert it to
character
array
. Thanx in Advance
Problem when converting Character array to string
Programming
Software Development
13 Years Ago
by sirlink99
…. here is what is displayed when I print out the
character
array
after converting to a string. [CODE] [Ljava.lang….
Character
;@2e3fe12e [/CODE] Here is what I am adding to my
array
[CODE] for (Point p : s1…
size of name save in 2d character array
Programming
Software Development
9 Years Ago
by nicky nelson
Write a program that displays length of each name stored in a 2D
character
array
. You may assume that 10 names are being stored in the 2D
character
array
at a given time and the length of the name may not exceed 30 charatcers.
Unable to Convert Integers in Character array to integers
Programming
Software Development
15 Years Ago
by rahul8590
…i] <= '9') //extracting only nos and //saving in integer
array
{ aint[i] = a[i] - '0'; cout<<aint…; } [/code] Although . i have transferred all the characters from
character
array
to integer specifying the condition , i am getting weird numbers…
Re: Reversing a two dimensional character array
Programming
Software Development
15 Years Ago
by Narue
[B]>please give me the "C" language code for reversing a two dimensional
character
array
.[/B] No, piss off. We don't do homework for lazy students. [B]>Please its very urgent.[/B] I feel no sense of urgency. In fact, I'm quite content with watching you slowly come to the realization that you're going to fail the class. :)
While loop for character input into character array.
Programming
Software Development
14 Years Ago
by atramposch
… entering 5 seperate strings to all be placed into this
character
array
. Ive taken a crack at this and just cannot seem… an input of 80 characters from the user, so the
array
is filled but not going over the limit. ive tried…
Converting from a string to a character array.
Programming
Software Development
16 Years Ago
by coveredinflies
… functions and so my plan is to loop through the
array
checking everything is a number or (the one) decimal point… the strcpy function I thought it had to be an
character
array
. (On a related point how do you get strcpy, stcmp… be curious to know how to convert strings to an
array
.
Re: Converting String to Character Array in C
Programming
Software Development
14 Years Ago
by waqarafridi
… file, then Read that file and Copied everything to a
character
Array
, Very Lengthy, stupid but it worked. The Logic Code is…
Re: Converting from a string to a character array.
Programming
Software Development
16 Years Ago
by coveredinflies
… with this is that it is not a seperate char
array
, anything you change in cstr will also change in str… reading something about only needing the first element of a
character
array
when using pointers, or something similar and I think that…
Re: Converting from a string to a character array.
Programming
Software Development
16 Years Ago
by Ancient Dragon
… matter how many different strings that are copied into the
character
array
.
How do you define character array constant
Programming
Software Development
17 Years Ago
by littlestone
There are two way to define a
character
array
constant: 1. const char* const OUT_STRING="hello world"; 2.const string OUT_STRING="hello world"; which one is better? why?
how many null are in 2d Character array?
Programming
Software Development
14 Years Ago
by AmerJamil
Hello all.. can any one please tell me..that how many null(s) i.e '\0' are in 2-Dimensional
character
array
?? thanks. your quick response will be highly appreciated :)
How do you return a class object that is Character Array.
Programming
Software Development
13 Years Ago
by TheFearful
Hey, I am working on a project and I want to know how to return a class object that is a
Character
Array
. I am having trouble with it and can't find out any way to do this. Thank you for taking the time to help (:
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC