I got it Salem. Thank you man!
Type: Posts; User: saldar05
I got it Salem. Thank you man!
i keep getting a segmentation error when I run this. from the looks of my linked list, does it look like it is correct?
anyone out there?
Hello all! I am having difficulty getting my program to run. I have looked and looked many times trying to figure out what I am doing wrong. I have a hunch that it's my load function that's acting...
I amnew to valgrind and I'm trying to figure out what this error means in my program in terms of what valgrind is stating.A little background on the program, I am writing a program that reads in a...
Thanks. Appreciate the advice!
Thanks! I appreciate the advice.
thanks for that.Helped alot!
Ok, so how would I test that with a .bmp file? Would I use, say "gcc resize.c" along with the .bmp file after it? Or would the .bmp need to be renamed to a .out file or something like that?
is that the name of the file, ./a.out?
thank you for responding back. Quick question, what does that ./a command do?
I am currently writing a program that will resize a bitmap file by a factor of n(n being a value the user enters). The program takes in three values: the resize value, the input file and the output...
got it, thank you!
Cool. So with my code, if I wanted to generate a mixture of white and red, I would just pick a color that does that for me? When glancing at a scanline of pixels on a bmp, I see both red and white...
I see. But what if I want the file to have a mixture of white included with that yellow. How would I go about implementing that.
Ok, so I have a program that essentially takes in a bmp file, and outputs a output bmp. Now, if I did nothing to the input file, then essentially the same file will write as the output file. I have...
sorry...that should be better...I hope
Hello all, I am currently writing a program that deals with binary searching.To give you some background on the program, a file is opened, loaded into an array.From there, the string the user enters...
I have an idea of what to do now. I see my problem. if I did this:
=e //where e is the length of plain text string m=//length of key string
tempvalue =m-e
for int i=0;i<tempvalue, i++)
...
I see, but the code I have would not work?
In other words, where is my code?
The code I have looks like this:
a=e //where e is the length of plain text string
m=//length of key string
for int i=a;i<m, i++)
Quick question all, how do you append a character to an array? Say for example I prompt the user for a string and store that value in a array.
later on, I accept another value(a key) and store...
Hopefully this is better. If not, let me know and I'll try to edit some more. sorry about that :(
Ok,s o my vigenere program sort of works. It encrypts most of the messages properly, but not all. And, of course, I'm not sure what I'm doing wrong. This is the code I have:
for (int...
This is the output I have:
###
#####
#######
And this is the code: