15,891,033 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by i want to code better (Top 15 by date)
i want to code better
10-Jan-23 22:57pm
View
So when I declare long=123, is it necessary to add the L at the end,sir ?
i want to code better
25-Dec-22 9:02am
View
I deleted the "order" and changed everything in case 2 to "ord" as you said, but I see no change :(
i want to code better
25-Dec-22 3:42am
View
and I try to enter the value of n in case 2, it can run but I find it inefficient because the file has different data of n, it prints the gain and loss.
i want to code better
25-Dec-22 3:40am
View
struct items{
char item[30];
int qty;
float price;
};
struct orders{
char customer[50];
char date[50];
int numOfItems;
struct items itm[50];
i want to code better
25-Dec-22 3:39am
View
First I would like to thank you for your advice to me. But the thing that I find it is not correct is that I tried your way and I see that in the case of 2 the value of n does not appear. So can you suggest me a workaround?
i want to code better
8-Dec-22 2:07am
View
it can run but the result is not correct
i want to code better
7-Dec-22 5:25am
View
I tried your code and it's wrong
i want to code better
6-Dec-22 10:27am
View
So do you have an optimal way? and can you write illustrative code?
i want to code better
5-Dec-22 9:26am
View
May I ask a stupid question why 0x8000000 ? is that the limit of number?
i want to code better
5-Dec-22 8:11am
View
Deleted
thank i will try
i want to code better
5-Dec-22 5:18am
View
I have 1 more question:
i can find min and in my opinion then the value of min will be fixed(no change). then i compare min2 >min, so why does it give the same result? Can you explain it to me?
i want to code better
5-Dec-22 3:34am
View
Does that code need to add limit.h library?
i want to code better
3-Dec-22 9:06am
View
I really appreciate you for the answer.
Thank you so much!
i want to code better
3-Dec-22 9:02am
View
Deleted
I really appreciate you for the answer. Can you answer 1 more question ?
we start with i=3, j=2 so with the statement
arr[j + 1] = arr[j];
it will print arr[i+1]=13 and arr[j] = 13 continue the loop then the array will become 13 and 11 12 will disappear? won't it permute?
i want to code better
3-Dec-22 8:52am
View
Deleted
I really appreciate you for the answer. Can you answer 1 more question ?
we start with i=3, j=2 so with the statement
arr[j + 1] = arr[j];
it will print arr[i+1]=13 and arr[j] = 13 continue the loop then the array will become 13 and 11 12 will disappear? won't it permute?
Show More