Search:

Type: Posts; User: Strahd

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: A C decompiler

    by Strahd
    Replies
    3
    Views
    2,964

    A C decompiler

    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...
  2. Replies
    5
    Views
    907

    Cool, thanks for the clarification, the up and...

    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...
  3. Replies
    5
    Views
    907

    Brain Fart on 2D arrays...

    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];
  4. In short, any number can be repented in binary. ...

    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 ...
  5. Replies
    4
    Views
    1,519

    The first step is to understand the problem of...

    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,...
  6. A 1D array is stored in memory the same way as a...

    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 ...
  7. Replies
    11
    Views
    25,347

    First look up what plagiarism actually means. In...

    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...
  8. Thread: string compare

    by Strahd
    Replies
    7
    Views
    1,891

    Somethings here... 1. You cannot have a...

    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):...
  9. Embedded system - Wikipedia, the free...

    Embedded system - Wikipedia, the free encyclopedia

    FAQ > main() / void main() / int main() / int main(void) / int main(int argc, char *argv[]) - Cprogramming.com
  10. Thread: 8 x 8 array

    by Strahd
    Replies
    2
    Views
    1,286

    This should help you out... C syntax -...

    This should help you out...

    C syntax - Wikipedia, the free encyclopedia

    and this too

    C Multidimensional Arrays
  11. One thing to keep in mind is, depending what "OS"...

    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
    ...
  12. Replies
    5
    Views
    3,407

    Ahh ok that would make more sense then. A matter...

    Ahh ok that would make more sense then. A matter of GCC version numbers, lol.
  13. Replies
    5
    Views
    3,407

    I am not, just regular gcc

    I am not, just regular gcc <fileName.c>
  14. Replies
    5
    Views
    3,407

    GCC compiling with

    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...
  15. Replies
    12
    Views
    2,758

    This is just a guess, but it might be how things...

    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...
  16. Replies
    2
    Views
    726

    Step 1 - Use Google to learn how to do the parts...

    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...
  17. Replies
    12
    Views
    2,758

    The trick with recursion is breaking the problem...

    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...
  18. Replies
    3
    Views
    1,058

    That did the trick, thank you kindly!

    That did the trick, thank you kindly!
  19. Replies
    3
    Views
    1,058

    Brain Fart/Freeze - String to float question

    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...
  20. Replies
    16
    Views
    5,730

    But that is the point, the OP is asking for the...

    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...
  21. Replies
    16
    Views
    5,730

    Why does it have to be a 64bit edition? ...

    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...
  22. Thread: Best C Editor

    by Strahd
    Replies
    14
    Views
    2,805

    You can get VM and install Linux on the VM, and...

    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....
  23. Replies
    19
    Views
    3,293

    Codeblock, and Eclipse (just make sure to grab...

    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...
  24. Well all your defines, I noticed are the same...

    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...
  25. Thread: EOF

    by Strahd
    Replies
    79
    Views
    11,059

    Can I place my vote for some really ugly color?

    Can I place my vote for some really ugly color?
Results 1 to 25 of 111
Page 1 of 5 1 2 3 4