Hello I am trying to locate a free decompiler that will allow me to view the C code of a *.o file, which came from a library file *.o files came from the ar command of the library file).
I found a...
Type: Posts; User: Strahd
Hello I am trying to locate a free decompiler that will allow me to view the C code of a *.o file, which came from a library file *.o files came from the ar command of the library file).
I found a...
Cool, thanks for the clarification, the up and down and left and right are great :D
I didn't have a C compiler installed on my laptop (and dam school doesn't allow downloads of X amount or...
I'm having a little brain fart on 2D arrays.
If I am going to declare a 2D array as
#define gridSize 20
int array[gridSize][gridSize];
In short, any number can be repented in binary. Let's take the numbers 0 to 15 for example.
Dec Bin
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101 ...
The first step is to understand the problem of what you are trying to solve. Then break that problem into smaller problems. Then solve each smaller problem.
As for writing code, follow the ABCs,...
A 1D array is stored in memory the same way as a 2D array. The only advantage between the two is one is more friendly for humans to read.
For example take a 2D array (matrix)
A11 A12 ...
First look up what plagiarism actually means. In short it is taking someone's work and saying it is your own. For example, you get an assignment to write a bubble sort, and you go to google and...
Somethings here...
1. You cannot have a variable name the same as a function name. The compiler will not know how to handle/or work with them.
2. Look up how strcmp() is used, strcmp(3):...
Embedded system - Wikipedia, the free encyclopedia
FAQ > main() / void main() / int main() / int main(void) / int main(int argc, char *argv[]) - Cprogramming.com
This should help you out...
C syntax - Wikipedia, the free encyclopedia
and this too
C Multidimensional Arrays
One thing to keep in mind is, depending what "OS" was used to make your file, there could be extra characters within the string before the newline. So the trick of using
//proper headers
...
Ahh ok that would make more sense then. A matter of GCC version numbers, lol.
I am not, just regular gcc <fileName.c>
I have a unique problem here, well not actually a problem. Just something I am trying to understand.
I have a program that uses math.h and I am using pow().
I found that when I use GCC to...
This is just a guess, but it might be how things are being computed via 64/32 bit.
One option you can try is, using the Debug mode of Pelles (assuming it has one) and step through your code line...
Step 1 - Use Google to learn how to do the parts you need to do on paper.
Step 2 - Translate the solutions into computer code.
Step 3 - Read your text book, you will be surprised on what you...
The trick with recursion is breaking the problem to the first step and letting the function do the rest.
Define the base case, in this case maybe once you reach the end or the array.
Solve for...
That did the trick, thank you kindly!
Hola,
I'm having a major brain fart here.
I am reading in a file from (programName) <input.txt.
And I am using fgets() to grab the each line and I'm dealing with each line.
There are...
But that is the point, the OP is asking for the IDE.
I understand the need in wanting to compile in 64bit, but if the processor is 64bit, wouldn't the modern day IDEs automatically take...
Why does it have to be a 64bit edition?
Because it sounds very much like what an employee at Best Buy would say about a 64 bit OS "all the software has to be 64 bit."
But another employee from...
You can get VM and install Linux on the VM, and then try
emacs, vim or vi
emacs will try and help you, as in indenting and such, but until you are used to it, it will seem like it is possessed....
Codeblock, and Eclipse (just make sure to grab the C version and not the Java) are good as well.
If you want lightweight and free, you can look into EMAC, VI, VIM as editors and use the command...
Well all your defines, I noticed are the same size, you can eliminate the majority of them (the WORDS things), and use one name for them.
And there is a chance you can remove a numbe rof those if...
Can I place my vote for some really ugly color?