by: Aamir Mahmood |
last post by:
What could be the fastest method to reverse a string.
Speed really matters for my application. Average size of string that comes
to my function is around 200K - 300K.
Currently i am using the...
|
by: Bryan |
last post by:
Apologies if this is a noob question, but I've been struggling with this for quite a while...
I'm trying to convert a byte array (encrypted authorization code) into a *screen-printable* string...
|
by: kyle.tk |
last post by:
I am trying to make a function to reverse a string. What I have right
now ends in a segfault.
#include <string.h>
#include <stdio.h>
/* Reverse a string */
void strev(char *s){
char tmp;...
|
by: zahy[dot]bnaya[At]gmail[dot]com |
last post by:
Hi,
I am trying to come up with a c style string reverser, I want it to
take 1 argument
Altough I would never do this in real life. Is there a way to do it?
I wrote this function that fails :
...
|
by: Gregory Piñero |
last post by:
Is my mind playing tricks on me? I really remember being able to
reverse a string as in:
text='greg'
print text.reverse()
Is it possible thats in some Python install and not in others? I...
|
by: Jonathan Wood |
last post by:
Is it just me? It seems like one moving from MFC to C# loses some string
functionality such as the two mentioned in the subject.
Did I miss something?
--
Jonathan Wood
SoftCircuits...
|
by: Kelly B |
last post by:
I tried to write a code which would reverse the order of words in a
given string.
I.e if
Input String=The C Programming Language
Output String=Language Programming C The
Here is the code...
|
by: yogicoder |
last post by:
following is the code to accept a string from user, but i get
segmentation fault as soon i have finished entering the string i.e. as
soon as i press the 'enter' key.
#include <stdio.h>...
|
by: ssecorp |
last post by:
char* reverse(char* str) {
int length = strlen(str);
char* acc;
int i;
for (i=0; i<=length-1; i++){
acc = str;
}
return acc;
}
|
by: dominantubergeek |
last post by:
Hello, I'm a highly experienced expert C programmer and I've written
this code to reverse a string in place. I think you could all learn
something from it!
int reverse(char* reverseme){
int...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|