Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 683 results for
palindromes
- Page 1
Re: Terminating a String
Programming
Software Development
17 Years Ago
by ~s.o.s~
Palindromes
are basically related to alphabets, so to ignore whitespaces in …
Palindromes
Programming
Software Development
15 Years Ago
by javafrustrated
… lines of strings to determine whether or not they are
palindromes
. I'm getting an error while compiling - tagged where the… I can't compile it. import java.io.*; public class
Palindromes
{ public static BufferedReader inFile; public static void main (String[]args…
Palindromes strings
Programming
Software Development
14 Years Ago
by RavetodaGrave
… acca. Then the output is Valid
Palindromes
are abba acca (It doesnt count numbers as
palindromes
) How do i seperate each word… not to count the numbers and the words that arent
palindromes
i need the long version dont use scanners or arrays…
Re: Palindromes strings
Programming
Software Development
14 Years Ago
by verruckt24
…. Secondly stack is a common data structure used for checking
palindromes
, so that you push every character from a word into…
Palindromes...but determining using variables
Programming
Software Development
16 Years Ago
by patsfan4878
Hello again all. Got a question concerning
palindromes
. Basically I am writing a program that will determine if …
palindromes problem
Programming
Software Development
13 Years Ago
by Violet_82
… << endl; if (test == word) cout << "
Palindromes
!"; else cout<<"wrong!" ; }[/CODE] Now…
Logical error in finding Palindromes
Programming
Software Development
15 Years Ago
by arun_lisieux
…(); bool is_pal() /* List Function to check for
palindromes
*/ { int d[6], i=0;//, count =…quot;; flag = is_pal(); if (flag==true) {
palindromes
.push_back(x); //cout << "\n&… << "
Palindromes
\n\n"; for (it =
palindromes
.begin(); it !=
palindromes
.end(); it++) cout &…
Re: Logical error in finding Palindromes
Programming
Software Development
15 Years Ago
by StuXYZ
… to test it further.) What has changed is that the
palindromes
are much much more limited than the set of multiple…
Re: Logical error in finding Palindromes
Programming
Software Development
15 Years Ago
by arun_lisieux
… to test it further.) What has changed is that the
palindromes
are much much more limited than the set of multiple…
5 digit palindromes Array
Programming
Software Development
17 Years Ago
by etinnie
… array size of 25 and fill it with 5 digit
palindromes
. I also need to print out how many of the… of 25 and I set it up so that the
palindromes
are ramdonly pick but I have to compare the digit… to make sure that they are
palindromes
. How should I do that! How do I compare cell…
Reading and Writing Palindromes
Programming
Software Development
15 Years Ago
by Trendkiller
… and the number of words which are found to be
palindromes
. Here is my main.c file [CODE] #include<… file. Now should I use stacks to check for
palindromes
in the current functions? or should I make a …rfPtr; printf("Please enter a file to read for
palindromes
.\n"); scanf("%s",txtname); rfPtr=fopen(txtname…
Re: Reading and Writing Palindromes
Programming
Software Development
15 Years Ago
by Trendkiller
…count is correct, however I can't get the
palindromes
to count. The output says--" "…printf("Please enter a file to read for
palindromes
.\n"); scanf("%s",txt); gets(…/* If the word is a palindrome */ /* Increment count of
palindromes
*/ } fclose(rfPtr); printf("\n\nThe word count is: …
Re: Reading and Writing Palindromes
Programming
Software Development
15 Years Ago
by Trendkiller
…get it to take out the punctuation and write the
palindromes
to an output.txt file. main.c [CODE]#include …;Enter a directory path and we will check it for
palindromes
.\n"); scanf("%s[^\n]",txtname); rfPtr…;\n\nThe number of words is %d\nThe number of
palindromes
is %d\n\n",wordCount,palindromeCount); fclose(rfPtr);…
Re: Reading and Writing Palindromes
Programming
Software Development
15 Years Ago
by Trendkiller
… get it to take out the punctuation and write the
palindromes
to an output.txt file. main.c [CODE=C…;Enter a directory path and we will check it for
palindromes
.\n"); scanf("%s[^\n]",txtname); rfPtr=…;\n\nThe number of words is %d\nThe number of
palindromes
is %d\n\n",wordCount,palindromeCount); fclose(rfPtr); …
Re: Reading and Writing Palindromes
Programming
Software Development
15 Years Ago
by nucleon
…] int main (void) { /* Init count of words and count of
palindromes
to zero */ /* Open files */ /* While reading next word does not… words */ /* If the word is a palindrome */ /* Increment count of
palindromes
*/ /* Ouput to palindrome file */ /* Show results */ /* Close files */ } [/code…
Help with palindromes
Programming
Software Development
17 Years Ago
by confused!
…; using namespace std; int main() { ifstream fin; fin.open("
palindromes
.txt"); if (!fin.good ()) throw "I/O error… idea how to create a loop that will check for
palindromes
. Can someone give me pointers on how to get started…
Help, Palindromes
Programming
Software Development
14 Years Ago
by GARO
… help. Can't use strings. It's giving me wrong
palindromes
. The numbers have to be prime and palindrome. [CODE]void… == x) { cout << x << " <-prime
palindromes
-> " << revPrime << endl; } } [/CODE]
Re: Help, Palindromes
Programming
Software Development
14 Years Ago
by DoctorBinary
I can see you're trying to make number
palindromes
-- which is the right approach -- but you're missing a few things. I've written an article about number
palindromes
which should help you: [url]http://www.exploringbinary.com/finding-numbers-that-are-palindromic-in-multiple-bases/[/url]
How many palindromes in a given sentence
Programming
Software Development
11 Years Ago
by femaler2d2
I have started using emu8086 and since I’m new to this I got stuck with my project that I have to submit till Friday :((( I need to make a program in assembly that counts how many words in a given sentence are
palindromes
: For example: Dad loves mom (in data segment) And the output should be 2 :) Can u help me? Thanks
Using Stack and Queue to check a text file for Palindromes
Programming
Software Development
9 Years Ago
by Mike1986
… program that uses a stack data structure to check for
palindromes
in each line of a text file. Test your program…
Re: Using Stack and Queue to check a text file for Palindromes
Programming
Software Development
9 Years Ago
by ~s.o.s~
This means that the current method coded to find out
palindromes
doesn't properly implement the palindrome logic. Look at the …
Re: Check file for palindromes
Programming
Software Development
12 Years Ago
by TrustyTony
And of course Grand Master Norvig has something to say about
palindromes
also (for the curious): [url]http://norvig.com/palindrome.html[/url]
Re: Possible Combination of String Excluding the palindromes
Programming
Software Development
11 Years Ago
by soham.m17
… generate all possible combinations but this doesn't exclude the
palindromes
: #include <stdio.h> inline void printTheArray(char *array…
Help identifying segmentation fault
Programming
Software Development
12 Years Ago
by Manske
…is to output both the
palindromes
and non-
palindromes
in centered, triangle format…n; i++){ if(isPalin(lines[i])){ strcpy(
palindromes
[palinCount], lines[i]); palinCount++; } else{ …- 1; j++){ if(strlen(
palindromes
[j]) > strlen(
palindromes
[j+1])){ swap(
palindromes
[j],
palindromes
[j+1]); swapped = 1;…
finishing palindrome program
Programming
Software Development
13 Years Ago
by jimJohnson
… PSTR hptr = (PSTR) pvFile; PSTR optr = (PSTR) pvOFile; // CHECK FOR
PALINDROMES
char check; bool palindrome = false; char testArray [600]; char testOutArray… = 0; } } } [/CODE] Create a utility that transfers words that are
palindromes
in the input file into the output file. Place a…
memory mapped IO
Programming
Software Development
13 Years Ago
by jimJohnson
… word which reads the same backward or forward. Examples of
palindromes
are mom, pop, kayak, noon, radar, and racecar. While…The output file should contain only those words that are
palindromes
from the input file. Each word in the output …, and there is no way to predict how many
palindromes
will be present in the input file (without actually …
memory mapped IO
Programming
Software Development
13 Years Ago
by jimJohnson
… word which reads the same backward or forward. Examples of
palindromes
are mom, pop, kayak, noon, radar, and racecar. While…The output file should contain only those words that are
palindromes
from the input file. Each word in the output …, and there is no way to predict how many
palindromes
will be present in the input file (without actually …
palindrome
Programming
Software Development
13 Years Ago
by jimJohnson
… instructions... Create a utility that transfers words that are
palindromes
in the input file into the output file. Place … word which reads the same backward or forward. Examples of
palindromes
are mom, pop, kayak, noon, radar, and racecar. …, and there is no way to predict how many
palindromes
will be present in the input file (without actually…
Stack- need help
Programming
Software Development
18 Years Ago
by visual one
….event.ActionEvent; import java.awt.event.ActionListener; public class
Palindromes
extends JFrame { public static void main(String[] args) ….size()>0); reversePhrase = reversePhrase + s.pop(); } public
Palindromes
() { //Create the input text box final TextField input = new …
Palindrome Help Please :)
Programming
Software Development
17 Years Ago
by confused!
… more....) the name of the txt file is
palindromes
.txt. [code] Able was I ere I …program is returning that all of those are NOT
palindromes
. But some of them are. Can someone … { string inputString; bool isPalindrome = true; fin.open("
palindromes
.txt"); fout.open("output.txt"); if (!fin…
1
2
3
12
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
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
© 2024 DaniWeb® LLC