15,897,226 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 Alexis i (Top 23 by date)
Alexis i
29-Mar-15 6:56am
View
it doesn't contain the binary sort!
Alexis i
29-Mar-15 5:36am
View
i got the code from " http://geeksquiz.com/binary-insertion-sort/ "
Alexis i
26-Feb-15 16:14pm
View
i think you're right, my questions don't make sense at all, this is comparing apples and oranges, the fact is, i self study programming and i actually never took any classes or anything (i'm 15) and i feel it's pretty easy to self educate programming (at least it's been easy for me so far) -not saying that i'm a pro, not at all, i'm actually pretty amateur- what i'm looking for is that if i can self study programming, then can i self study networking either? cause i have no experience in networking.
so i'm gonna ask my question in some other way (which might make sense a lil bit), you say it's different from person to person, so which one is more difficult for you?
Alexis i
25-Feb-15 18:49pm
View
not working! it doesn't sort the pixels in the right place so the output is a corrupted image! the only thing it does right is swapping width and height which so does my code!
i thought the first three bytes after the header (55,56,57) belong to the upper left-hand corner of the image but now i realized they belong to the bottom left corner of the image!
Alexis i
25-Feb-15 16:03pm
View
i actually tried the code on a 10*5 image (removed the loops of course, just kept the part which is supposed to swap the width with height) and found out that it does its job on swapping the size but it changes the pixel colors either, i think my information about bmp header is total garbage. thank you for helping bruno but it's driving me crazy im no more gonna waste my time on this
Alexis i
25-Feb-15 15:49pm
View
still not working! nevermind i'm gonna get my brain out of this and just remove the Question, it's not important after all im jus wasting my time
thank you for trying to help me, i appreciate it
Alexis i
25-Feb-15 15:37pm
View
i know i can do it using lib functions (didn't exactly know what func i should use) but i'm just trying to manipulate the file bytes to rotate it.
thanks for responding anyways.
Alexis i
25-Feb-15 15:29pm
View
i didn't mean to shout, jus hit the caps lock key unintentionally
besides im not a he
Alexis i
25-Feb-15 15:11pm
View
you're making me disappointed ! not sure if it matters but i'm just 15 yo ! i didn't know reposting the same question (not totally the same in my case) is a crime, im sorry about that anyways
Alexis i
25-Feb-15 14:08pm
View
that's a good advice ,i'd try it with a small image and try to figure out the problem.
there's something that i don't understand, isn't a 800*686 24bit image suppose to be 800*686*3+54=1646054 bytes in size? but my bmp file is 1648054 bytes! even with a 128 byte header it shouldn't be that size!
Alexis i
25-Feb-15 14:00pm
View
YES THAT'S WHAT ITS SUPPOSED TO DO BUT IT CORRUPTS THE FILE instead! :(
Alexis i
25-Feb-15 13:51pm
View
Deleted
every 3 bytes form a single pixel (24 bit bitmap) of course starting from 54th byte because the first 54 bytes belong to the file headers.
Alexis i
25-Feb-15 13:46pm
View
a bmf file format contains a which is 14 bytes and an image header which is 40 bytes, so from the 54th byte there is the pixels data. the 19,20,21,22 bytes defines width of image which is an int (4 bytes) and the 23,24,25,26 bytes are the height of image, so i swapped the height and width first and defined a char array and assigned the value of bmp pixels to it, and tried to exchange each pixel belonging to the width of the image with the right pixel belonging to the height.
Alexis i
23-Feb-15 18:55pm
View
ugh, that's it thank you very much
Alexis i
21-Feb-15 17:16pm
View
i want to rotate a bmp file named flower 90 degrees, so according to the BMP bitmap file format i have changed the 18th byte to 800 and the 22nd byte to 686 which swaps the height and width, but the image is corrupted! can anyone help me?
Alexis i
21-Jul-14 19:22pm
View
the loop in the first example is execute just 1 time regardless of the input n
am i right?
Alexis i
21-Jul-14 13:18pm
View
i know what time complexity is, and what the best,worst and average case for an algorithm's analysis mean but there is no best or worst case for these algorithms so far as i know!
the time complexity for both algorithms i think would be O(n)!
am i right?
then what does our teacher mean by asking what is the time complexity T(n) of this algorithm for the best case and worst case analysis?
Alexis i
25-Apr-14 6:03am
View
thank you thank you thank you thank you * 1000000000
i wanna kiss you!
Alexis i
23-Apr-14 15:29pm
View
ok, wait a sec
Alexis i
23-Apr-14 15:24pm
View
Deleted
why are you so mean?!
Alexis i
23-Apr-14 15:22pm
View
i think it can be done with two for loops, right?
Alexis i
23-Apr-14 15:14pm
View
nothing!
im totally stuck
Alexis i
22-Apr-14 11:58am
View
no, i swear this is not school assignment.
Show More