« first day (1900 days earlier)      last day (2119 days later) » 

12:00 AM
RELOAD! There are 5447 unanswered questions (89.9407% answered)
 
12:23 AM
0
Q: Object oriented design of chess, any better idea?

AshutoshI was trying to design a chess game in Java. I have just started learning design patterns and am not sure if my approach here is right. Could you please suggest ways to better this design ? Below is how the code looks like : public enum SquareState { OCCUPIED, EMPTY } public en...

 
 
1 hour later…
1:29 AM
0
Q: A Ruby script to generate random "people"

PythonNewbI'm working on developing a small Ruby program to generate random data for a Neo4J database, including people, addresses, phone numbers, etc. I'm a total beginner to Ruby, so I wanted to post my progress so far here to get it reviewed. I've just completed the "people" generating functionality. ...

 
2:06 AM
0
Q: Simple trie class in C++

Reid HayesI would be very grateful to get some thoughts on this toy-implementation of a trie that I wrote to practice my C++. Some questions I have: Is my create member function idiomatic? What's the standard way avoid duplicated copy in the copy-constructor and assignment operator? Is there a way that ...

 
3:00 AM
0
Q: How to best parse scraped data from html table

loremIpsum1771I've written a simple python web scraper that parses text from an html table and stores the scraped data in List of dictionaries. The code works and doesn't seem to have any glaring issues performance-wise, but I only used the bare bones modules of lxml and requests. This is more of a conceptual ...

 
 
1 hour later…
4:08 AM
0
Q: Read a CSV, Process Data, and Output Results with Python

g.humpkinsI have a question that is similar in spirit to this previously asked question. Nonetheless, I can't seem to figure out a suitable solution. Input: I have CSV data that looks like id,prescriber_last_name,prescriber_first_name,drug_name,drug_cost 1000000001,Smith,James,AMBIEN,100 1000000002,Ga...

 
 
1 hour later…
5:27 AM
Monking
 
0
Q: How I can reduce condition inside loop?

Kiran ShahiIn my scenario I have list of object in C# code and need to be converted into JavaScript object. But there are certain condition, where the value of the object might be dynamic based on certain key. I have a following method which will return string as JavaScript Object. public string ItemToJso...

 
 
1 hour later…
6:36 AM
Monking
 
6:56 AM
0
Q: Idiomatic approach to applying a keyword replace algorithm to a Java 8 Stream

Jason SperskeI have an approach that seems to work though I feel like I must be misusing something to achieve it. I am implementing a keyword matching algorithm to a Java 8 IntStream. The goal is to walk over a stream of char values (created by calling .chars() on an input string called sentence). If a key...

0
Q: html & css mistakes in website coding

sameerwhy websites still function when HTML validator is giving results that there are numerous mistakes in coding.like meta data , attributes , non declaration of char types.

 
7:30 AM
-1
Q: Engineering calculator

RafiEngineering calculator to support trigonometric functions with basic arithmetic functions in c language only Maximum decrease the code size please sir Thanq sir

 
7:46 AM
0
Q: Binary search in Scala

StudAnother exercise in Scala in which the goal is to find the target position as fast as possible. The initial input provides the grid size and the initial position. Each turn, this code provide a new position using println and the direction to the target is given back as a string ("UR" up-right, "D...

 
8:01 AM
Monking
 
Monking
 
8:19 AM
@CaptainObvious Closed as UWYA, lacking a 'this is a bull!@#$ question' option.
 
@Mast A HROK (head rolled over keyboard) option.
 
8:45 AM
@Mast ~flung
Monking
 
8:56 AM
0
Q: c# read csv file and save selected column in database

codeloverhow can i read .csv file and save selected column in database. I am having a .csv file like this A, B, C, D 33, 32, 36, 33 67, 34, 37 ,33 So i need to save column B And C Value in new table in database after i compare with the existing table in database

 
9:38 AM
@CaptainObvious No.
 
10:37 AM
1
Q: PHP Prepare statement shortcut class

MartI did some looking around and found some more topics on how to use the $stmt->bind_param function inside another function or class what means the reference variables have to be sort of passed on. With the information, I obtained I was able to create a class that allows a mysqli prepared statement...

0
Q: Java maze works on square mazes but fails on rectangle mazes

CeprayilI have been tasked to write a Java algorithm which solves a given maze as a file. The program some what works as intended, however the algorithm simply fails when there are rectangle shapes mazes passed into the application. I simply could not find the source of the problem, can you please help m...

 
10:55 AM
0
Q: Google FooBar "Prepare The Bunnies Escape" Code Optimization

Isaac-Neil ZanoriaI'm currently working through the google FooBar challenge, and I'm on the third level, in which I have to find the distance between the top left and bottom right points on a grid. The grid is filled by ones and zeros, with zeros representing crossable spaces and ones representing non-crossable sp...

 
11:11 AM
0
Q: C# Check if nullable int has value and compare value to another integer.

ParamoneQuestion might be more appropriate in StackOverflow, however I'd also like a review. I'd like to make my code inline as I feel like this could be possible, I'm just not sure how. int highestWeightOfParcel = 0; if (collo.WeightGrammes.HasValue) { if (collo.WeightGrammes > highestWeightOfPar...

 
11:54 AM
ew. Collectors are a pain to implement in java
 
12:36 PM
1
Q: Connecting two points on an array grid

JasonHey I'm a student currently self learning python. And I created something simple which I wanted to try out. And it works. The goal is to create two points(one on the left and one on the right) and connect them on a 5x5 grid. But I'd like to know if there's a better, shorter, and faster way of wri...

 
12:51 PM
Open question: what would be a decent format to create an automatically generated list of checkboxes in?
Think 600 checkboxes in plenty categories.
 
You mean UI-wise?
 
@Mast HTML? Text? Json? I'm not sure I understand the question.
@Vogel612 I disagree. I implemented one a few years ago.
 
@Mast Decide if you need checkboxes first. If they're all boolean values, a multi-select box might work better than checkboxes, especially if the user needs to select many at a time.
 
@JDĹ‚ugosz That's interesting! What are your experiences with that? Do you feel that you sometimes lack the domain knowledge when reviewing company code for example? Are the clients grateful and open to feedback? I can have plenty of questions for you.
 
That's how I do some of our checkbox stuff.
 
12:54 PM
@SimonForsberg retuning functional interfaces is a bit very annoying
 
@Vogel612 Disagree. Felt quite natural. Here's one for example: github.com/Zomis/Fighting/blob/master/src/main/java/net/zomis/…
@202_accepted Yeah, I'm flexible on that :)
@Mast What do you mean by "force your own rules"? What rules?
 
@SimonForsberg I got complex projects. Those projects got relatively standardized checks to make sure just about all oversights are caught. So I got an ever growing list of checks I need to do and want to make a list of those based on a configuration.
So, HTML would be fine. docx would be fine. Excel would be fine. As long as I can generate the list of checks easily enough and it isn't a pain to hit the checkboxes afterward.
Single click is a must, being able to select multiple boxes at once and check them would be a bonus, but I'm not sure how I'd do such a thing.
 
@SimonForsberg simplify with Collector.of
 
@SimonForsberg Conventions. Standards.
 
@Mast HTML with a multi-select would work well.
Then, you can throw all the checks in the multi-select (trivial with ASP.NET, PHP, or Python), and allow the user to easily "drag" through all the checks they need. CTRL + Click can be used for out-of-order clicks.
 
1:01 PM
@202_accepted With a generic HTML page to start with, fill it up with JS based on a generated JSON?
 
@Mast If you say you have categories, you could have a global toggle per category in addition to a toggle for each check
 
@Mast Sure, that's more than sufficient.
You can use either raw JavaScript to populate it, or use Jquery which makes it easier, but might be more overhead than you want.
 
@MathiasEttinger That sounds like it will turn into a maintainability nightmare with only marginal benefits.
 
@SimonForsberg Interesting. Wouldn't be hard to use one of my U.S. LLC's to funnel work for it.
 
@202_accepted It's going to run locally and I got a 7th generation i7 to play with. CPU is irrelevant.
 
1:03 PM
@Mast I just meant you have to import jQuery and such, but it's usually pretty easy.
 
For multi-select widget, you can also look into how Django did: stackoverflow.com/questions/1698435/django-multi-select-widget
 
But yes: you can generate a JSON (probably a regular array works, so ["Value","Value 2"...], then load with JavaScript: JSON.parse(json), and then for (var i = 0; i < json.length; i++) { /* Add element */ }.
 
@MathiasEttinger Looks good, great idea to make a filter in the final page as well.
Return all fields doing X, check them all at once.
Or for report generation even, if this gets out of hand.
if when it gets out of hand...
Thanks all, I'll whip something up.
 
TIL std::unordered_map doesn't allow incomplete types as template parameters... Another reason to use a non-standard hash map
 
@hoffmale You can't NULL the rest to make them complete?
 
1:11 PM
?
my problem is that class trie_node { std::unordered_map<char, trie_node> children; /* ... */ }; doesn't work, because trie_node isn't complete at the declaration of children.
 
@hoffmale Well, what does an incomplete type look like compared to a complete type?
 
trie_node in the example above is only complete at the final ;
 
@Mast I was thinking "I offer them my ideas and what I believe is the best practice, and then they can choose what they want to keep or not".
 
so the compiler needs to know all members + member functions
 
@SimonForsberg That should work.
@hoffmale Right. And you could subtype those first, but that would cost you flexibility.
 
1:14 PM
@Mast I would probably do HTML or just pure - [ ] Checkbox in text - Markdown FTW
 
the problem is the self reference
 
@SimonForsberg The checklist will be checked digitally, not on paper. So it still got to replace [ ] by [x] somehow.
I could fix that by making the whole thing an image, put a href on parts of the image and keeping track of all clicked links...
 
@SimonForsberg Collector.of(WinStats::new, WinStats::add, WinStats::copyWith, UNORDERED, IDENTITY_FINISH);
 
@hoffmale And other hash maps have no trouble with that?
 
It's depending on the implementation of the hash map
std::unordered_map isn't forced by the standard to allow incomplete types, so common implementations don't support them
std::vector, std::list and std::forward_list however have to work with incomplete types...
 
1:19 PM
@SimonForsberg what you have there are Readonly properties that aren't properly implemented by Java, because it doesn't have sufficient syntax sugar
 
@SimonForsberg Depending on what you want, C# supports having analyzers break the build. So, for example, you can say that ifs without braces break the build.
Does Java have something similar, perhaps?
Of course, this is style-only. Not logic and other things.
 
@Mast Ever heard of a program called "Notepad"?
 
@Mast Use GitHub :P
 
@SimonForsberg Does that have checkbox support?
Single-click?
 
@Hosch250 SonarQube and Coverity, to name a few...
 
1:23 PM
I'm not going to set 600 x's.
@Hosch250 What, the issue tracker?
 
@Hosch250 pretty sure you could make something if you know the right compiler hooks...
but it's not really directly in the official compilation process...
 
@Mast Notepad++ and a plugin then ;) Or just render the list as Markdown and violà. Markdown plugins should be available for most editors - I know there's one for Atom at least.
 
@SimonForsberg Oh, I've heard of those. So that's not what you are looking for?
 
there is some compiler hooks to rewrite bytecode based on annotations and other things, but it's rather arcane
 
Don't worry, C#'s IL-generation thing is pretty icky too.
 
1:25 PM
everything else needs to be integrated into the toolchain of your buildtool. so that's gradle / maven / maybe ant for you
 
1:41 PM
@Hosch250 I was asking if anyone knew about companies that did a review of your code, so no I am not interested in automatic code analysis tools.
 
OK. You mentioned specific styles, so that's where my comments came in. Pretty sure there are some, but not a whole lot--especially since most code is proprietary.
 
Consultants will do it, for a price.
You can NDA them all you want.
 
@SimonForsberg Java?
 
I’m repeatedly doing c s n n n s s s s s in GDB, I’m sure there is something in place to automate this so I can do it in a single key stroke
 
@202_accepted Mostly, but all kinds of languages really.
 
1:52 PM
But I can't remember the name of the command for that
 
@MathiasEttinger Record a macro? (Don't know what GDB is)
 
@SimonForsberg If it's anything in my wheelhouse, I no-kidding have an LLC you can send work to.
 
@202_accepted LLC?
 
The GNU Debugger (GDB) is a portable debugger that runs on many Unix-like systems and works for many programming languages, including Ada, C, C++, Objective-C, Free Pascal, Fortran, Go, Java and partially others. == History == GDB was first written by Richard Stallman in 1986 as part of his GNU system, after his GNU Emacs was "reasonably stable". GDB is free software released under the GNU General Public License (GPL). It was modeled after the DBX debugger, which came with Berkeley Unix distributions.From 1990 to 1993 it was maintained by John Gilmore. Now it is maintained by the GDB Stee...
 
@SimonForsberg "Limited Liability Company", registered in Ohio in the U.S. as an "official business entity."
 
1:59 PM
Think I got it. define should do it.
 
2:12 PM
@Incomputable Do you know how successful these companies are with performing reviews? How have you heard about them? Have you had any contact with these companies for code review purposes?
 
The info pages of GNU programs are usually well-written.
 
@Zeta But GNU is so rich, it's hard to dive into if you don't know what to search for
 
0
Q: Models for analysing Twitter data (*which based on tweepy package)

AriefI have three modules here models.py, functionals.py, and adjustment.py. These three may be used to perform analysis of Twitter data through tweepy objects. The Tweets class is a simple one which takes 'tweet' objects and take it as a 'list', which is necessary as an argument of Authors class. T...

 
@MathiasEttinger info gdb contains Extending GDB, which contains Sequences, which contains Define (which you found already :) )
Other than that, the reference card (cheat sheet) might come in handy: sourceware.org/gdb/current/onlinedocs
 
2:27 PM
Doesn't contain define. But the quick cheat sheets are a nice DDG feature.
 
@Zeta And you can modify them (or submit your own) if you got a better one.
 
2:43 PM
@Hosch250 Do you folks use Visual Studio SQL Server projects at all?
 
NAFAIK.
@SimonForsberg Why, are you thinking of starting one?
 
@SimonForsberg well, man, I'm a student. The only way I would be able to learn about them is through C++Con (the biggest C++ oriented conference of a year) or some other relatively good conference talks on youtube. Cierra, IIRC, has some Boost maintainers, which is a good sign. Otherwise, I've got no clue
the talks that they give are very well received. I wouldn't trust my word for anything commercial
 
0
Q: Generating test Spark dataframe with Scala

LoomI need to create test dataframe of lat/lon points. I make it with scalanlp and it looks suitable for me. Next stage is creating spark dataframe from generated points. It looks clumsy for me. The following is the code to review: object TestDataFrame { def make(spark: SparkSession, config: Confi...

 
@Hosch250 They're wayyyyyyyy more powerful than the SSMS ones.
 
Not sure I use those either.
 
2:58 PM
I've used both, definitely a fan of the Visual Studio ones.
You can do things like SELECT * FROM Table, then use Refactor -> Expand Wildcards which will turn it into SELECT Col1, Col2, ... FROM Table.
@Phrancis You'd like them as well.
There's also Refactor -> Fully Qualify Names which will turn Table into [dbo].[Table].
 
0
Q: Click a link to delete targeted content using Ajax

JawSawI write a glypicon as a link to delete a comment: <a class="delCommentLink" href="{% url 'article:comment_delete' comment.id %}"> <span id="{{ comment.id }}" class="glyphicon glyphicon-trash" aria-hidden="true">delete</span> </a> I send the request using Ajax. retrieve the comment_url ...

 
3:24 PM
0
Q: Python code modification

AbeerI have a python code and I want someone to help me in modifying it to give slightly different plot. I will first describe what the original code does. The code is given a "central" pixel value (called 'y_peak' and 'x_peak' in the code) it draws a line of length 'cutLen' through the central pixe...

1
Q: C Implementation of a lock-free unbounded queue

p0wlI'm currently improving my C skills and therefore implemented a thread-safe and lock-free queue. The algorithm is from chapter 10.5 of the book "The Art of Multiprocessor Programming" by Maurice Herlihy and Nir Shavit which is a great book by the way. I would like to receive feedback on my gener...

 
3:57 PM
0
Q: Dice rolling game 1

user175156So today I challenged myself and made my first dice rolling game. It took a little bit but I think is worked out relatively good ( short, clean(?) code) I wanted to ask a question about the comments in the code. Why can't I give "random.randint(1,6)" a variable name and then just re-use it fro...

 
4:14 PM
2
Q: Python class for organizing images for machine learning

jss367I built a class to help me handle image data to use in machine learning. I thought that there would be a pre-existing package that did what I wanted but I couldn't find it so I wrote this. I am not intentionally trying to re-invent the wheel so if there's something that already does this please l...

 
Monki
 
it's a somewhat humbling experience when your VPN stops working because you updated dbus
 
4:47 PM
0
Q: My automation code is running very slowly

Antony NaveenI am automating a commentary app. Its kind of sports reporter software. Here I need to select the starting lineup players and their positions. I am automated the app for Basketball Big3 game. Each team have 3 players where there. I am executing correctly, but my code is running very slowly. I nee...

1
Q: Fetching data through HTTP and caching JSON result in a file

ProfHase85The task is to fetch some data (json) from an API with GET. If the location is not available for any reason, read a cache file. Otherwise write the cache file for future use. The following function works but it is clumsy due to nested try/except -> difficult to read Difficult to figure out wha...

 
5:20 PM
0
Q: JavaScript Determine if Number is Lucky

Sean ValdiviaA challenge from Code Fights; a function that takes a number no less than 10 and that will always have an even number of digits and determines if the sum of the first half of the digits equals the sum of the second half of digits. The function returns a Boolean. Maximum execution time is 4000 mil...

 
5:37 PM
0
Q: Kotlin function to monitor remote file system events

ScramboI've been porting over a java library I wrote to Kotlin. The library itself attempts to abstract out much of the need to know about WatchService's, WatchKey's, and BlockingQueue's that are necessary when monitoring the file system for events. This will be used by Java programs so taking steps to ...

 
5:53 PM
1
Q: Finding the closest pair of points divide-and-conquer speed improvement

DRmoThis is a follow up to a previously asked Finding the closest pair of points divide-and-conquer question . The original code changed significantly based on answers therefore I created a new question per codereview guidelines for additional help. After incorporating suggestions from answers to t...

 
6:14 PM
user image
3
Self-documenting UI
 
6:45 PM
So rather a general question, perhaps better suited to SO chat but here goes: How do you guys decide upon a software architecture / approach? Started a new job in which all code is organically grown instead of designed, which allows for some serious improvements in software quality / maintainability / general ability to deliver new functionality.
 
@BenjaminDiele honest opinion? organic growth and regularly refactoring and reevaluating the codebase
the second step is the important one there...
whenever I deliver a new feature, I try to check whether the current organic design still encapsulates and models the updated requirements.
if it does, that's great, otherwise that's an opportunity to ovverthink and refactor the design
 
My previous job was in a designed application doing some heavy lifting in business logic which made us choose for DDD and CQRS so that the domain logic was neatly seperated and easy to reuse functionality.
The new job is basically a custom CMS with a Webshop attached, which means that there isn't loads of domain logic (there is some, because each customer wants some deviating flows.) It seems kind of overkill to start (gradually) refactoring to a DDD approach because of the lack of domain complexity
@Vogel612 Agreed, but there is little to no design present here. All logic is repeated in the controllers (it's a web application) and there are no automated tests.
Evaluating and refactoring is a good approach when there is at least a semblance of design.
 
DDD = Domain Driven Design, CQRS = Command Query Responsibility Segregation?
 
correct, sorry for any confusion
 
why is little domain logic that's encapsulated in controllers not DDD?
it sounds like you're trying to overengineer a bit here
 
6:51 PM
That's what I'm afraid of, overengineering.
But the code is unfortunately not encapsulated, lots of functionality is duplicated but not kept in sync
In me second day there was a bug because we have several entry points in user creation, one of which did some extra validation which was not repeated because of the code duplication in controllers
 
soo ... you basically have an application that's too much spaghetti right now
 
Again, I don't want to throw some fancy words or redesigns at this, that's why i'm asking here
Well yeah, kinda spaghetti, kinda mashed potatoes
 
470
Q: I've inherited 200K lines of spaghetti code -- what now?

kmoteI hope this isn't too general of a question; I could really use some seasoned advice. I am newly employed as the sole "SW Engineer" in a fairly small shop of scientists who have spent the last 10-20 years cobbling together a vast code base. (It was written in a virtually obsolete language: G2 --...

 
@Hosch250 I am going to be up in your neck of the woods in about 10 days
 
We are looking for a desktop support person.
Want me to ask my boss about it for you?
That's actually why I came over here--to ping you about it.
 
7:00 PM
@BenjaminDiele Don't be afraid. Embrace it.
 
@Mast No thank you, previous architect on previous project would sometimes seriously overengineer, and sometimes just prototype to production.
Don't want to repeat those kind of hi-jinks.
My first objective is to introduce some automated testing, but that is kinda rough to implement is there is no goal to work to
 
If you don't have a spec, how will you know when your product is ready?
 
haha, apparently the company should have released there new version last year, and we're only just now trying to get our first customer to go live on this version.
it's kind of "the usual" reasons: no time to fix code quality => bad code => lots of bugs => less time
 
7:25 PM
Sounds like you have your work cut out for you
 
Right, forgot about this: All developers develop against a shared database.
So today I was waiting for about 4 hours just because someone had dropped a table and recreated it a bit differently.
So yeah, work cut out
 
Ouch
Please say that's not the production DB
 
@BenjaminDiele what stops you from setting up your own?
 
Posting your question in Code Review would be more appropriate: codereview.stackexchange.comKefeng91 58 secs ago
 
1
Q: Parsing contents of a large zip file into a html parser into a .csv file

Adrian CoutsoftidesI have some zip files somewhere in the order of 2GB+ containing only html files. Each zip contains about 17,000 html files each. My code reads the file without extracting them, Passes the resultant html string into a custom HTMLParser object, And then writes a summary of all the zip files i...

 
7:37 PM
@Vogel612 time pressure unfortunately. We don't have upgrade scripts either, so we have to redo any db changes manually, up to production
oy vey
 
What kind of DB are you running?
If you copy all the manual changes you do into a script on an SQL server, you got an update script for the DB.
 
7:54 PM
This seems like something better suited for codereview.stackexchange — chevybow 47 secs ago
I'm voting to close this question as off-topic because it belongs to codereview.stackexchange.comYury Tarabanko 53 secs ago
 
Does anyone have opinions?
At work we're practically constructing a communication layer between websockets and our own application, so connect/textmessage/disconnect are forwarded, etc.
Now we implement the basic functionality of websockets (we don't care about subprotocols, etc.) except we don't support binary messages
 
In the current implementation (which I wrote) I see issues that arised due to thinking that we would only handle text messages and as such I have taken some shortcuts in the past and binary messages don't quite fit anymore
Even though we have no concrete usecase for binary messages, I'm still vouching for building in support for binary messages if only to get the code structure correct. The project is still under development as well
I can test binary messages and verify that they are working, however I often hear people say that you shouldn't build in features that you don't use, but I see advantages as well for adding support
 
8:10 PM
1. Take a coin
2. Write YAGNI in felt marker on one side
3. Write "Do it" on the other side
4. Flip it
Or, you could ask a more senior dev or your supervisor for advice :)
 
A more senior dev sees both sides too, so I think I'll need to ask even someone more :)
On one hand YAGNI, on the other hand we're implementing websockets and then we're not supporting all basic features, it's kind of odd
 
Balance between wasting time on a YAGNI thing vs. preventing a potential problem before it occurs can be tricky
 
It's more a refactoring cost than a potential problem though
I still regret the day where I decided that it was a great idea to cast an interface to a specific implementation on a place where I deal with a list of interface objects
I rather have that piece of code gone :P
 
Live + Learn
 
It seems so innocent, but that was client side, and later we added different features on the server side and now those are only built on that single implementation
 
8:24 PM
0
Q: Generic Skip list implementation in C++ Version 3

Sandro4912This is a follow up of Non generic Skip List implementation in C++ Version 2 If you don't know what a Skip list is: https://en.wikipedia.org/wiki/Skip_list I tried to incorporate as much improvements as possible from the code review of the last skip list. Also the following changes were made: ...

 
@Mast Yeah, currently running mongo with which I have 0 experience. Upgrade scripts are probably possible but have to figure that one out still.
 
0
Q: Properly named factory method vs chain of rules

MichaelI have a requirement to have a component that will check input against some rules in a strict order. The order of the rules is defined by the business. To keep example code simple, I'll try to define an analogy. Let's say business defines order of some int values. You'll be given sequence of int...

 
 
2 hours later…
10:21 PM
Seeing this in a code review would make me violent. — Alexander 53 secs ago
 
10:43 PM
I don't know enough about rust to comment on the code, but codereview.stackexchange.com might be able to help too? — msandiford 6 secs ago
 
11:12 PM
I'm voting to close this question as off-topic because it belongs on another site in the Stack Exchange network, namely codereview.stackexchange.comAndrew Thompson 17 secs ago
 
11:25 PM
-1
Q: Caesar cipher in C. My plaintext won't shift and the cipher text outcome is identical to it

user175178I would appreciate any help or nudge in the right direction. My goal is to cipher the plaintext using a key provided at the command line. I can't wrap my head around why my ciphertext comes out the same as my plaintext. I seem to have figured out case preserving and wrapping around the alphabet, ...

 

« first day (1900 days earlier)      last day (2119 days later) »